26 params.
addRequiredParam<UserObjectName>(
"fp",
"The name of the user object for fluid properties");
28 "Defines material properties from fluid properties to serve in the 3-equation model");
35 _area(adCoupledValue(
"A")),
36 _rhoA(adCoupledValue(
"rhoA")),
37 _rhouA(adCoupledValue(
"rhouA")),
38 _rhoEA(adCoupledValue(
"rhoEA")),
40 _rho(declareADProperty<
Real>(
"rho")),
42 _v(declareADProperty<
Real>(
"v")),
44 _vel(declareADProperty<
Real>(
"vel")),
46 _e(declareADProperty<
Real>(
"e")),
48 _p(declareADProperty<
Real>(
"p")),
50 _T(declareADProperty<
Real>(
"T")),
52 _h(declareADProperty<
Real>(
"h")),
54 _H(declareADProperty<
Real>(
"H")),
56 _c(declareADProperty<
Real>(
"c")),
58 _cp(declareADProperty<
Real>(
"cp")),
60 _cv(declareADProperty<
Real>(
"cv")),
62 _k(declareADProperty<
Real>(
"k")),
ADMaterialProperty< Real > & _c
Sound speed.
ADMaterialProperty< Real > & _rho
Density.
ADMaterialProperty< Real > & _vel
Velocity.
ADMaterialProperty< Real > & _h
Specific enthalpy.
Computes velocity and thermodynamic variables from solution variables for 1-phase flow...
registerMooseObject("ThermalHydraulicsApp", ADFluidProperties3EqnMaterial)
const SinglePhaseFluidProperties & _fp
Fluid properties.
const ADVariableValue & _area
Cross-sectional area.
static InputParameters validParams()
ADMaterialProperty< Real > & _k
Thermal conductivity.
const ADVariableValue & _rhoA
Common class for single phase fluid properties.
ADMaterialProperty< Real > & _cp
Constant-pressure specific heat.
ADMaterialProperty< Real > & _T
Temperature.
ADFluidProperties3EqnMaterial(const InputParameters ¶meters)
ADMaterialProperty< Real > & _v
Specific volume.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADVariableValue & _rhoEA
const ADVariableValue & _rhouA
static InputParameters validParams()
virtual void computeQpProperties()
ADMaterialProperty< Real > & _p
Pressure.
ADMaterialProperty< Real > & _cv
Constant-volume specific heat.
ADMaterialProperty< Real > & _H
Specific total (stagnation) enthalpy.
ADMaterialProperty< Real > & _e
Specific internal energy.