modelElbow
Extends from TRANSFORM.Fluid.FittingsAndResistances.BaseClasses.PartialResistancenew.
Information
Minor-loss resistance for a smooth circular pipe bend (elbow). The pressure loss is computed as
dp = K*m_flow^2/(2*rho*A^2)
where A is the pipe cross-sectional area and the resistance coefficient K is given by the
Rennels & Hudson (2012) smooth-bend correlation
(K_smoothBend),
combining an arc-friction term, the primary turning loss, and a secondary-flow (Dean-vortex) term. The Darcy
friction factor used in the friction terms is evaluated from the existing single-phase 2-region correlation, so wall
roughness and the laminar/turbulent transition (Re_lam, Re_turb) are honoured.
Geometry
dimension– pipe inner diameterD.radius– bend radius of curvaturercmeasured to the pipe centerline; the relative bend radius isrc/D.angle– deflection (turning) angle; defaults to 90°.
Notes / range of validity
The correlation is referenced to the (constant) pipe velocity head and applies to circular cross-sections. It is a turbulent-flow minor-loss correlation; at very low Reynolds number the friction contribution dominates and the model remains well-behaved (the friction factor uses an internal Reynolds-number floor). Flow reversal is supported: the loss always opposes the flow direction.
References
Rennels, D. C. & Hudson, H. M. Pipe Flow: A Practical and Comprehensive Guide. John Wiley & Sons (2012).
Cross-check implementation: Bell, C. fluids (open-source), fluids.fittings.bend_rounded(method="Rennels").
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Angle | angle | Modelica.Constants.pi/2 | Bend deflection (turning) angle |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialResistancenew) | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Visualization | |||
| Boolean | showName (from PartialResistancenew) | true | = false to hide component name |
| Initialization | |||
| SI.MassFlowRate | m_flow_start (from PartialResistancenew) | 0 | Initial mass flow rate |
| Advanced | |||
| SI.MassFlowRate | m_flow_smooth (from PartialResistancenew) | 0.001 | Smoothing tolerance around zero flow rate |
| SI.MassFlowRate | dp_smooth (from PartialResistancenew) | 0.001 | Smoothing tolerance around zero flow rate |
| SI.ReynoldsNumber | Re_lam (from PartialResistancenew) | 2300 | Laminar transition Reynolds number |
| SI.ReynoldsNumber | Re_turb (from PartialResistancenew) | 4000 | Turbulent transition Reynolds number |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_a (from PartialResistanceInterface) | ||
| Interfaces.FluidPort_Flow | port_b (from PartialResistanceInterface) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialResistanceInterface) | ||
| Medium.ThermodynamicState | state_a (from PartialResistancenew) | ||
| Medium.ThermodynamicState | state_b (from PartialResistancenew) | ||
| SI.PressureDifference | dp (from PartialResistancenew) | ||
| SI.MassFlowRate | m_flow (from PartialResistancenew) | ||
| SI.Length | dimension | 0.05 | Pipe inner diameter |
| SI.Length | radius | 1.5*dimension | Bend radius of curvature (to the pipe centerline) |
| SI.Length | roughness | 0 | Average height of surface asperities |
| SI.ReynoldsNumber | Re | Reynolds number | |
| Units.NonDim | K | Minor loss coefficient | |
| SI.Velocity | v | Velocity in the pipe | |
| SI.Area | crossArea | 0.25*Modelica.Constants.pi*dimension^2 | Pipe cross-sectional area |