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

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal (from PartialResistancenew)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Visualization
BooleanshowName (from PartialResistancenew)true= false to hide component name
Initialization
SI.MassFlowRatem_flow_start (from PartialResistancenew)0Initial mass flow rate
Advanced
SI.MassFlowRatem_flow_smooth (from PartialResistancenew)0.001Smoothing tolerance around zero flow rate
SI.MassFlowRatedp_smooth (from PartialResistancenew)0.001Smoothing tolerance around zero flow rate
SI.ReynoldsNumberRe_lam (from PartialResistancenew)2300Laminar transition Reynolds number
SI.ReynoldsNumberRe_turb (from PartialResistancenew)4000Turbulent transition Reynolds number

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Flowport_a (from PartialResistanceInterface)
Interfaces.FluidPort_Flowport_b (from PartialResistanceInterface)

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate (from PartialResistanceInterface)
Medium.ThermodynamicStatestate_a (from PartialResistancenew)
Medium.ThermodynamicStatestate_b (from PartialResistancenew)
SI.PressureDifferencedp (from PartialResistancenew)
SI.MassFlowRatem_flow (from PartialResistancenew)
SI.Lengthdimension0.05Pipe inner diameter
Units.NonDimK1.0Exit loss coefficient (ref. pipe velocity)
SI.VelocityvVelocity in the pipe
SI.AreacrossArea0.25*Modelica.Constants.pi*dimension^2Pipe cross-sectional area