20 params.
addClassDescription(
"Computes various quantities for a ShaftConnectedTurbine1Phase.");
23 "delta_p flow_coefficient driving_torque friction_torque moment_of_inertia power");
25 params.
addRequiredParam<UserObjectName>(
"turbine_uo",
"Turbine user object name");
32 _quantity(this->template getParam<
MooseEnum>(
"quantity").template getEnum<
Quantity>()),
registerMooseObject("ThermalHydraulicsApp", ShaftConnectedTurbine1PhaseAux)
const Quantity _quantity
Which quantity to compute.
ADReal getTurbinePower() const
Turbine power computed in the 1-phase shaft-connected turbine.
Computes various quantities for a ShaftConnectedTurbine1Phase.
ShaftConnectedTurbine1PhaseAux(const InputParameters ¶meters)
virtual ADReal getMomentOfInertia() const
ADReal getFlowCoefficient() const
Flow coefficient computed in the 1-phase shaft-connected turbine.
const ADShaftConnectedTurbine1PhaseUserObject & _turbine_uo
1-phase shaft-connected turbine user object
ADReal getTurbineDeltaP() const
Turbine head computed in the 1-phase shaft-connected turbine.
virtual Real computeValue() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
ADReal getFrictionTorque() const
Friction torque computed in the 1-phase shaft-connected turbine.
static InputParameters validParams()
Computes and caches flux and residual vectors for a 1-phase turbine.
ADReal getDrivingTorque() const
Driving torque computed in the 1-phase shaft-connected turbine.
static InputParameters validParams()