.Modelica.Fluid.Dissipation.Utilities.Functions.PressureLoss.TwoPhase.VoidFraction

Information

Calculation of (cross sectional) void fraction for two phase flow

Interface

function VoidFraction
  extends Modelica.Icons.Function;
  input Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach voidFractionApproach = Dissipation.Utilities.Types.VoidFractionApproach.Homogeneous "Choice of void fraction approach" annotation(
    Dialog(group = "Choices"));
  input Boolean crossSectionalAveraged = true "true == cross sectional averaged void fraction | false == volumetric" annotation(
    Dialog);
  input SI.Density rho_g(min = Modelica.Constants.eps) "Density of gaseous phase" annotation(
    Dialog);
  input SI.Density rho_l(min = Modelica.Constants.eps) "Density of liquid phase" annotation(
    Dialog);
  input Real x_flow(min = 0, max = 1) = 0 "Mass flow rate quality" annotation(
    Dialog);
  output Real epsilon "Void fraction";
  output Real slipRatio "Slip ratio";
end VoidFraction;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39