19 "Flow channel where form loss will be applied");
20 params.
addClassDescription(
"Base class for prescribing a form loss over a 1-phase flow channel");
26 :
Component(params), _flow_channel_name(getParam<
std::string>(
"flow_channel"))
52 const std::string class_name =
"ADOneD3EqnMomentumFormLoss";
Base class for THM components.
virtual void init()
Initializes the component.
virtual const std::vector< SubdomainName > & getSubdomainNames() const
Gets the subdomain names for this component.
THMProblem & getTHMProblem() const
Gets the THM problem.
Factory & _factory
The Factory associated with the MooseApp.
static InputParameters validParams()
virtual void addKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
Single-component, single-phase flow channel.
static const std::string DENSITY
static const std::string VELOCITY
static const std::string RHOUA
static const std::string AREA
const std::string & name() const
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.