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")),
73 "The Weisman correlation for square arrays is valid when P/D is between 1.1 " 74 "and 1.3. Be aware that using values out of this range may lead to " 75 "significant errors in your results!"));
87 "The Weisman correlation for triangular arrays is valid when P/D is between 1.1 " 88 "and 1.5. Be aware that using values out of this range may lead to " 89 "significant errors in your results!"));
98 mooseError(
"Invalid 'bundle_array' parameter.");
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
registerMooseObject("ThermalHydraulicsApp", ADWallHeatTransferCoefficientWeismanMaterial)
static InputParameters validParams()
const ADMaterialProperty< Real > & _mu
Dynamic viscosity.
const Real & _PoD
Pitch-to-Diameter ratio.
static const std::string DYNAMIC_VISCOSITY
ADWallHeatTransferCoefficientWeismanMaterial(const InputParameters ¶meters)
static const std::string TEMPERATURE
const Bundle_array _bundle_array
Rod bundle array type.
auto Prandtl(const T1 &cp, const T2 &mu, const T3 &k)
Compute Prandtl number.
const ADMaterialProperty< Real > & _rho
Density.
static const std::string VELOCITY
auto Reynolds(const T1 &volume_fraction, const T2 &rho, const T3 &vel, const T4 &D_h, const T5 &mu)
Compute Reynolds number.
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.
const ADMaterialProperty< Real > & _k
Thermal conductivity.
static InputParameters validParams()
static const std::string TEMPERATURE_WALL
virtual void computeQpProperties() override
auto wallHeatTransferCoefficient(const T1 &Nu, const T2 &k, const T3 &D_h)
Compute wall heat transfer coefficient.
const ADMaterialProperty< Real > & _cp
Specific heat capacity.
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
Bundle_array
Rod bundle array type.
static const std::string HYDRAULIC_DIAMETER
void mooseError(Args &&... args) const
ADMaterialProperty< Real > & _Hw
Wall heat transfer coefficient.
const ADMaterialProperty< Real > & _T_wall
Wall temperature.
MooseUnits pow(const MooseUnits &, int)
const ADMaterialProperty< Real > & _T
Fluid temperature.