functionTwoPhaseDensity

Calculation of mean density for two phase flow

Extends from Modelica.Icons.Function (Icon for functions).

Information

The gaseous and the liquid part of a fluid in a two phase flow are often discontinuously distributed. This complex behaviour is simplified for engineering calculations. The two phase flow of different fluid flow situations (e.g., bubble or stratified flow) is modelled as if the gaseous and the liquid phase are continuously distributed.

A mean density assuming a continuous distribution out of a discontinuous two phase fluid flow situation can be calculated with a homogeneous or a heterogeneous approach (see dp_twoPhaseOverall_DP).

The following modelling approaches can be used to calculate the mean density of two phase flow:

  • homogeneous density (homogeneous approach)
  • momentum flux density (heterogeneous approach)
  • kinetic energy flow density (heterogeneous approach)

The heterogeneous approaches are analytically derived by minimising the momentum flux or the kinetic energy flow assuming implicitly that the two-phase flow will tend towards the minimum of this quantity.

References

VDI:
VDI - Wärmeatlas: Berechnungsblätter für den Wärmeübergang. Springer Verlag, 10th edition, 2006.

Inputs

TypeNameDefaultDescription
Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproachvoidFractionApproachModelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach.HomogeneousChoice of void fraction approach
BooleanmassFlowRateCorrectionfalseConsider heterogeneous mass flow rate correction
SI.Densityrho_gDensity of gaseous phase
SI.Densityrho_lDensity of liquid phase
Realepsilon_AVoid fraction (cross sectional averaged)
Realx_flowMass flow rate quality

Outputs

TypeNameDefaultDescription
SI.Densityrho_2phMean density of two phase flow

Revisions

  • 2 May 2011 by Stefan Wischhusen:
    Corrected a logical error in use of input massFlowRateCorrection.