41 const std::string class_name =
"BoundaryFlux3EqnFunction";
43 params.
set<FunctionName>(
"rho") = getParam<FunctionName>(
"rho");
44 params.
set<FunctionName>(
"vel") = getParam<FunctionName>(
"vel");
45 params.
set<FunctionName>(
"p") = getParam<FunctionName>(
"p");
46 params.
set<UserObjectName>(
"fluid_properties") =
_fp_name;
registerMooseObject("ThermalHydraulicsTestApp", InletFunction1Phase)
const ExecFlagType EXEC_INITIAL
const ExecFlagType EXEC_LINEAR
const ExecFlagType EXEC_NONLINEAR
THMProblem & getTHMProblem() const
Gets the THM problem.
Factory & _factory
The Factory associated with the MooseApp.
virtual std::vector< std::shared_ptr< UserObject > > addUserObject(const std::string &user_object_name, const std::string &name, InputParameters ¶meters)
InputParameters getValidParams(const std::string &name) const
const UserObjectName _boundary_uo_name
Name of boundary user object name.
Base class for boundary components connected to FlowChannel1Phase components.
static InputParameters validParams()
virtual void addWeakBCs()
Creates the boundary condition objects for 1-phase flow.
UserObjectName _fp_name
Fluid property user object name.
1-phase inlet with all variables prescribed by functions.
virtual void addMooseObjects() override
InletFunction1Phase(const InputParameters ¶ms)
static InputParameters validParams()
ExecFlagEnum getDefaultExecFlagEnum()