21 params.
addParam<MaterialPropertyName>(
"Hw",
23 "Heat transfer coefficient material property");
24 params.
addParam<MaterialPropertyName>(
27 params.
addParam<MaterialPropertyName>(
29 params.
addParam<MaterialPropertyName>(
31 params.
addParam<MaterialPropertyName>(
33 params.
addParam<MaterialPropertyName>(
35 params.
addParam<MaterialPropertyName>(
39 "PoD",
"The Pitch-to-diameter ratio value being assigned into the property");
41 "Computes wall heat transfer coefficient for liquid sodium using Schad-modified correlation");
48 _Hw(declareADProperty<
Real>(
"Hw")),
49 _rho(getADMaterialProperty<
Real>(
"rho")),
50 _vel(getADMaterialProperty<
Real>(
"vel")),
51 _D_h(getADMaterialProperty<
Real>(
"D_h")),
52 _k(getADMaterialProperty<
Real>(
"k")),
53 _mu(getADMaterialProperty<
Real>(
"mu")),
54 _cp(getADMaterialProperty<
Real>(
"cp")),
55 _T(getADMaterialProperty<
Real>(
"T")),
56 _T_wall(getADMaterialProperty<
Real>(
"T_wall")),
57 _PoD(getParam<
Real>(
"PoD"))
66 if (
_PoD > 1.5 || _PoD < 1.1 || Pe > 1000)
68 mooseDoOnce(
mooseWarning(
"Schad's correlation is valid when Pe<1000, and P/D is between 1.1 " 69 "and 1.5. Be aware that using values out of this range may lead to " 70 "significant errors in your results!"));
registerMooseObject("ThermalHydraulicsApp", ADWallHeatTransferCoefficientSchadMaterial)
const ADMaterialProperty< Real > & _cp
Specific heat capacity.
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
virtual void computeQpProperties() override
static const std::string DYNAMIC_VISCOSITY
static const std::string TEMPERATURE
static const std::string VELOCITY
static InputParameters validParams()
static const std::string THERMAL_CONDUCTIVITY
static const std::string HEAT_TRANSFER_COEFFICIENT_WALL
static const std::string DENSITY
void mooseWarning(Args &&... args) const
const ADMaterialProperty< Real > & _D_h
Hydraulic diameter.
static InputParameters validParams()
static const std::string TEMPERATURE_WALL
ADWallHeatTransferCoefficientSchadMaterial(const InputParameters ¶meters)
ADMaterialProperty< Real > & _Hw
Wall heat transfer coefficient.
auto Peclet(const T1 &volume_fraction, const T2 &cp, const T3 &rho, const T4 &vel, const T5 &D_h, const T6 &k)
Compute Peclet number.
const Real & _PoD
Pitch-to-Diameter ratio.
auto wallHeatTransferCoefficient(const T1 &Nu, const T2 &k, const T3 &D_h)
Compute wall heat transfer coefficient.
const ADMaterialProperty< Real > & _rho
Density.
Computes wall heat transfer coefficient for liquid sodium using Schad-modified correlation.
const ADMaterialProperty< Real > & _vel
Velocity.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string HYDRAULIC_DIAMETER
MooseUnits pow(const MooseUnits &, int)
const ADMaterialProperty< Real > & _k
Thermal conductivity.