function SlipRatio
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 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 = 0 "Mass flow rate quality" annotation(
Dialog);
output Real SR "Slip ratio";
end SlipRatio;