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

Information

Geodetic pressure loss of straight pipe for two phase flow | calculate pressure loss

Interface

function dp_twoPhaseGeodetic_DP
  extends Modelica.Icons.Function;
  import PI = Modelica.Constants.pi;
  input Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach voidFractionApproach = Dissipation.Utilities.Types.VoidFractionApproach.Homogeneous "Choice of void fraction approach";
  input Boolean crossSectionalAveraged = true "= true, if cross sectional averaged void fraction, otherwise volumetric" annotation(
    Dialog);
  input SI.Length length = 1 "Length in fluid flow direction" annotation(
    Dialog(group = "Geometry"));
  input SI.Angle phi = 0 "Tilt angle to horizontal" annotation(
    Dialog(group = "Geometry"));
  input SI.Density rho_g(min = Modelica.Constants.eps) "Density of gaseous phase" annotation(
    Dialog(group = "Fluid properties"));
  input SI.Density rho_l(min = Modelica.Constants.eps) "Density of liquid phase" annotation(
    Dialog(group = "Fluid properties"));
  input Real x_flow(min = 0, max = 1) = 0 "Mass flow rate quality" annotation(
    Dialog(group = "Fluid properties"));
  output SI.Pressure DP_geo "Geodetic pressure loss";
end dp_twoPhaseGeodetic_DP;

Generated at 2024-12-25T19:25:50Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos