30 const unsigned int j);
37 std::vector<const ADVariableValue *>
_T;
47 std::vector<const SinglePhaseFluidProperties *>
_fp;
51 std::vector<const Moose::Functor<ADReal> *>
_areas;
55 std::vector<const Moose::Functor<ADReal> *>
_lengths;
57 std::vector<const Moose::Functor<ADReal> *>
_dZs;
61 std::vector<const Moose::Functor<ADReal> *>
_dPps;
DualNumber< Real, DNDerivativeType, true > ADReal
const size_t _n_segments
Number of geometrically/thermally unique segments.
const unsigned int _n_fp
Number of fluid property user objects supplied.
const bool _is_implicit
Property state integration flag.
std::vector< const Moose::Functor< ADReal > * > _dZs
Height change inlet to outlet of each segment.
virtual ADReal pressureDrop() const =0
const size_t _n_temps
Number of coupled temperature variables.
virtual ADReal computeFrictionFactor(const ADReal &mu, const ADReal &G, const ADReal &Dh, const unsigned int j)
std::vector< const Moose::Functor< ADReal > * > _perimeters
Wetted perimeter of each segment.
const Moose::Functor< ADReal > & _Pref
System reference pressure.
std::vector< const Moose::Functor< ADReal > * > _roughnesses
Wall roughness of each segment.
std::vector< const Moose::Functor< ADReal > * > _areas
Flow area of each segment.
const Moose::Functor< ADReal > & _gravity
Gravitational acceleration in the vertical downward direction.
std::vector< const Moose::Functor< ADReal > * > _forms_losses
Forms loss coefficients of each segment.
const SinglePhaseFluidProperties * _fp_ref
Pure liquid fluid properties reference (for draining problems, not for multiphase flow)
virtual ADReal computeQpResidual() override
virtual Real computeQpJacobian() override
std::vector< const SinglePhaseFluidProperties * > _fp
Fluid properties per segment (non-owning pointers)
std::vector< const ADVariableValue * > _T
Coupled temperature variables.
std::vector< const Moose::Functor< ADReal > * > _dPps
Pump pressure gains of each segment.
virtual ADReal massFlowRate() const =0
static InputParameters validParams()
std::vector< const Moose::Functor< ADReal > * > _lengths
Length of each segment.
const InputParameters & parameters() const
Common class for single phase fluid properties.