20 params.
addParam<MaterialPropertyName>(
"Pr",
"Pr",
"Prandlt number property name");
21 params.
addParam<MaterialPropertyName>(
"cp",
23 "Constant-pressure specific heat");
24 params.
addParam<MaterialPropertyName>(
26 params.
addParam<MaterialPropertyName>(
34 _Pr(declareADProperty<
Real>(
"Pr")),
35 _cp(getADMaterialProperty<
Real>(
"cp")),
36 _mu(getADMaterialProperty<
Real>(
"mu")),
37 _k(getADMaterialProperty<
Real>(
"k"))
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
registerMooseObject("ThermalHydraulicsApp", ADPrandtlNumberMaterial)
static const std::string DYNAMIC_VISCOSITY
auto Prandtl(const T1 &cp, const T2 &mu, const T3 &k)
Compute Prandtl number.
static const std::string THERMAL_CONDUCTIVITY
Computes Prandtl number as material property.
ADMaterialProperty< Real > & _Pr
Prandtl number.
ADPrandtlNumberMaterial(const InputParameters ¶meters)
static InputParameters validParams()
const ADMaterialProperty< Real > & _k
Thermal conductivity.
static InputParameters validParams()
const ADMaterialProperty< Real > & _cp
Constant-pressure specific heat.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void computeQpProperties()
const ADMaterialProperty< Real > & _mu
Dynamic viscosity.