modelSuddenContraction

Pressure drop due to contraction using Modelica.Fluid.Dissipation.PressureLoss.Orifice

Extends from Interfaces.SISOFlow_nonConstArea.

Information

This component models a sudden pipe contraction. It computes the pressure loss of the fluid depending on the massflow rate or the massflow rate depending on a given pressure difference, some medium properties and the geometry of the contraction. The model is valid for both incompressible and compressible calculation up to at least Ma 0.3 at pipe outlet and one phase medium.

The pressure loss is calculated with the same functions used in the SuddenExpansion model. To obtain an inverse effect, the function is subjected to a virtual negative mass flow. The negative mass flow is compensated by a change of sign in the pressure drop. The mass flow through the base model is not affected by this.

The pipe bend component is using the partial model SISOFlow_nonConstArea implementing the common flow balances. For the calculation of pressure loss the function dp_suddenChange_DP by Modelica is implemented. The input records dp_suddenChange_IN_con & dp_suddenChange_IN_var are overwritten with the input parameters defining the geometry of the expansion and fluid properties. For more information on the underlying pressure loss function, click here. To improve the accuracy when compressible media are used, center state fluid properties (mean dynamic viscosity & mean density) are defined and refered to in the pressure loss function.

The following figure, a resistance coefficient chart representing the pressure loss model under common conditions is shown. (Currently not yet available)

[P. Jordan; HTWG Konstanz; 10/23]

HTWG Konstanz

Parameters

TypeNameDefaultDescription
BooleanassumeConstantMaterialPropertiestrue= true, if constant density and dynamic viscosity is assumed (use '= false' e.g. for Ma > 0.3)
Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_suddenChange_IN_conIn_conInput record constants
Geometry
SI.Lengthd_1Inlet diameter
SI.Lengthd_2Outlet diameter
Initialization › dp
ThermofluidStream.Utilities.Types.InitializationMethodsinitdpThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for pressure difference dp
SI.Pressuredp_00Initial value for pressure difference dp
ThermofluidStream.Utilities.Units.MassFlowAccelerationdp_acceleraton_00Initial value for der(dp)
Advanced
Medium.Densityrho_mindropOfCommons.rho_minMinimal density
StateSelectdpStateSelectStateSelect.defaultState select for dp
ThermofluidStream.Utilities.Units.InertanceL_valuedropOfCommons.LInertance

Components

TypeNameDefaultDescription
Medium.DensityrhoMean density
Medium.DynamicViscositymuMean dynamic viscosity
Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_suddenChange_IN_varIn_varInput record variables
SI.ReynoldsNumberRed_1*abs(m_flow)/A_1/muReynoldsnumber