31 _sim(*params.getCheckedPointerParam<
THMProblem *>(
"_thm_problem")),
32 _factory(_app.getFactory())
38 const std::string & property_name)
const 40 const std::string class_name =
"ADConstantMaterial";
43 params.
set<std::string>(
"property_name") = property_name;
50 const std::vector<MaterialPropertyName> & values,
51 const std::vector<VariableName> & weights,
52 const MaterialPropertyName & property_name)
const 54 const std::string class_name =
"ADWeightedAverageMaterial";
56 params.
set<MaterialPropertyName>(
"prop_name") = property_name;
58 params.
set<std::vector<MaterialPropertyName>>(
"values") = values;
59 params.
set<std::vector<VariableName>>(
"weights") = weights;
67 const std::string class_name =
"ADCoupledVariableValueMaterial";
71 params.
set<std::vector<VariableName>>(
"coupled_variable") = {
Keeps the error and warning messages.
THMProblem & _sim
Simulation.
Specialization of FEProblem to run with component subsystem.
Interface for handling names.
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 addWeightedAverageMaterial(const FlowChannelBase &flow_channel, const std::vector< MaterialPropertyName > &values, const std::vector< VariableName > &weights, const MaterialPropertyName &property_name) const
Adds a weighted average material.
virtual void addMaterial(const std::string &material_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
A base class for flow channels.
std::vector< VariableName > getWallTemperatureNames() const
Gets wall temperature names for connected heat transfers.
static InputParameters validParams()
Interface class for logging errors and warnings.
virtual const std::string & name() const
void addWallTemperatureFromAuxMaterial(const FlowChannelBase &flow_channel, unsigned int i=0) const
Adds a material for wall temperature from an aux variable.
ClosuresBase(const InputParameters ¶ms)
void addZeroMaterial(const FlowChannelBase &flow_channel, const std::string &property_name) const
Adds an arbitrary zero-value material.
Factory & _factory
Factory associated with the MooseApp.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual const std::vector< SubdomainName > & getSubdomainNames() const
Gets the subdomain names for this component.
static InputParameters validParams()