27 "Scaling factor for solid temperature variable.");
43 _sim(*params.getCheckedPointerParam<
THMProblem *>(
"_thm_problem")),
44 _factory(_app.getFactory()),
46 _geometrical_component(
56 const Real & scaling_factor = getParam<Real>(
"scaling_factor_temperature");
72 const auto & material_names =
75 for (std::size_t i = 0; i <
blocks.size(); i++)
77 std::string class_name =
"ADSolidMaterial";
79 params.
set<std::vector<SubdomainName>>(
"block") = {
blocks[i]};
81 params.
set<UserObjectName>(
"properties") = material_names[i];
94 std::string class_name =
"ADHeatConductionTimeDerivative";
97 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
99 pars.
set<MaterialPropertyName>(
"density_name") =
DENSITY;
100 pars.
set<
bool>(
"use_displaced_mesh") =
false;
105 std::string class_name =
"ADHeatConduction";
108 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
110 pars.
set<
bool>(
"use_displaced_mesh") =
false;
128 std::string class_name =
"ADHeatConductionTimeDerivativeRZ";
131 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
133 pars.
set<MaterialPropertyName>(
"density_name") =
DENSITY;
134 pars.
set<
bool>(
"use_displaced_mesh") =
false;
135 pars.
set<
Point>(
"axis_point") = position;
141 std::string class_name =
"ADHeatConductionRZ";
144 pars.
set<std::vector<SubdomainName>>(
"block") =
blocks;
146 pars.
set<
bool>(
"use_displaced_mesh") =
false;
147 pars.
set<
Point>(
"axis_point") = position;
virtual void addHeatEquationXYZ()
Add heat conduction equation for cartesian coordinate system.
Specialization of FEProblem to run with component subsystem.
virtual Point getPosition() const
registerMooseObject("ThermalHydraulicsApp", HeatConductionModel)
static const std::string DENSITY
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.
virtual void addMaterial(const std::string &material_name, const std::string &name, InputParameters ¶meters)
HeatConductionModel(const InputParameters ¶ms)
virtual void addInitialConditions()
Add initial conditions.
FunctionName getInitialT() const
Gets the initial temperature function name.
virtual RealVectorValue getDirection() const
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
virtual void addKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
const std::string _comp_name
Name of the component.
void addFunctionIC(const VariableName &var_name, const std::string &func_name, const std::vector< SubdomainName > &block_names)
virtual void addMaterials()
Add materials used by this model.
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...
Base class for cylindrical heat structure components.
static const std::string THERMAL_CONDUCTIVITY
static const std::string TEMPERATURE
bool problemIsTransient() const
Whether the problem is transient.
virtual void addHeatEquationRZ()
Add heat conduction equation for RZ coordinate system.
Factory & _factory
The Factory associated with the MooseApp.
static InputParameters validParams()
const T & getParam(const std::string &name) const
Interface class for heat structure components.
GeometricalComponent & _geometrical_component
The geometrical component that built this class.
virtual void addVariables()
Add field variables used by this model.
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
HeatStructureInterface & _hs_interface
The heat structure interface that built this class.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Intermediate class for components that have mesh.
static libMesh::FEType _fe_type
virtual const std::vector< SubdomainName > & getSubdomainNames() const
Gets the subdomain names for this component.
static InputParameters validParams()
Provides functions to setup the heat conduction model.