File neutral_full_velocity.hxx#
Defines
-
NEUTRAL_FULL_VELOCITY_H#
-
struct NeutralFullVelocity : public Component#
- #include <neutral_full_velocity.hxx>
Neutral gas model, evolving three components of velocity as axisymmetric fields
Evolves neutral density, pressure and velocity as Field2D quantities
Public Functions
-
NeutralFullVelocity(const std::string &name, Options &options, Solver *solver)#
-
virtual void finally(const Options &state) override#
Use the final simulation state to update internal state (e.g. time derivatives)
Use the final simulation state to update internal state (e.g. time derivatives) Note: The evolving state (density, temperature, pressure, velocity) is not taken from
state. These are calculated intransform()that must be called beforefinally().
-
virtual void outputVars(Options &state) override#
Add extra fields for output, or set attributes e.g docstrings.
Private Functions
-
virtual void transform_impl(GuardedOptions &state) override#
Modify the given simulation state.
Sets
species
<name>
AA
density
momentum
pressure
temperature
velocity
Private Members
-
Coordinates *coord#
-
std::string name#
-
BoutReal AA#
-
BoutReal density_floor#
Floor when dividing by density.
-
BoutReal temperature_floor#
-
BoutReal pressure_floor#
Minimum Pn used when dividing Pn by Nn to get Tn.
-
Field2D Nn2D#
-
Field2D Pn2D#
-
Vector2D Vn2D#
-
Vector2D Vn2D_contravariant#
Neutral gas velocity v^x, v^y, v^z.
-
Field2D Tn2D#
-
Field2D Rxy#
-
BoutReal sigma_Bp#
-
Field2D Txr#
-
Field2D Txz#
-
Field2D Tyr#
-
Field2D Tyz#
-
Field2D Urx#
-
Field2D Ury#
-
Field2D Uzx#
-
Field2D Uzy#
-
BoutReal adiabatic_index#
-
BoutReal neutral_viscosity#
-
BoutReal neutral_conduction#
-
BoutReal neutral_gamma#
-
std::vector<std::string> collision_names#
Collisions used for collisionality.
-
std::string diffusion_collisions_mode#
Collision selection, either afn or multispecies.
-
Field2D nu#
Collisionality to use for diffusion.
-
Field2D Dnn#
Diffusion coefficient.
-
Field2D kappa_n#
-
Field2D eta_n#
Neutral conduction and viscosity.
-
BoutReal flux_limit#
Diffusive flux limit.
-
BoutReal neutral_lmax#
-
BoutReal diffusion_limit#
Maximum diffusion coefficient.
-
bool toroidal_flow#
Evolve toroidal flow?
-
bool momentum_advection#
Include advection of momentum?
-
bool curved_torus#
Include toroidal curvature in momentum advection?
-
bool constant_transport_coef#
Use constant transport coefficients?
-
bool zero_timederivs#
Set the time derivatives to zero?
-
bool output_ddt#
Save time derivatives?
-
bool diagnose#
Output additional diagnostics?
-
Field2D Vnpar#
Parallel flow velocity diagnostic.
-
Field2D density_source#
-
Field2D pressure_source#
External input source.
-
Field2D Sn#
-
Field2D Sp#
-
Field2D Snv#
Particle, pressure and momentum source.
-
NeutralFullVelocity(const std::string &name, Options &options, Solver *solver)#