26 const FunctionName & f_D_fn_name = flow_channel.
getParam<FunctionName>(
"f");
29 const std::string class_name =
"ADWallFrictionFunctionMaterial";
33 params.
set<FunctionName>(
"function") = f_D_fn_name;
40 const std::string class_name =
"ADAverageWallTemperature3EqnMaterial";
44 params.
set<std::vector<MaterialPropertyName>>(
"Hw_sources") =
THMProblem & _sim
Simulation.
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.
std::vector< VariableName > getHeatedPerimeterNames() const
Gets heated perimeter names for connected heat transfers.
static const std::string TEMPERATURE
virtual void addMaterial(const std::string &material_name, const std::string &name, InputParameters ¶meters)
static InputParameters validParams()
InputParameters getValidParams(const std::string &name) const
std::vector< VariableName > getWallTemperatureNames() const
Gets wall temperature names for connected heat transfers.
static InputParameters validParams()
void addAverageWallTemperatureMaterial(const FlowChannel1Phase &flow_channel) const
Adds average wall temperature material.
void makeFunctionControllableIfConstant(const FunctionName &fn_name, const std::string &control_name, const std::string ¶m="value") const
Makes a function controllable if it is constant.
virtual const std::string & name() const
Base class for closures implementations.
Single-component, single-phase flow channel.
const T & getParam(const std::string &name) const
static const std::string FRICTION_FACTOR_DARCY
std::vector< MaterialPropertyName > getWallHTCNames1Phase() const
Gets 1-phase wall heat transfer coefficient names for connected heat transfers.
Factory & _factory
Factory associated with the MooseApp.
static const std::string HEAT_FLUX_PERIMETER
Closures1PhaseBase(const InputParameters ¶ms)
void addWallFrictionFunctionMaterial(const FlowChannel1Phase &flow_channel) const
Adds material that computes wall friction factor from a specified function.
virtual const std::vector< SubdomainName > & getSubdomainNames() const
Gets the subdomain names for this component.