22 "htc_ambient",
"Ambient Convective heat transfer coefficient functor [W/(m^2-K)]");
23 params.
addRequiredParam<MooseFunctorName>(
"T_ambient",
"Ambient temperature functor [K]");
25 "scale", 1.0,
"Functor by which to scale the boundary condition");
29 "If true, the 'scale' parameter is also applied to the heat rate post-processor.");
47 const bool is_cylindrical = hs_cyl !=
nullptr;
50 const std::string class_name =
51 is_cylindrical ?
"ADConvectionHeatTransferRZBC" :
"ADConvectionHeatTransferBC";
54 pars.
set<std::vector<BoundaryName>>(
"boundary") =
_boundary;
55 pars.
set<MooseFunctorName>(
"T_ambient") = getParam<MooseFunctorName>(
"T_ambient");
56 pars.
set<MooseFunctorName>(
"htc_ambient") = getParam<MooseFunctorName>(
"htc_ambient");
59 pars.
set<Point>(
"axis_point") = hs_cyl->getPosition();
62 pars.
set<MooseFunctorName>(
"scale") = getParam<MooseFunctorName>(
"scale");
70 const std::string class_name =
"HeatRateConvectionRZ";
72 pars.
set<std::vector<BoundaryName>>(
"boundary") =
_boundary;
74 pars.
set<MooseFunctorName>(
"T_ambient") = getParam<MooseFunctorName>(
"T_ambient");
75 pars.
set<MooseFunctorName>(
"htc") = getParam<MooseFunctorName>(
"htc_ambient");
76 pars.
set<Point>(
"axis_point") = hs_cyl->getPosition();
78 if (getParam<bool>(
"scale_heat_rate_pp"))
79 pars.
set<MooseFunctorName>(
"scale") = getParam<MooseFunctorName>(
"scale");
virtual void addMooseObjects() override
std::string genName(const std::string &prefix, unsigned int id, const std::string &suffix="") const
Build a name from a prefix, number and possible suffix.
THMProblem & getTHMProblem() const
Gets the THM problem.
registerMooseObject("ThermalHydraulicsApp", HSBoundaryAmbientConvection)
InputParameters getValidParams(const std::string &name) const
const ExecFlagType EXEC_TIMESTEP_END
std::string genSafeName(const std::string &prefix, const std::string &middle, const std::string &suffix="") const
Build a name from strings that is safe to use in input files (i.e.
virtual const std::string & name() const
virtual void addBoundaryCondition(const std::string &bc_name, const std::string &name, InputParameters ¶meters)
virtual void addPostprocessor(const std::string &pp_name, const std::string &name, InputParameters ¶meters)
HSBoundaryAmbientConvection(const InputParameters ¶ms)
Base class for cylindrical heat structure components.
const std::vector< BoundaryName > & _boundary
Boundary names for which the boundary component applies.
static const std::string TEMPERATURE
Interface class for heat structure components.
static InputParameters validParams()
static InputParameters validParams()
Factory & _factory
The Factory associated with the MooseApp.
Boundary condition for heat transfer between heat structure and ambient environment.
Base class for heat structure boundary components.
const ExecFlagType EXEC_INITIAL