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

NameDomain
porthydraulic

Parameters

NameUnitDefaultRangeDescription
Am210 to ∞Cross-section area
rhokg/m310000 to ∞Liquid density
gm/s29.810 to ∞Gravity
h0m10 to ∞Liquid level at the start

Variables

NameUnitStart
hmh0

Equations

port.p = rho * g * h
A * der(h) = port.q