25 "Scaling factor for solid temperature variable.");
41 _sim(*params.getCheckedPointerParam<
THMProblem *>(
"_thm_problem")),
42 _factory(_app.getFactory()),
44 _geometrical_component(
54 const Real & scaling_factor = getParam<Real>(
"scaling_factor_temperature");
74 std::string class_name =
"ADHeatConductionTimeDerivative";
77 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
79 pars.
set<MaterialPropertyName>(
"density_name") =
DENSITY;
80 pars.
set<
bool>(
"use_displaced_mesh") =
false;
85 std::string class_name =
"ADHeatConduction";
88 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
90 pars.
set<
bool>(
"use_displaced_mesh") =
false;
108 std::string class_name =
"ADHeatConductionTimeDerivativeRZ";
111 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
113 pars.
set<MaterialPropertyName>(
"density_name") =
DENSITY;
114 pars.
set<
bool>(
"use_displaced_mesh") =
false;
115 pars.
set<Point>(
"axis_point") = position;
116 pars.
set<RealVectorValue>(
"axis_dir") = direction;
121 std::string class_name =
"ADHeatConductionRZ";
124 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
126 pars.
set<
bool>(
"use_displaced_mesh") =
false;
127 pars.
set<Point>(
"axis_point") = position;
128 pars.
set<RealVectorValue>(
"axis_dir") = direction;
registerMooseObject("ThermalHydraulicsApp", HeatConductionModel)
virtual const std::vector< SubdomainName > & getSubdomainNames() const
Gets the subdomain names for this component.
bool problemIsTransient() const
Whether the problem is transient.
virtual RealVectorValue getDirection() const
virtual Point getPosition() const
virtual void addKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
Intermediate class for components that have mesh.
Provides functions to setup the heat conduction model.
HeatConductionModel(const InputParameters ¶ms)
static const std::string THERMAL_CONDUCTIVITY
virtual void addHeatEquationRZ()
Add heat conduction equation for RZ coordinate system.
static InputParameters validParams()
static const std::string TEMPERATURE
virtual void addInitialConditions()
Add initial conditions.
static libMesh::FEType _fe_type
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
Factory & _factory
The Factory associated with the MooseApp.
const std::string _comp_name
Name of the component.
GeometricalComponent & _geometrical_component
The geometrical component that built this class.
static const std::string DENSITY
virtual void addVariables()
Add field variables used by this model.
HeatStructureInterface & _hs_interface
The heat structure interface that built this class.
virtual void addHeatEquationXYZ()
Add heat conduction equation for cartesian coordinate system.
Base class for cylindrical heat structure components.
Interface class for heat structure components.
FunctionName getInitialT() const
Gets the initial temperature function name.
static InputParameters validParams()
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 addFunctionIC(const VariableName &var_name, const std::string &func_name, const std::vector< SubdomainName > &block_names)
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.
Specialization of FEProblem to run with component subsystem.