19 "Form loss coefficient per unit length function [1/m]");
22 "Prescribe a form loss over a 1-phase flow channel given by a function");
38 const std::string class_name =
"ADGenericFunctionMaterial";
41 params.
set<std::vector<std::string>>(
"prop_names") = {
"K_prime"};
42 params.
set<std::vector<FunctionName>>(
"prop_values") = {getParam<FunctionName>(
"K_prime")};
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.
THMProblem & getTHMProblem() const
Gets the THM problem.
virtual void addMaterial(const std::string &material_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
virtual const std::string & name() const
Factory & _factory
The Factory associated with the MooseApp.