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");
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");
78 if (getParam<bool>(
"scale_heat_rate_pp"))
79 pars.
set<MooseFunctorName>(
"scale") = getParam<MooseFunctorName>(
"scale");
registerMooseObject("ThermalHydraulicsApp", HSBoundaryAmbientConvection)
const ExecFlagType EXEC_TIMESTEP_END
const ExecFlagType EXEC_INITIAL
THMProblem & getTHMProblem() const
Gets the THM problem.
Factory & _factory
The Factory associated with the MooseApp.
virtual RealVectorValue getDirection() const
virtual Point getPosition() 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)
InputParameters getValidParams(const std::string &name) const
Boundary condition for heat transfer between heat structure and ambient environment.
static InputParameters validParams()
HSBoundaryAmbientConvection(const InputParameters ¶ms)
virtual void addMooseObjects() override
Base class for heat structure boundary components.
const std::vector< BoundaryName > & _boundary
Boundary names for which the boundary component applies.
static InputParameters validParams()
static const std::string TEMPERATURE
Base class for cylindrical heat structure components.
Interface class for heat structure components.
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.
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.