21 "correlation for natural convection.");
22 params.
addRequiredParam<MooseFunctorName>(
"Pr",
"Fluid Prandtl number functor");
25 "Fluid thermal conductivity functor [W/(m-K)]");
28 "htc_name",
"Name to give the heat transfer coefficient functor material property");
39 _k_fluid(getFunctor<
GenericReal<is_ad>>(
"k_fluid")),
40 _diameter(getParam<
Real>(
"diameter"))
42 addFunctorProperty<GenericReal<is_ad>>(
43 getParam<std::string>(
"htc_name"),
46 const auto Pr =
_Pr(r, t);
47 const auto Gr =
_Gr(r, t);
49 const auto Ra = Gr * Pr;
50 const auto numerator = 0.387 *
std::pow(Ra, 1.0 / 6.0);
51 const auto denominator =
std::pow(1 +
std::pow(0.559 / Pr, 9.0 / 16.0), 8.0 / 27.0);
52 const auto root_Nu = 0.6 + numerator / denominator;
53 const auto Nu = Utility::pow<2>(root_Nu);
const Moose::Functor< GenericReal< is_ad > > & _k_fluid
Fluid thermal conductivity.
Moose::GenericType< Real, is_ad > GenericReal
static InputParameters validParams()
static InputParameters validParams()
registerMooseObject("HeatTransferApp", ChurchillChuHTCFunctorMaterial)
Computes a heat transfer coefficient using the Churchill-Chu correlation for natural convection...
ChurchillChuHTCFunctorMaterialTempl(const InputParameters ¶meters)
const Moose::Functor< GenericReal< is_ad > > & _Gr
Grashof number.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _diameter
Cylinder diameter.
const Moose::Functor< GenericReal< is_ad > > & _Pr
Fluid Prandtl number.
MooseUnits pow(const MooseUnits &, int)