19 params.
addRequiredParam<MaterialPropertyName>(
"cp",
"Constant-pressure specific heat");
28 _Pr(declareProperty<
Real>(
"Pr")),
29 _cp(getMaterialProperty<
Real>(
"cp")),
30 _mu(getMaterialProperty<
Real>(
"mu")),
31 _k(getMaterialProperty<
Real>(
"k"))
static InputParameters validParams()
auto Prandtl(const T1 &cp, const T2 &mu, const T3 &k)
Compute Prandtl number.
const MaterialProperty< Real > & _k
Thermal conductivity.
PrandtlNumberMaterial(const InputParameters ¶meters)
static InputParameters validParams()
const MaterialProperty< Real > & _mu
Dynamic viscosity.
registerMooseObject("ThermalHydraulicsApp", PrandtlNumberMaterial)
virtual void computeQpProperties()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _cp
Constant-pressure specific heat.
MaterialProperty< Real > & _Pr
Prandtl number.
Computes Prandtl number as material property.