21 params.
addRequiredParam<MooseFunctorName>(
"fin_efficiency",
"Fin efficiency functor");
24 "Functor for the fraction of the total surface area corresponding to fins");
26 "area_increase_factor",
27 "Functor for the ratio of the total surface area with fins to the base surface area");
29 "fin_enhancement_factor_name",
30 "fin_enhancement_factor",
31 "Name to give the fin enhancement factor functor material property");
39 _fin_efficiency(getFunctor<
GenericReal<is_ad>>(
"fin_efficiency")),
40 _fin_area_fraction(getFunctor<
GenericReal<is_ad>>(
"fin_area_fraction")),
41 _area_increase_factor(getFunctor<
GenericReal<is_ad>>(
"area_increase_factor"))
43 addFunctorProperty<GenericReal<is_ad>>(
44 getParam<MooseFunctorName>(
"fin_enhancement_factor_name"),
49 const auto total_efficiency = 1.0 - (1.0 - fin_efficiency) * fin_area_fraction;
51 return total_efficiency * area_increase_factor;
Moose::GenericType< Real, is_ad > GenericReal
Computes a heat transfer enhancement factor for fins.
static InputParameters validParams()
FinEnhancementFactorFunctorMaterialTempl(const InputParameters ¶meters)
const Moose::Functor< GenericReal< is_ad > > & _area_increase_factor
Ratio of the total surface area with fins to the base surface area.
const Moose::Functor< GenericReal< is_ad > > & _fin_area_fraction
Fraction of the total surface area corresponding to fins.
const Moose::Functor< GenericReal< is_ad > > & _fin_efficiency
Fin efficiency.
static InputParameters validParams()
registerMooseObject("HeatTransferApp", FinEnhancementFactorFunctorMaterial)