Check valve

hydraulic.check_valve

Lets fluid pass from a to b only. The opening x rises smoothly from 0 at the cracking pressure to 1 at the cracking pressure plus p_range (cubic smoothstep), and the flow is (G_leak + G x) dp.

Ports

NameDomain
ahydraulic
bhydraulic

Parameters

NameUnitDefaultRangeDescription
p_crackPa1000000 to ∞Cracking pressure
p_rangePa1000000 to ∞Pressure rise from cracking to fully open
Gm3/s.Pa1e-90 to ∞Conductance when fully open
G_leakm3/s.Pa1e-150 to ∞Conductance when closed

Variables

NameUnit
dpPa
qm3/s
x1

Equations

dp = a.p - b.p
0 = a.q + b.q
q = a.q
x = if dp < p_crack then 0 else if dp > p_crack + p_range then 1 else ((dp - p_crack) / p_range)^2 * (3 - 2 * (dp - p_crack) / p_range)
q = (G_leak + G * x) * dp