Open tank
hydraulic.open_tank
Tank open to the atmosphere with a port at the bottom. The pressure at the port is rho g h; flow into the port raises the level.
Ports
| Name | Domain |
|---|---|
port | hydraulic |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
A | m2 | 1 | 0 to ∞ | Cross-section area |
rho | kg/m3 | 1000 | 0 to ∞ | Liquid density |
g | m/s2 | 9.81 | 0 to ∞ | Gravity |
h0 | m | 1 | 0 to ∞ | Liquid level at the start |
Variables
| Name | Unit | Start |
|---|---|---|
h | m | h0 |
Equations
port.p = rho * g * h A * der(h) = port.q