28 params.
addClassDescription(
"Pump between two 1-phase flow channels that has a non-zero volume");
45 const std::string class_name =
"ADPump1PhaseUserObject";
47 params.
set<
bool>(
"use_scalar_variables") =
false;
50 params.
set<std::vector<Real>>(
"normals") =
_normals;
65 params.
set<
Real>(
"A_ref") = getParam<Real>(
"A_ref");
66 params.
set<
Real>(
"K") = getParam<Real>(
"K");
68 params.
set<
bool>(
"apply_velocity_scaling") = getParam<bool>(
"apply_velocity_scaling");
const Real & _head
Pump head [m].
Pump1Phase(const InputParameters ¶ms)
const VariableName _rhoV_var_name
rho*V variable name for junction
const std::vector< processor_id_type > & getConnectedProcessorIDs()
Gets the processor IDs of the connected 1D components.
static InputParameters validParams()
static const std::string AREA
THMProblem & getTHMProblem() const
Gets the THM problem.
const VariableName _rhovV_var_name
rho*v*V variable name for junction
InputParameters getValidParams(const std::string &name) const
Pump between 1-phase flow channels that has a non-zero volume.
const VariableName _rhowV_var_name
rho*w*V variable name for junction
virtual void buildVolumeJunctionUserObject() override
Builds user object for computing and storing the fluxes.
std::vector< BoundaryName > _boundary_names
Boundary names of connected components.
ExecFlagEnum getDefaultExecFlagEnum()
static const std::string RHOUA
std::vector< UserObjectName > _numerical_flux_names
static const std::string RHOA
const Real _volume
Volume of the junction.
const ExecFlagType EXEC_LINEAR
Junction between 1-phase flow channels that has a non-zero volume.
const ExecFlagType EXEC_NONLINEAR
static InputParameters validParams()
const std::string _junction_uo_name
Name of junction user object name, if any.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("ThermalHydraulicsApp", Pump1Phase)
Factory & _factory
The Factory associated with the MooseApp.
void connectObject(const InputParameters ¶ms, const std::string &mooseName, const std::string &name) const
Connect with control logic.
UserObjectName _fp_name
Fluid property user object name.
virtual std::vector< std::shared_ptr< UserObject > > addUserObject(const std::string &user_object_name, const std::string &name, InputParameters ¶meters)
static const Real gravity_const
static const std::string RHOEA
const VariableName _rhouV_var_name
rho*u*V variable name for junction
std::vector< Real > _normals
Outward normals associated with connected components.
const VariableName _rhoEV_var_name
rho*E*V variable name for junction
subdomain_id_type _junction_subdomain_id
Junction subdomain ID.
const ExecFlagType EXEC_INITIAL