.Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_MFLOW

Information

Calculation of pressure loss in a straight pipe for overall flow regime of an incompressible and single-phase fluid flow only considering surface roughness.

Generally this function is numerically best used for the compressible case, where the pressure loss (dp) is known (out of pressures as state variable) in the used model and the corresponding mass flow rate (M_FLOW) has to be calculated. On the other hand the function dp_overall_DP is numerically best used for the incompressible case if the mass flow rate (m_flow) is known (as state variable) and the pressure loss (DP) has to be calculated. See more information.

Interface

function dp_overall_MFLOW
  extends Modelica.Icons.Function;
  import FD = Modelica.Fluid.Dissipation.PressureLoss.StraightPipe;
  import SMOOTH = Modelica.Fluid.Dissipation.Utilities.Functions.General.Stepsmoother;
  import Modelica.Fluid.Dissipation.Utilities.Types.Roughness;
  input Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_con IN_con "Input record for function dp_overall_MFLOW" annotation(
    Dialog(group = "Constant inputs"));
  input Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_var IN_var "Input record for function dp_overall_MFLOW" annotation(
    Dialog(group = "Variable inputs"));
  input SI.Pressure dp "Pressure loss" annotation(
    Dialog(group = "Input"));
  output SI.MassFlowRate M_FLOW "Output of function dp_overall_MFLOW";
end dp_overall_MFLOW;

Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos