Needle Valve (IL)
Needle valve in an isothermal liquid system
Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Flow Control Valves
The Needle Valve (IL) block models flow reductions by a needle valve. The valve comprises a conical needle and a round, sharp-edged seat. The needle opens or closes according to the displacement signal at port S. A positive signal retracts the needle and opens the valve.
Needle Valve Schematic
Needle Valve Top View
The opening area of the valve is calculated as:
h is the vertical distance between the outer edge of the needle and the seat, as indicated in the schematic above.
θ is the seat cone angle, which always matches the Needle cone angle.
d0 is the Seat orifice diameter.
Aleak is the Leakage area.
The opening area is bounded by the maximum displacement hmax:
For any needle displacement larger than hmax, Aopen is the sum of the maximum orifice area and the Leakage area:
For any combination of the signal at port S and the needle offset that is less than 0, the minimum valve area is the Leakage area.
If the Smoothing factor parameter is nonzero, the block smoothly
saturates the displacement between
hmax. For more information, see
Mass Flow Rate Equation
Mass is conserved through the valve:
The mass flow rate through the valve is calculated as:
Cd is the Discharge coefficient.
Avalve is the instantaneous valve open area.
Aport is the Cross-sectional area at ports A and B.
is the average fluid density.
Δp is the valve pressure difference pA – pB.
The critical pressure difference, Δpcrit, is the pressure differential associated with the Critical Reynolds number, Recrit, the flow regime transition point between laminar and turbulent flow:
Pressure loss describes the reduction of pressure in the valve due to a decrease in area. PRloss is calculated as:
Pressure recovery describes the positive pressure change in the valve due to an increase in area. If you do not wish to capture this increase in pressure, clear the Pressure recovery check box. In this case, PRloss is 1.
A — Liquid port
Liquid entry or exit port to the valve.
B — Liquid port
Liquid entry or exit port to the valve.
S — Needle displacement, m
Control member displacement in m, specified as a physical signal. A positive signal retracts the needle and opens the valve.
Seat orifice diameter — Diameter of seat
5e-3 m (default) | positive scalar
Diameter of the seat orifice.
Needle cone angle — Control member geometry angle
90 deg (default) | positive scalar
Control member geometry angle. Refer to the Needle Valve Schematic in the valve description.
Needle position when in the seat — Needle offset
0 m (default) | scalar
Needle offset when the valve is closed. A positive, nonzero value indicates a partially open valve. A negative, nonzero value indicates an overlapped valve that remains closed for an initial displacement set by the physical signal at port S.
Leakage area — Gap area when in fully closed position
1e-10 m^2 (default) | positive scalar
Sum of all gaps when the valve is in the fully closed position. Any area smaller than this value is saturated to the specified leakage area. This contributes to numerical stability by maintaining continuity in the flow.
Cross-sectional area at ports A and B — Area at conserving ports
inf m^2 (default) | positive scalar
Areas at the entry and exit ports A and B, which are used in the pressure-flow rate equation that determines the mass flow rate through the valve.
Discharge coefficient — Discharge coefficient
0.64 (default) | positive scalar
Correction factor accounting for discharge losses in theoretical flows.
Critical Reynolds number — Upper Reynolds number limit for laminar flow
150 (default) | positive scalar
Upper Reynolds number limit for laminar flow through the orifice.
Smoothing factor — Numerical smoothing factor
0.01 (default) | positive scalar in the range [0,1]
Continuous smoothing factor that introduces a layer of gradual change to the flow response when the valve is in near-open or near-closed positions. Set this value to a nonzero value less than one to increase the stability of your simulation in these regimes.
Pressure recovery — Whether to account for pressure increase in area expansions
off (default) |
Whether to account for pressure increase when fluid flows from a region of smaller cross-sectional area to a region of larger cross-sectional area.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2020a