Package Modelica.​Fluid.​Dissipation.​PressureLoss.​Channel
Package for pressure loss calculation of channels

Information

Channel

Internal overall flow

Calculation of pressure loss for an internal flow through different geometries at laminar and turbulent flow regime considering surface roughness. See more information.

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

Package Contents

NameDescription
dp_internalFlowOverall_DPPressure loss of internal flow | calculate pressure loss | overall flow regime | surface roughness | several geometries
dp_internalFlowOverall_IN_conInput record for function dp_internalFlowOverall_DP and dp_internalFlowOverall_MFLOW
dp_internalFlowOverall_IN_varInput record for function dp_internalFlowOverall_DP and dp_internalFlowOverall_MFLOW
dp_internalFlowOverall_MFLOWPressure loss of internal flow | calculate mass flow rate | overall flow regime | surface roughness | several geometries

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Channel.​dp_internalFlowOverall_DP
Pressure loss of internal flow | calculate pressure loss | overall flow regime | surface roughness | several geometries

Information

Calculation of pressure loss for an internal flow through different geometries at overall flow regime for incompressible and single-phase fluid flow 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_internalFlowOverall_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

TypeNameDescription
dp_internalFlowOverall_IN_conIN_conInput record for function dp_internalFlowOverall_DP
dp_internalFlowOverall_IN_varIN_varInput record for function dp_internalFlowOverall_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_internalFlowOverall_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Channel.​dp_internalFlowOverall_MFLOW
Pressure loss of internal flow | calculate mass flow rate | overall flow regime | surface roughness | several geometries

Information

Calculation of pressure loss for an internal flow through different geometries at overall flow regime for incompressible and single-phase fluid flow 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_internalFlowOverall_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.

The pressure loss calculation for internal fluid flow in different geometries is further documented here.

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

Inputs

TypeNameDescription
dp_internalFlowOverall_IN_conIN_conInput record for function dp_internalFlowOverall_MFLOW
dp_internalFlowOverall_IN_varIN_varInput record for function dp_internalFlowOverall_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput of function dp_overall_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Channel.​dp_internalFlowOverall_IN_con
Input record for function dp_internalFlowOverall_DP and dp_internalFlowOverall_MFLOW

Information

This record is used as input record for the pressure loss function dp_internalFlowOverall_DP and dp_internalFlowOverall_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​PressureLoss.​Geometry (Input for several geometries of internal flow).

Fields

TypeNameDescription
RoughnessroughnessChoice of considering surface roughness
GeometryOfInternalFlowgeometryChoice of geometry for internal flow
LengthKRoughness (average height of surface asperities)
LengthLLength
Diameterd_annSmall diameter
DiameterD_annLarge diameter
Diameterd_cirInternal diameter
Lengtha_ellHalf length of long base line
Lengthb_ellHalf length of short base line
Lengtha_recHorizontal length
Lengthb_recVertical length
Lengtha_triLength of base line
Lengthh_triHeight to top angle perpendicular to base line
AnglebetaTop angle

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Channel.​dp_internalFlowOverall_IN_var
Input record for function dp_internalFlowOverall_DP and dp_internalFlowOverall_MFLOW

Information

This record is used as input record for the pressure loss function dp_internalFlowOverall_DP and dp_internalFlowOverall_MFLOW.

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

Fields

TypeNameDescription
DynamicViscosityetaDynamic viscosity of fluid
DensityrhoDensity of fluid