26 #ifndef GRINS_REACTING_LOW_MACH_NAVIER_STOKES_ABSTRACT_H
27 #define GRINS_REACTING_LOW_MACH_NAVIER_STOKES_ABSTRACT_H
30 #include "grins_config.h"
61 std::vector<libMesh::Real>& mass_fracs )
const;
63 libMesh::Real
rho( libMesh::Real
T, libMesh::Real p0, libMesh::Real R_mix)
const;
122 std::vector<libMesh::Real>& mass_fracs )
const
124 libmesh_assert_equal_to(mass_fracs.size(), this->
_n_species);
126 for(
unsigned int var = 0; var < this->
_n_species; var++ )
135 libMesh::Real R_mix)
const
137 libMesh::Real value = 0;
141 value = p0/(R_mix*
T);
148 unsigned int qp )
const
153 p0 = c.interior_value(
_p0_var->
p0(), qp );
164 unsigned int qp )
const
180 const libMesh::Point& p )
const
196 unsigned int qp )
const
201 p0 = c.fixed_interior_value(
_p0_var->
p0(), qp );
212 #endif //GRINS_REACTING_LOW_MACH_NAVIER_STOKES_ABSTRACT_H
unsigned int n_species() const
libMesh::Real get_p0_steady_side(const AssemblyContext &c, unsigned int qp) const
bool _enable_thermo_press_calc
Flag to enable thermodynamic pressure calculation.
PrimitiveTempFEVariables & _temp_vars
PressureFEVariable & _press_var
VariableIndex species(unsigned int species) const
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
ThermoPressureVariable * _p0_var
unsigned int _n_species
Number of species.
libMesh::Real T(const libMesh::Point &p, const AssemblyContext &c) const
void mass_fractions(const libMesh::Point &p, const AssemblyContext &c, std::vector< libMesh::Real > &mass_fracs) const
libMesh::Real rho(libMesh::Real T, libMesh::Real p0, libMesh::Real R_mix) const
virtual void init_context(AssemblyContext &context)
Initialize context for added physics variables.
void read_input_options(const GetPot &input)
Read options from GetPot input file.
virtual ~ReactingLowMachNavierStokesAbstract()
virtual void set_time_evolving_vars(libMesh::FEMSystem *system)
Sets velocity variables to be time-evolving.
libMesh::Real get_p0_transient(const AssemblyContext &c, unsigned int qp) const
SpeciesMassFractionsVariable & _species_vars
libMesh::Real get_p0_steady(const AssemblyContext &c, unsigned int qp) const
libMesh::Real _fixed_rho_value
VelocityVariable & _flow_vars
libMesh::Point _g
Gravity vector.
ReactingLowMachNavierStokesAbstract()