20 params.
addClassDescription(
"This class computes the residual and Jacobian contributions for the "
21 "incompressible Navier-Stokes temperature (energy) equation.");
28 params.
addParam<MaterialPropertyName>(
"rho_name",
"rho",
"density name");
29 params.
addParam<MaterialPropertyName>(
"k_name",
"k",
"thermal conductivity name");
30 params.
addParam<MaterialPropertyName>(
"cp_name",
"cp",
"specific heat name");
39 _u_vel(coupledValue(
"u")),
40 _v_vel(_mesh.dimension() >= 2 ? coupledValue(
"v") : _zero),
41 _w_vel(_mesh.dimension() == 3 ? coupledValue(
"w") : _zero),
44 _u_vel_var_number(coupled(
"u")),
45 _v_vel_var_number(_mesh.dimension() >= 2 ? coupled(
"v") :
libMesh::invalid_uint),
46 _w_vel_var_number(_mesh.dimension() == 3 ? coupled(
"w") :
libMesh::invalid_uint),
49 _rho(getMaterialProperty<Real>(
"rho_name")),
50 _k(getMaterialProperty<Real>(
"k_name")),
51 _cp(getMaterialProperty<Real>(
"cp_name"))
68 return convective_part + conduction_part;
79 return convective_part + conduction_part;
88 return convective_part;
94 return convective_part;
100 return convective_part;
registerMooseObject("NavierStokesApp", INSTemperature)
This class computes the residual and Jacobian contributions for the incompressible Navier-Stokes temp...
unsigned _v_vel_var_number
virtual Real computeQpResidual()
const MaterialProperty< Real > & _rho
virtual Real computeQpOffDiagJacobian(unsigned jvar)
unsigned _u_vel_var_number
const VariableValue & _w_vel
unsigned _w_vel_var_number
const MaterialProperty< Real > & _k
const MaterialProperty< Real > & _cp
const VariableValue & _v_vel
INSTemperature(const InputParameters ¶meters)
static InputParameters validParams()
const VariableValue & _u_vel
virtual Real computeQpJacobian()
const VariableGradient & _grad_u
const VariablePhiValue & _phi
const VariableTestValue & _test
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
const VariableTestGradient & _grad_test
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...