functionzetaPressureLoss
Pressure loss coefficient function
Extends from Internal.FlowResistance.partialPressureLoss (Partial pressure loss function).
Information
For specific components (armatures, fittings, pipe sections, grids, ...), the pressure loss coefficient is often given in the data sheet.
Together with a given (or calculated) reference area A, the pressure drop can be calculated:
dp := zeta * rho/2 * v^2 = zeta/(2*rho) * m_flow^2/A^2
The square of the mass-flow is regularized using the Modelica.Fluid.Utilities.regSquare function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from partialPressureLoss) | Mass flow rate | |
| SI.Density | rho (from partialPressureLoss) | Density | |
| SI.DynamicViscosity | mu (from partialPressureLoss) | Dynamic viscosity | |
| SI.Length | r (from partialPressureLoss) | Radius | |
| SI.Length | l (from partialPressureLoss) | Length | |
| Real | zeta | Pressure loss coefficient (dp = zeta*rho/2*v^2) | |
| Boolean | fromGeometry | true | = true, if cross-sectional area if calculated from geometry |
| SI.Area | A | Modelica.Constants.pi*r*r | Cross-sectional area |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.PressureDifference | pressureLoss (from partialPressureLoss) | pressure loss (dp) |