35 virtual void execute()
override;
const Function & _torque_hydraulic
Function to compute data for pump torque.
virtual void finalize() override
const Real & _g
Gravity constant.
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
const Real & _head_rated
Rated pump head.
Point _di_out
Direction of the pump outlet.
const Real & _speed_cr_fr
Pump speed threshold for friction.
const ADWeightedTransition _transition_friction
Transition for the sign of the frictional torque when speed is 0.
Computes and caches flux and residual vectors for a 1-phase pump.
const Real & _omega_rated
Rated pump speed.
virtual void initialize() override
ADReal _pump_head
Pump head.
const Real & _volumetric_rated
Rated pump volumetric flow rate.
const Real & _torque_rated
Rated pump torque.
const ADVariableValue & _omega
Shaft speed.
const std::vector< Real > & _tau_fr_coeff
Pump friction coefficients.
const Real & _tau_fr_const
Pump friction constant.
const Real & _density_rated
Rated pump density.
ADReal _friction_torque
Pump friction torque.
Weighted transition between two functions of one variable.
virtual void execute() override
Common class for single phase fluid properties.
Base class for computing numerical fluxes for FlowModelSinglePhase.
const Real & _inertia_const
Pump inertia constant.
Computes and caches flux and residual vectors for a 1-phase volume junction.
ADReal getFrictionTorque() const
Friction torque computed in the 1-phase shaft-connected pump.
ADReal getPumpHead() const
Pump head computed in the 1-phase shaft-connected pump.
static InputParameters validParams()
std::vector< DenseMatrix< Real > > _residual_jacobian_omega_var
Jacobian entries of junction variables wrt shaft variables.
Interface class for user objects that are connected to a shaft.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< Real > & _inertia_coeff
Pump inertia coefficients.
const Real & _transition_width
Transition width for the sign of the frictional torque when speed is 0.
ADReal getHydraulicTorque() const
Hydraulic torque computed in the 1-phase shaft-connected pump.
virtual void threadJoin(const UserObject &uo) override
const std::string & _pump_name
Pump name.
ADReal _hydraulic_torque
Pump hydraulic torque.
ADShaftConnectedPump1PhaseUserObject(const InputParameters ¶ms)
const Real & _speed_cr_I
Pump speed threshold for inertia.
virtual void initialSetup() override
const Function & _head
Function to compute data for pump head.