Check valve in an isothermal system
Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Directional Control Valves

The Check Valve (IL) block models the flow through a valve from port A to port B, and restricts flow from traveling from port B to port A. When the pressure at port B meets or exceeds the set pressure threshold, the valve begins to open.
You can enable faulty behavior by setting Enable faults to
On.
There are two options for valve control:
When Opening pressure differential is set to
Pressure differential, the control
pressure is the pressure differential between ports
A and B. The valve begins
to open when Pcontrol meets or
exceeds the Cracking pressure differential.
When Opening pressure differential is set to
Pressure at port A, the control pressure
is the pressure difference between port A and
atmospheric pressure. When
Pcontrol meets or exceeds
the Cracking pressure (gauge), the valve begins to
open.
Mass is conserved through the valve:
The mass flow rate through the valve is calculated as:
where:
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, set the Pressure recovery to
Off. In this case,
PRloss is 1.
The linear parameterization of the valve area is
where the normalized pressure,, is
If opening dynamics are modeled, a lag is introduced to the flow response to the modeled control pressure. pcontrol becomes the dynamic control pressure, pdyn; otherwise, pcontrol is the steady-state pressure. The instantaneous change in dynamic control pressure is calculated based on the Opening time constant, τ:
By default, Opening dynamics is set to
Off.
At the extremes of the control pressure range, you can maintain numerical robustness in your simulation by adjusting the block Smoothing factor. A smoothing function is applied to every calculated control pressure, but primarily influences the simulation at the extremes of this range.
The Smoothing factor, s, is applied to the normalized pressure, :
and the smoothed pressure is:
When faults are enabled, the valve open area becomes stuck at a specified value in response to one or both of these triggers:
Simulation time — Faulting occurs at a specified time.
Simulation behavior — Faulting occurs in response to an external trigger. This exposes port T.
Three fault options are available in the Opening area when faulted parameter:
Closed — The valve area freezes at
the Leakage area.
Open — The valve area freezes at the
Maximum opening area.
Maintain at last value — The valve
freezes at the open area when the trigger occurs.
Once triggered, the valve remains at the faulted area for the rest of the simulation.
You can set the block to issue a fault report as a warning or error message in the Simulink Diagnostic Viewer with the Reporting when fault occurs parameter.
Counterbalance Valve (IL) | Pilot-Operated Check Valve (IL) | Pressure Compensator Valve (IL) | Pressure Relief Valve (IL)