modelExit
Pipe exit loss from a pipe into a large plenum/reservoir (minor loss)
Extends from TRANSFORM.Fluid.FittingsAndResistances.BaseClasses.PartialResistancenew.
Information
Minor-loss resistance for the exit of a pipe discharging into a large plenum/reservoir. The pressure loss is
dp = K*m_flow^2/(2*rho*A^2)
referenced to the pipe velocity head. For a submerged discharge into a large quiescent volume essentially all of the
kinetic energy is dissipated, so K = 1 (default). (Occasionally K≈2 for laminar flow, or
slightly above 1 for turbulent profiles.) The loss opposes the flow (design direction is pipe → plenum). Circular
cross-section.
References
Rennels & Hudson, Pipe Flow: A Practical and Comprehensive Guide (2012); Idelchik, Handbook of Hydraulic Resistance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| 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 |
| Units.NonDim | K | 1.0 | Exit loss coefficient (ref. pipe velocity) |
| SI.Velocity | v | Velocity in the pipe | |
| SI.Area | crossArea | 0.25*Modelica.Constants.pi*dimension^2 | Pipe cross-sectional area |