17 MooseEnum var_type(
"nodal elemental",
"nodal",
false);
19 "var_type", var_type,
"The type of wall temperature variable (nodal, elemental).");
21 "external application going into 1-phase flow channel.");
28 _fe_type(getParam<
MooseEnum>(
"var_type") == 0 ?
libMesh::FEType(FIRST, LAGRANGE)
29 :
libMesh::FEType(CONSTANT, MONOMIAL))
57 const std::string class_name =
"ADOneDEnergyWallHeating";
THMProblem & getTHMProblem() const
Gets the THM problem.
Factory & _factory
The Factory associated with the MooseApp.
virtual void addVariables()
virtual void addKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
static const std::string TEMPERATURE
static const std::string RHOEA
Base class for heat transfer connections to 1-phase flow channels.
static InputParameters validParams()
MaterialPropertyName _Hw_1phase_name
1-phase wall heat transfer coefficient name
virtual void addMooseObjects() override
VariableName _P_hf_name
heated perimeter name
VariableName _T_wall_name
wall temperature name
std::vector< SubdomainName > _flow_channel_subdomains
Subdomains corresponding to the connected flow channel.
virtual bool isTemperatureType() const override
Returns whether this heat transfer is specified by temperature, rather than heat flux.
virtual void addVariables() override
libMesh::FEType _fe_type
The type of the wall temperature variable.
HeatTransferFromTemperature1Phase(const InputParameters ¶meters)
virtual void addMooseObjects() override
virtual const libMesh::FEType & getFEType()
Get the FE type for wall temperature variable.
static InputParameters validParams()
void addHeatTransferKernels()
Adds 1-phase heat transfer kernels.
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.
void addSimVariable(bool nl, const VariableName &name, libMesh::FEType fe_type, Real scaling_factor=1.0)
Queues a variable of type MooseVariableScalar to be added to the nonlinear or aux system.
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...