File snb_conduction.hxx

Defines

SNB_CONDUCTION_H
struct SNBConduction : public Component
#include <snb_conduction.hxx>

Calculate electron heat flux using the Shurtz-Nicolai-Busquet (SNB) model

This component will only calculate divergence of heat flux for the electron (e) species.

Usage

Add as a top-level component after both electron temperature and collision times have been calculated.

Important: If evolving electron pressure, disable thermal conduction or that will continue to add Spitzer heat conduction.

[hermes]
components = e, ..., collisions, snb_conduction

[e]
type = evolve_pressure, ...
thermal_conduction = false # For evolve_pressure

[snb_conduction]
diagnose = true # Saves heat flux diagnostics

Useful references:

Public Functions

inline SNBConduction(std::string name, Options &alloptions, Solver*)

Inputs

  • <name>

    • diagnose Saves Div_Q_SH and Div_Q_SNB

virtual void transform(Options &state) override

Inputs

  • species

    • e

      • density

      • collision_frequency

Sets

  • species

    • e

      • energy_source

virtual void outputVars(Options &state) override

Add extra fields for output, or set attributes e.g docstrings.

Private Members

bout::HeatFluxSNB snb
Field3D Div_Q_SH
Field3D Div_Q_SNB

Divergence of heat fluxes.

bool diagnose

Output additional diagnostics?