27 params.
addClassDescription(
"Computes and caches flux and residual vectors for a 1-phase pump");
36 _head(getParam<
Real>(
"head")),
37 _g(getParam<
Real>(
"gravity_magnitude"))
57 const ADReal S_energy = S_momentum * uvec;
std::vector< ADReal > _cached_junction_var_values
static InputParameters validParams()
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
std::vector< ADReal > _residual
Cached scalar residual vector.
const Real & _volume
Volume of the junction.
const MaterialProperty< RealVectorValue > & _dir
Direction of the element connected to the junction.
const Real & _head
Pump head, [m].
const Real & _A_ref
Reference area.
Computes and caches flux and residual vectors for a 1-phase volume junction.
Computes and caches flux and residual vectors for a 1-phase pump.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADPump1PhaseUserObject(const InputParameters ¶ms)
const Real & _g
Gravity constant, i.e., 9.8 [m/s^2].
registerMooseObject("ThermalHydraulicsApp", ADPump1PhaseUserObject)
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
static InputParameters validParams()