.Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_MFLOW

Information

Calculation of pressure loss for a valve with different geometries at overall flow regime for incompressible and single-phase fluid flow in dependence of its opening.

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_severalGeometryOverall_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_severalGeometryOverall_MFLOW
  extends Modelica.Icons.Function;
  import FD = Modelica.Fluid.Dissipation.PressureLoss.Valve;
  import SMOOTH = Modelica.Fluid.Dissipation.Utilities.Functions.General.Stepsmoother;
  import TYP = Modelica.Fluid.Dissipation.Utilities.Types;
  input Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con IN_con "Input record for function dp_severalGeometryOverall_MFLOW" annotation(
    Dialog(group = "Constant inputs"));
  input Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var IN_var "Input record for function dp_severalGeometryOverall_MFLOW" annotation(
    Dialog(group = "Variable inputs"));
  input SI.Pressure dp "Pressure loss" annotation(
    Dialog(group = "Input"));
  output SI.MassFlowRate M_FLOW "Mass flow rate";
end dp_severalGeometryOverall_MFLOW;

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f