18 params.
addParam<FunctionName>(
"initial_T_wall",
"Initial condition for wall temperature [K]");
19 params.
addParam<VariableName>(
"T_ext",
"Name of the wall temperature variable");
20 params.
addClassDescription(
"Heat transfer into 1-phase flow channel from temperature provided by "
21 "an external application");
47 logError(
"Missing initial condition for wall temperature.");
registerMooseObject("ThermalHydraulicsApp", HeatTransferFromExternalAppTemperature1Phase)
void logError(Args &&... args) const
Logs an error.
THMProblem & getTHMProblem() const
Gets the THM problem.
virtual void check() const
Check the component integrity.
virtual void initSecondary()
Perform secondary initialization, which relies on init() being called for all components.
VariableName _T_wall_name
wall temperature name
std::vector< SubdomainName > _flow_channel_subdomains
Subdomains corresponding to the connected flow channel.
Heat transfer into 1-phase flow channel from temperature provided by an external application.
virtual void initSecondary() override
Perform secondary initialization, which relies on init() being called for all components.
virtual void addMooseObjects() override
static InputParameters validParams()
virtual void addVariables() override
HeatTransferFromExternalAppTemperature1Phase(const InputParameters ¶meters)
virtual void check() const override
Check the component integrity.
Base class for heat transfer connections from temperature for 1-phase flow.
virtual void addVariables() override
virtual void addMooseObjects() override
static InputParameters validParams()
void addHeatTransferKernels()
Adds 1-phase heat transfer kernels.
bool isRestarting() const
bool isParamValid(const std::string &name) const
void addFunctionIC(const VariableName &var_name, const std::string &func_name, const std::vector< SubdomainName > &block_names)