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.");
VariableName _T_wall_name
wall temperature name
THMProblem & getTHMProblem() const
Gets the THM problem.
bool isRestarting() const
void addFunctionIC(const VariableName &var_name, const std::string &func_name, const std::vector< SubdomainName > &block_names)
void logError(Args &&... args) const
Logs an error.
bool isParamValid(const std::string &name) const
virtual void check() const override
Check the component integrity.
void addHeatTransferKernels()
Adds 1-phase heat transfer kernels.
virtual void initSecondary() override
Perform secondary initialization, which relies on init() being called for all components.
static InputParameters validParams()
virtual void addMooseObjects() override
static InputParameters validParams()
virtual void addVariables() override
virtual void check() const override
Check the component integrity.
Base class for heat transfer connections from temperature for 1-phase flow.
registerMooseObject("ThermalHydraulicsApp", HeatTransferFromExternalAppTemperature1Phase)
Heat transfer into 1-phase flow channel from temperature provided by an external application.
virtual void addMooseObjects() override
std::vector< SubdomainName > _flow_channel_subdomains
Subdomains corresponding to the connected flow channel.
virtual void initSecondary() override
Perform secondary initialization, which relies on init() being called for all components.
HeatTransferFromExternalAppTemperature1Phase(const InputParameters ¶meters)
virtual void addVariables() override