Package Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice
Package for pressure loss calculation of orifices

Information

Orifice

Sudden change

Calculation of the local pressure loss at a sudden change of the cross sectional areas (sudden expansion or sudden contraction) with sharp corners at turbulent flow regime for incompressible and single-phase fluid flow through arbitrary shaped cross sectional area (square, circular, etc.) considering a smooth surface. See more information.

Thick edged orifice

Calculation of pressure loss in thick edged orifices with sharp corners at overall flow regime for incompressible and single-phase fluid flow through an arbitrary shaped cross sectional area (square, circular, etc.) considering constant influence of surface roughness. See more information.

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

Package Contents

NameDescription
dp_suddenChange_DPPressure loss of orifice with sudden change in cross sectional area | calculate pressure loss | turbulent flow regime | smooth surface | arbitrary cross sectional area | without baffles | sharp edge
dp_suddenChange_IN_conInput record for function dp_suddenChange_DP and dp_suddenChange_MFLOW
dp_suddenChange_IN_varInput record for function dp_suddenChange_DP and dp_suddenChange_MFLOW
dp_suddenChange_MFLOWPressure loss of orifice with sudden change in cross sectional area | calculate mass flow rate | turbulent flow regime | smooth surface | arbitrary cross sectional area | without baffles | sharp edge
dp_thickEdgedOverall_DPPressure loss of thick and sharp edged orifice | calculate pressure loss | overall flow regime | constant influence of friction | arbitrary cross sectional area
dp_thickEdgedOverall_IN_conInput record for function dp_thickEdgedOverall_DP and dp_thickEdgedOverall_MFLOW
dp_thickEdgedOverall_IN_varInput record for function dp_thickEdgedOverall_DP and dp_thickEdgedOverall_MFLOW
dp_thickEdgedOverall_MFLOWPressure loss of thick and sharp edged orifice | calculate mass flow rate | overall flow regime | constant influence of friction | arbitrary cross sectional area

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_suddenChange_DP
Pressure loss of orifice with sudden change in cross sectional area | calculate pressure loss | turbulent flow regime | smooth surface | arbitrary cross sectional area | without baffles | sharp edge

Information

Calculation of the local pressure loss at a sudden change of the cross sectional areas (sudden expansion or sudden contraction) with sharp corners at turbulent flow regime for incompressible and single-phase fluid flow through arbitrary shaped cross sectional area (square, circular, etc.) considering a smooth surface. The flow direction determines the type of the transition. In case of the design flow a sudden expansion will be considered. At flow reversal a sudden contraction will be considered.

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_suddenChange_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_suddenChange_IN_conIN_conInput record for function dp_suddenChange_DP
dp_suddenChange_IN_varIN_varInput record for function dp_suddenChange_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_suddenChange_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_suddenChange_MFLOW
Pressure loss of orifice with sudden change in cross sectional area | calculate mass flow rate | turbulent flow regime | smooth surface | arbitrary cross sectional area | without baffles | sharp edge

Information

Calculation of the local pressure loss at a sudden change of the cross sectional areas (sudden expansion or sudden contraction) with sharp corners at turbulent flow regime for incompressible and single-phase fluid flow through arbitrary shaped cross sectional area (square, circular, etc.) considering a smooth surface. The flow direction determines the type of the transition. In case of the design flow a sudden expansion will be considered. At flow reversal a sudden contraction will be considered.

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_suddenChange_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

TypeNameDescription
dp_suddenChange_IN_conIN_conInput record for function dp_suddenChange_MFLOW
dp_suddenChange_IN_varIN_varInput record for function dp_suddenChange_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_suddenChange_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_suddenChange_IN_con
Input record for function dp_suddenChange_DP and dp_suddenChange_MFLOW

Information

This record is used as input record for the pressure loss functions dp_suddenChange_DP and dp_suddenChange_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​PressureLoss.​SuddenChange (Input for sudden change of diameter).

Fields

TypeNameDescription
AreaA_1Small cross sectional area of orifice
AreaA_2Large cross sectional area of orifice
LengthC_1Small perimeter of orifice
LengthC_2Large perimeter of orifice

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_suddenChange_IN_var
Input record for function dp_suddenChange_DP and dp_suddenChange_MFLOW

Information

This record is used as input record for the pressure loss functions dp_suddenChange_DP and dp_suddenChange_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

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_thickEdgedOverall_DP
Pressure loss of thick and sharp edged orifice | calculate pressure loss | overall flow regime | constant influence of friction | arbitrary cross sectional area

Information

Calculation of pressure loss in thick edged orifices with sharp corners at overall flow regime for incompressible and single-phase fluid flow through an arbitrary shaped cross sectional area (square, circular, etc.) considering constant influence of 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_thickEdgedOverall_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_thickEdgedOverall_IN_conIN_conInput record for function dp_thickEdgedOverall_DP
dp_thickEdgedOverall_IN_varIN_varInput record for function dp_thickEdgedOverall_DP
MassFlowRatem_flowMass flow rate

Outputs

TypeNameDescription
PressureDPOutput for function dp_thickEdgedOverall_DP

Function Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_thickEdgedOverall_MFLOW
Pressure loss of thick and sharp edged orifice | calculate mass flow rate | overall flow regime | constant influence of friction | arbitrary cross sectional area

Information

Calculation of pressure loss in thick edged orifices with sharp corners at overall flow regime for incompressible and single-phase fluid flow through an arbitrary shaped cross sectional area (square, circular, etc.) considering constant influence of 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_thickEdgedOverall_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

TypeNameDescription
dp_thickEdgedOverall_IN_conIN_conInput record for function dp_thickEdgedOverall_MFLOW
dp_thickEdgedOverall_IN_varIN_varInput record for function dp_thickEdgedOverall_MFLOW
PressuredpPressure loss

Outputs

TypeNameDescription
MassFlowRateM_FLOWOutput for function dp_thickEdgedOverall_MFLOW

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_thickEdgedOverall_IN_con
Input record for function dp_thickEdgedOverall_DP and dp_thickEdgedOverall_MFLOW

Information

This record is used as input record for the pressure loss functions dp_thickEdgedOverall_DP and dp_thickEdgedOverall_MFLOW.

Extends from Modelica.​Fluid.​Dissipation.​Utilities.​Records.​PressureLoss.​Orifice (Input for orifice).

Fields

TypeNameDescription
AreaA_0Cross sectional area of vena contraction
LengthC_0Perimeter of vena contraction
AreaA_1Large cross sectional area of orifice
LengthC_1Large perimeter of orifice
LengthLLength of vena contraction
Pressuredp_smoothStart linearisation for decreasing pressure loss

Record Modelica.​Fluid.​Dissipation.​PressureLoss.​Orifice.​dp_thickEdgedOverall_IN_var
Input record for function dp_thickEdgedOverall_DP and dp_thickEdgedOverall_MFLOW

Information

This record is used as input record for the pressure loss functions dp_thickEdgedOverall_DP and dp_thickEdgedOverall_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