26 params.
addClassDescription(
"This class couples together all the variables for the compressible " 27 "Navier-Stokes equations to allow them to be used in derived Kernel " 38 "The name of the user object for fluid properties");
46 _v_vel(_mesh.dimension() >= 2 ? coupledValue(
nms::
velocity_y) : _zero),
47 _w_vel(_mesh.dimension() == 3 ? coupledValue(
nms::
velocity_z) : _zero),
51 _rho_v(_mesh.dimension() >= 2 ? coupledValue(
nms::
momentum_y) : _zero),
52 _rho_w(_mesh.dimension() == 3 ? coupledValue(
nms::
momentum_z) : _zero),
58 _grad_rho_v(_mesh.dimension() >= 2 ? coupledGradient(
nms::
momentum_y) : _grad_zero),
59 _grad_rho_w(_mesh.dimension() == 3 ? coupledGradient(
nms::
momentum_z) : _grad_zero),
70 _dynamic_viscosity(getMaterialProperty<
Real>(
"dynamic_viscosity")),
71 _viscous_stress_tensor(getMaterialProperty<
RealTensorValue>(
"viscous_stress_tensor")),
98 unsigned mapped_var_number = 99;
101 mapped_var_number = 0;
103 mapped_var_number = 1;
105 mapped_var_number = 2;
107 mapped_var_number = 3;
109 mapped_var_number = 4;
113 return mapped_var_number;
static const std::string total_energy_density
static const std::string momentum_x
static InputParameters validParams()
const unsigned int invalid_uint
static const std::string velocity_z
static const std::string density
unsigned _rhov_var_number
static const std::string velocity_x
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
TensorValue< Real > RealTensorValue
unsigned _rhow_var_number
bool isNSVariable(unsigned var)
Helper functions for mapping Moose variable numberings into the "canonical" numbering for the compres...
static const std::string velocity_y
static const std::string momentum_y
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned _rho_et_var_number
void mooseError(Args &&... args) const
static const std::string momentum_z
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...
static InputParameters validParams()
NSKernel(const InputParameters ¶meters)
unsigned mapVarNumber(unsigned var)
unsigned _rhou_var_number