Main Content

Gate Valve (IL)

Gate valve in an isothermal liquid system

  • Gate Valve (IL) block

Libraries:
Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Flow Control Valves

Description

The Gate Valve (IL) block represents flow control by a gate valve in an isothermal liquid network. The valve comprises a round, sharp-edged orifice and a round gate with the same diameter. The gate opens or closes according to the displacement signal at port S. A positive signal retracts the gate and opens the valve.

Opening Area

Gate Valve Opening Schematic

The area open to flow as the gate retracts is:

Aopen=πd024Ashielded,

where d0 is the Valve orifice diameter. The area shielded by the gate in a partially open valve is:

Ashielded=d022cos1(Δld0)Δl2d02(Δl)2,

where Δl is the gate displacement, which is the sum of the signal at port S and the Gate position when fully covering orifice.

If displacement exceeds the Orifice diameter, the valve area Aopen is the sum of the maximum orifice area and the Leakage area:

Aopen=π4d02+Aleak.

For any combination of the signal at port S and the gate offset that is less than 0, the minimum valve area is the Leakage area.

Numerically Smoothed Displacement

When the valve is in a near-open or near-closed position, you can maintain numerical robustness in your simulation by adjusting the Smoothing factor parameter. If the Smoothing factor parameter is nonzero, the block smoothly saturates the gate displacement between 0 and the Valve orifice diameter parameter. For more information, see Numerical Smoothing.

Mass Flow Rate Equation

Mass is conserved through the valve:

m˙A+m˙B=0.

The mass flow rate through the valve is calculated as:

m˙=CdAvalve2ρ¯PRloss(1(AvalveAport)2)Δp[Δp2+Δpcrit2]1/4,

where:

  • Cd is the Discharge coefficient.

  • Avalve is the 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 pApB.

The critical pressure difference, Δpcrit, is the pressure differential associated with the Critical Reynolds number, Recrit, which is the flow regime transition point between laminar and turbulent flow:

Δpcrit=πρ¯8Avalve(νRecritCd)2.

Pressure loss describes the reduction of pressure in the valve due to a decrease in area. PRloss is calculated as:

PRloss=1(AvalveAport)2(1Cd2)CdAvalveAport1(AvalveAport)2(1Cd2)+CdAvalveAport.

Pressure recovery describes the positive pressure change in the valve due to an increase in area. If you do not want to capture this increase in pressure, clear the Pressure recovery check box. In this case, PRloss is 1.

Examples

expand all

This example uses test harnesses to compare the Ball Valve (IL), Gate Valve (IL), and Poppet Valve (IL) blocks. A test harness is a minimum viable model that you can use to parameterize blocks or isolate dynamics.

Model

Simulation Results from Scopes

This figure shows the mass flow rate through each of the valves. All three valves start closed and slowly open before reaching their maximum area. At the maximum area, the mass flow rate also reaches its maximum and cannot increase further. Each curve has a different profile while opening because each valve has a different area profile that depends on the valve geometry.

Ports

Input

expand all

Physical signal port associated with the valve gate displacement, in m. A positive signal retracts the gate and opens the valve.

Conserving

expand all

Isothermal liquid conserving port associated with valve inlet A.

Isothermal liquid conserving port associated with valve inlet B.

Parameters

expand all

Valve open-area diameter.

Gate offset when the valve is closed. A positive, nonzero value indicates a partially open valve when the signal at port S is 0. A negative, nonzero value indicates an overlapped valve that remains closed for an initial positive displacement set by the physical signal at port S.

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.

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 orifice.

Correction factor accounting for discharge losses in theoretical flows.

Upper Reynolds number limit for laminar flow through the valve.

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.

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.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020a