File anomalous_diffusion.hxx#
Defines
-
ANOMALOUS_DIFFUSION_H#
-
struct AnomalousDiffusion : public Component#
- #include <anomalous_diffusion.hxx>
Add anomalous diffusion of density, momentum and energy
Mesh inputs
D_<name>, chi_<name>, nu_<name> e.g
D_e,chi_e,nu_ein units of m^2/s
Public Functions
-
AnomalousDiffusion(std::string name, Options &alloptions, Solver*)#
Inputs
<name>
anomalous_D This overrides D_<name> mesh input
anomalous_chi This overrides chi_<name>
anomalous_nu Overrides nu_<name>
anomalous_sheath_flux Allow anomalous flux into sheath?
-
virtual void transform(Options &state) override#
Inputs
species
<name>
density
temperature (optional)
velocity (optional)
Sets in the state
species
<name>
density_source
momentum_source
energy_source
-
virtual void outputVars(Options &state) override#
Add extra fields for output, or set attributes e.g docstrings.
Private Members
-
std::string name#
Species name.
-
bool diagnose#
Outputting diagnostics?
-
bool include_D#
-
bool include_chi#
-
bool include_nu#
Which terms should be included?
-
Field2D anomalous_D#
Anomalous density diffusion coefficient.
-
Field2D anomalous_chi#
Anomalous thermal diffusion coefficient.
-
Field2D anomalous_nu#
Anomalous momentum diffusion coefficient.
-
bool anomalous_sheath_flux#
Allow anomalous diffusion into sheath?
-
AnomalousDiffusion(std::string name, Options &alloptions, Solver*)#