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
| Name | Domain |
|---|---|
a | hydraulic |
b | hydraulic |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
p_crack | Pa | 100000 | 0 to ∞ | Cracking pressure |
p_range | Pa | 100000 | 0 to ∞ | Pressure rise from cracking to fully open |
G | m3/s.Pa | 1e-9 | 0 to ∞ | Conductance when fully open |
G_leak | m3/s.Pa | 1e-15 | 0 to ∞ | Conductance when closed |
Variables
| Name | Unit |
|---|---|
dp | Pa |
q | m3/s |
x | 1 |
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