Modelica.Fluid.Dissipation.PressureLoss.StraightPipe

Package for pressure loss calculation of straight pipes

Information


Straight Pipe

Laminar flow

Calculation of pressure loss in a straight pipe for laminar flow regime of single-phase fluid flow only. See more information.

Turbulent flow

Calculation of pressure loss in a straight pipe for turbulent flow regime of single-phase fluid flow only considering surface roughness. See more information.

Overall flow

Calculation of pressure loss in a straight pipe for laminar or turbulent flow regime of single-phase fluid flow only considering surface roughness. See more information.

Two phase overall flow

Calculation of pressure loss for two phase flow in a horizontal or vertical straight pipe for an overall flow regime considering frictional, momentum and geodetic pressure loss. See more information.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

NameDescription
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_DP dp_laminar_DP Pressure loss of straight pipe | calculate pressure loss| laminar flow regime (Hagen-Poiseuille)
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_MFLOW dp_laminar_MFLOW Pressure loss of straight pipe | calculate mass flow rate | laminar flow regime (Hagen-Poiseuille)
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_IN_con dp_laminar_IN_con Input record for function dp_laminar_DP and dp_laminar_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_IN_var dp_laminar_IN_var Input record for function dp_laminar_DP and dp_laminar_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_DP dp_overall_DP Pressure loss of straight pipe | calculate pressure loss | overall flow regime | surface roughness
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_MFLOW dp_overall_MFLOW Pressure loss of straight pipe | calculate mass flow rate | overall flow regime | surface roughness
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_con dp_overall_IN_con Input record for function dp_overall_DP and dp_overall_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_var dp_overall_IN_var Input record for function dp_overall_DP and dp_overall_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_DP dp_turbulent_DP Pressure loss of straight pipe | calculate pressure loss | turbulent flow regime | surface roughness
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_MFLOW dp_turbulent_MFLOW Pressure loss of straight pipe | calculate mass flow rate | turbulent flow regime | surface roughness
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_IN_con dp_turbulent_IN_con Input record for function dp_turbulent_DP and dp_turbulent_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_IN_var dp_turbulent_IN_var Input record for function dp_turbulent_DP and dp_turbulent_MFLOW
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP dp_twoPhaseOverall_DP Pressure loss of straight pipe for two phase flow | calculate (frictional, momentum, geodetic) pressure loss
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_con dp_twoPhaseOverall_IN_con Input record for function dp_twoPhaseOverall_DP
Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_var dp_twoPhaseOverall_IN_var Input record for function dp_twoPhaseOverall_DP

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_DP Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_DP

Pressure loss of straight pipe | calculate pressure loss| laminar flow regime (Hagen-Poiseuille)

Information


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

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

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_laminar_DP
Variable inputs
IN_varInput record for function dp_laminar_DP
Input
m_flowMass flow rate [kg/s]

Outputs

NameDescription
DPOutput for function dp_laminar_DP [Pa]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_MFLOW Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_MFLOW

Pressure loss of straight pipe | calculate mass flow rate | laminar flow regime (Hagen-Poiseuille)

Information


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

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_laminar_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.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_laminar_MFLOW
Variable inputs
IN_varInput record for function dp_laminar_MFLOW
Input
dpPressure loss [Pa]

Outputs

NameDescription
M_FLOWOutput for function dp_laminar_MFLOW [kg/s]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_IN_con Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_IN_con

Input record for function dp_laminar_DP and dp_laminar_MFLOW

Information


This record is used as  input record  for the pressure loss function
 dp_laminar_DP and
 dp_laminar_MFLOW.

Extends from Utilities.Records.PressureLoss.StraightPipe (Input for straight pipe).

Parameters

NameDescription
Straight pipe
d_hydHydraulic diameter [m]
LLength [m]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_IN_var Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_laminar_IN_var

Input record for function dp_laminar_DP and dp_laminar_MFLOW

Information


This record is used as  input record  for the pressure loss function
 dp_laminar_DP and
 dp_laminar_MFLOW.

Extends from Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_var (Input record for function dp_overall_DP and dp_overall_MFLOW).

Parameters

NameDescription
Fluid properties
etaDynamic viscosity of fluid [Pa.s]
rhoDensity of fluid [kg/m3]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_DP Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_DP

Pressure loss of straight pipe | calculate pressure loss | overall flow regime | surface roughness

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 incompressible case , where the mass flow rate (m_flow) is known (as state variable) in the used model and the corresponding pressure loss (DP) has to be calculated. On the other hand the function dp_overall_MFLOW is numerically best used for the compressible case if the pressure loss (dp) is known (out of pressures as state variable) and the mass flow rate (M_FLOW) has to be calculated. See more information.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_overall_DP
Variable inputs
IN_varInput record for function dp_overall_DP
Input
m_flowMass flow rate [kg/s]

Outputs

NameDescription
DPOutput for function dp_overall_DP [Pa]

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

Pressure loss of straight pipe | calculate mass flow rate | overall flow regime | surface roughness

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.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_overall_MFLOW
Variable inputs
IN_varInput record for function dp_overall_MFLOW
Input
dpPressure loss [Pa]

Outputs

NameDescription
M_FLOWOutput of function dp_overall_MFLOW [kg/s]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_con Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_con

Input record for function dp_overall_DP and dp_overall_MFLOW

Information


This record is used as  input record  for the pressure loss function
 dp_overall_DP and
 dp_overall_MFLOW.

Extends from dp_turbulent_IN_con (Input record for function dp_turbulent_DP and dp_turbulent_MFLOW).

Parameters

NameDescription
Straight pipe
roughnessChoice of considering surface roughness
d_hydHydraulic diameter [m]
LLength [m]
KRoughness (average height of surface asperities) [m]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_var Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_var

Input record for function dp_overall_DP and dp_overall_MFLOW

Information


This record is used as  input record  for the pressure loss function
 dp_overall_DP and
 dp_overall_MFLOW.

Extends from Modelica.Fluid.Dissipation.Utilities.Records.General.PressureLoss (Base record for fluid properties for pressure loss).

Parameters

NameDescription
Fluid properties
etaDynamic viscosity of fluid [Pa.s]
rhoDensity of fluid [kg/m3]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_DP Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_DP

Pressure loss of straight pipe | calculate pressure loss | turbulent flow regime | surface roughness

Information


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

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

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_turbulent_DP
Variable inputs
IN_varInput record for function dp_turbulent_DP
Input
m_flowMass flow rate [kg/s]

Outputs

NameDescription
DPOutput for function dp_turbulent_DP [Pa]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_MFLOW Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_MFLOW

Pressure loss of straight pipe | calculate mass flow rate | turbulent flow regime | surface roughness

Information


Calculation of pressure loss in a straight pipe for turbulent 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 if the pressure loss (dp) is known (out of pressures as state variable) and the mass flow rate (M_FLOW) has to be calculated. On the other hand the function dp_turbulent_DP is numerically best used for the incompressible case , where the mass flow rate (m_flow) is known (as state variable) in the used model and the corresponding pressure loss (DP) has to be calculated. See more information.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_turbulent_MFLOW
Variable inputs
IN_varInput record for function dp_turbulent_MFLOW
Input
dpPressure loss [Pa]

Outputs

NameDescription
M_FLOWMass flow rate [kg/s]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_IN_con Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_IN_con

Input record for function dp_turbulent_DP and dp_turbulent_MFLOW

Information


This record is used as  input record  for the pressure loss function
 dp_turbulent_DP and
 dp_turbulent_MFLOW.

Extends from Utilities.Records.PressureLoss.StraightPipe (Input for straight pipe).

Parameters

NameDescription
Straight pipe
roughnessChoice of considering surface roughness
d_hydHydraulic diameter [m]
LLength [m]
KRoughness (average height of surface asperities) [m]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_IN_var Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_IN_var

Input record for function dp_turbulent_DP and dp_turbulent_MFLOW

Information


This record is used as  input record  for the pressure loss function
 dp_turbulent_DP and
 dp_turbulent_MFLOW.

Extends from Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_IN_var (Input record for function dp_overall_DP and dp_overall_MFLOW).

Parameters

NameDescription
Fluid properties
etaDynamic viscosity of fluid [Pa.s]
rhoDensity of fluid [kg/m3]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP

Pressure loss of straight pipe for two phase flow | calculate (frictional, momentum, geodetic) pressure loss

Information


Calculation of pressure loss for two phase flow in a horizontal or vertical straight pipe for an overall flow regime considering frictional, momentum and geodetic pressure loss.

Generally the pressure loss for two phase flow in a horizontal or a vertical straight pipe can be calculated for the following fluid flow regimes:

Horizontal fluid flow [(a) bubble flow, (b) stratified flow, (c) wavy flow, (d) slug flow, (e) annular flow]:

pic_twoPhaseFlowRegimes_horizontal

Vertical fluid flow [(a) bubble flow, (b) plug slug flow, (c) foam flow, (d) annular streak flow, (e) annular flow]:

pic_twoPhaseFlowRegimes_vertical

See more information.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
Constant inputs
IN_conInput record for function dp_twoPhaseOverall_DP
Variable inputs
IN_varInput record for function dp_twoPhaseOverall_DP
Input
m_flowMass flow rate [kg/s]

Outputs

NameDescription
DPTwo phase pressure loss [Pa]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_con Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_con

Input record for function dp_twoPhaseOverall_DP

Information


This record is used as  input record  for the pressure loss function  dp_twoPhaseOverall_DP.

Extends from Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_con (Base record for two phase Flow).

Parameters

NameDescription
Choices
frictionalPressureLossChoice of frictional pressure loss approach
voidFractionApproachChoice of void fraction approach
momentumPressureLossConsidering momentum pressure loss
massFlowRateCorrectionConsider heterogeneous mass flow rate correction
geodeticPressureLossConsidering geodetic pressure loss
Geometry
A_crossCross sectional area [m2]
perimeterWetted perimeter [m]
lengthLength in fluid flow direction [m]
phiTilt angle to horizontal [rad]

Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_var Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_var

Input record for function dp_twoPhaseOverall_DP

Information


This record is used as  input record  for the pressure loss function  dp_twoPhaseOverall_DP.

Extends from Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_var (Base record for two phase flow).

Parameters

NameDescription
Fluid properties
x_flow_endMass flow rate quality at end of length
x_flow_staMass flow rate quality at start of length
rho_gDensity of gas [kg/m3]
rho_lDensity of liquid [kg/m3]
eta_gDynamic viscosity of gas [Pa.s]
eta_lDynamic viscosity of liquid [Pa.s]
sigmaSurface tension [N/m]
Input
x_flowMean mass flow rate quality over length

Automatically generated Mon Sep 23 17:20:51 2013.