modelEntrance

Pipe entrance loss from a large plenum/reservoir into a pipe (minor loss)

Extends from TRANSFORM.Fluid.FittingsAndResistances.BaseClasses.PartialResistancenew.

Information

Minor-loss resistance for the entrance of a pipe drawing from a large plenum/reservoir. The pressure loss is

dp = K*m_flow^2/(2*rho*A^2)

referenced to the pipe velocity head, with a user-supplied entrance loss coefficient K. Typical values:

  • sharp-edged (flush): K ≈ 0.5 (Idelchik/Crane) – default; Rennels recommends 0.57;
  • slightly rounded: K ≈ 0.2–0.25; well-rounded / bellmouth: K ≈ 0.03–0.05;
  • re-entrant (Borda, protruding): K ≈ 0.78–1.0;
  • beveled (45°, moderate): K ≈ 0.2–0.3.

The loss opposes the flow (design direction is plenum → pipe). Circular cross-section.

References

Idelchik, I. E. Handbook of Hydraulic Resistance, Begell House; Rennels & Hudson, Pipe Flow (2012).

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.NonDimK0.5Entrance loss coefficient (ref. pipe velocity)
SI.VelocityvVelocity in the pipe
SI.AreacrossArea0.25*Modelica.Constants.pi*dimension^2Pipe cross-sectional area