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");
40 MooseEnum bundle_array(
"SQUARE TRIANGULAR",
"SQUARE");
41 params.
addParam<
MooseEnum>(
"bundle_array", bundle_array,
"The type of the rod bundle array");
43 "Computes wall heat transfer coefficient for water using the Weisman correlation");
50 _Hw(declareADProperty<Real>(
"Hw")),
51 _rho(getADMaterialProperty<Real>(
"rho")),
52 _vel(getADMaterialProperty<Real>(
"vel")),
53 _D_h(getADMaterialProperty<Real>(
"D_h")),
54 _k(getADMaterialProperty<Real>(
"k")),
55 _mu(getADMaterialProperty<Real>(
"mu")),
56 _cp(getADMaterialProperty<Real>(
"cp")),
57 _T(getADMaterialProperty<Real>(
"T")),
58 _T_wall(getADMaterialProperty<Real>(
"T_wall")),
59 _PoD(getParam<Real>(
"PoD")),
67 using std::max, std::pow;
75 "The Weisman correlation for square arrays is valid when P/D is between 1.1 "
76 "and 1.3. Be aware that using values out of this range may lead to "
77 "significant errors in your results!"));
89 "The Weisman correlation for triangular arrays is valid when P/D is between 1.1 "
90 "and 1.5. Be aware that using values out of this range may lead to "
91 "significant errors in your results!"));
100 mooseError(
"Invalid 'bundle_array' parameter.");
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("ThermalHydraulicsApp", ADWallHeatTransferCoefficientWeismanMaterial)
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Computes wall heat transfer coefficient for liquid sodium using Schad-modified correlation.
static InputParameters validParams()
const ADMaterialProperty< Real > & _cp
Specific heat capacity.
ADMaterialProperty< Real > & _Hw
Wall heat transfer coefficient.
const ADMaterialProperty< Real > & _T
Fluid temperature.
const ADMaterialProperty< Real > & _rho
Density.
const Real & _PoD
Pitch-to-Diameter ratio.
ADWallHeatTransferCoefficientWeismanMaterial(const InputParameters ¶meters)
Bundle_array
Rod bundle array type.
const ADMaterialProperty< Real > & _k
Thermal conductivity.
const ADMaterialProperty< Real > & _D_h
Hydraulic diameter.
const ADMaterialProperty< Real > & _vel
Velocity.
virtual void computeQpProperties() override
const ADMaterialProperty< Real > & _mu
Dynamic viscosity.
const Bundle_array _bundle_array
Rod bundle array type.
const ADMaterialProperty< Real > & _T_wall
Wall temperature.
static const std::string DENSITY
static const std::string HYDRAULIC_DIAMETER
static const std::string VELOCITY
static const std::string HEAT_TRANSFER_COEFFICIENT_WALL
static const std::string DYNAMIC_VISCOSITY
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
static const std::string THERMAL_CONDUCTIVITY
static const std::string TEMPERATURE
static const std::string TEMPERATURE_WALL
static InputParameters validParams()
void mooseError(Args &&... args) const
void mooseWarning(Args &&... args) const
auto Prandtl(const T1 &cp, const T2 &mu, const T3 &k)
Compute Prandtl number.
auto Reynolds(const T1 &volume_fraction, const T2 &rho, const T3 &vel, const T4 &D_h, const T5 &mu)
Compute Reynolds number.