modelOrifice
Thin square-edged orifice plate in a pipe (minor loss)
Extends from TRANSFORM.Fluid.FittingsAndResistances.BaseClasses.PartialResistancenew.
Information
Minor-loss resistance for a thin square-edged orifice plate of bore diameter diameter_orifice in a
pipe of diameter dimension. The pressure loss is
dp = K*m_flow^2/(2*rho*A_pipe^2)
with the resistance coefficient referenced to the full-pipe velocity head and given by the Idelchik thin-orifice
correlation (K_thinOrifice),
K = [1 + 0.707√(1-a) - a]²/a² with a = (d_orifice/d_pipe)². Orifices are very
lossy at small openings (a=0.5 → K≈4, a=0.2 → K≈51). Symmetric thin plate – loss is the same in
either flow direction and opposes the flow. Circular cross-section; thin-plate (no bore-length friction).
References
Idelchik, I. E. Handbook of Hydraulic Resistance, Begell House.
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 |
| SI.Length | diameter_orifice | 0.025 | Orifice bore diameter |
| Units.NonDim | K | Minor loss coefficient (ref. full-pipe velocity) | |
| SI.Velocity | v | Velocity in the full pipe | |
| Real | areaRatio | (diameter_orifice/dimension)^2 | Open-area ratio (bore/pipe) |
| SI.Area | crossArea | 0.25*Modelica.Constants.pi*dimension^2 | Full pipe cross-sectional area |