Package Modelica.​Fluid.​Fittings.​BaseClasses.​Orifices.​ThickEdgedOrifice
Pressure loss functions for thick edged orifices

Information

This package contains utility functions and records for the ThickEdgedOrifice fitting component.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
ChoicesChoices for Geometry
GeometryGeometric data for a thick edged orifice
massFlowRateReturn mass flow rate m_flow as function of pressure loss dp for a thick edged orifice
pressureLossReturn pressure loss dp as function of mass flow rate m_flow for a thick edged orifice

Function Modelica.​Fluid.​Fittings.​BaseClasses.​Orifices.​ThickEdgedOrifice.​massFlowRate
Return mass flow rate m_flow as function of pressure loss dp for a thick edged orifice

Information

This function returns the mass flow rate m_flow as function of pressure loss dp for a thick edged orifice. The details of the function are described here.

The orifice characteristic is valid for constant density and constant dynamic viscosity. It can be approximately also used for compressible media. This is performed by providing the upstream density and upstream dynamic viscosity. In order to be able to regularize density and dynamic viscosity around zero mass flow rate, the two quantities have to be given if fluid flows from port_a to port_b (d_a, eta_a) and if fluid flows from port_b to port_a (d_b, eta_b).

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

Inputs

TypeNameDescription
PressuredpPressure loss
GeometrygeometryGeometry of bend
Densityd_aDensity at port_a when fluid is flowing from port_a to port_b
Densityd_bDensity at port_b when fluid is flowing from port_b to port_a
DynamicViscosityeta_aDynamic viscosity at port_a when fluid is flowing from port_a to port_b
DynamicViscosityeta_bDynamic viscosity at port_b when fluid is flowing from port_b to port_a
AbsolutePressuredp_smallSmall pressure drop used for regularization if m_flow=f(...,dp_small,..,dp)
MassFlowRatem_flow_smallSmall mass flow rate used for regularization if dp=f_inv(...,m_flow_small,m_flow)

Outputs

TypeNameDescription
MassFlowRatem_flowMass flow rate (= port_a.m_flow)

Function Modelica.​Fluid.​Fittings.​BaseClasses.​Orifices.​ThickEdgedOrifice.​pressureLoss
Return pressure loss dp as function of mass flow rate m_flow for a thick edged orifice

Information

This function returns the pressure loss dp as function of mass flow rate m_flow for a thick edged orifice. The details of the function are described here.

The orifice characteristic is valid for constant density and constant dynamic viscosity. It can be approximately also used for compressible media. This is performed by providing the upstream density and upstream dynamic viscosity. In order to be able to regularize density and dynamic viscosity around zero mass flow rate, the two quantities have to be given if fluid flows from port_a to port_b (d_a, eta_a) and if fluid flows from port_b to port_a (d_b, eta_b).

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

Inputs

TypeNameDescription
MassFlowRatem_flowMass flow rate (= port_a.m_flow)
GeometrygeometryGeometry of bend
Densityd_aDensity at port_a when fluid is flowing from port_a to port_b
Densityd_bDensity at port_b when fluid is flowing from port_b to port_a
DynamicViscosityeta_aDynamic viscosity at port_a when fluid is flowing from port_a to port_b
DynamicViscosityeta_bDynamic viscosity at port_b when fluid is flowing from port_b to port_a
AbsolutePressuredp_smallSmall pressure drop used for regularization if m_flow=f(...,dp_small,..,dp)
MassFlowRatem_flow_smallSmall mass flow rate used for regularization if dp=f_inv(...,m_flow_small,m_flow)

Outputs

TypeNameDescription
PressuredpPressure loss

Record Modelica.​Fluid.​Fittings.​BaseClasses.​Orifices.​ThickEdgedOrifice.​Geometry
Geometric data for a thick edged orifice

Information

This record is used to define the geometric (constant) data of a thick edged orifice. The details of the record are described here.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
AreacrossAreaInner cross sectional area
LengthperimeterInner perimeter
AreavenaCrossAreaCross sectional area of vena contraction
LengthvenaPerimeterPerimeter of vena contraction
LengthvenaLengthLength of vena contraction