Simulation of coupled tanks

by Thiago G. Monteiro, Synnøve Nesdal Sandnes and Henrique M. Gaspar (hega @ hials.no), v0.1, Jan 2016.
A Ship Design and Operations Lab App.

Parameters for user input

Area of tank 1 [m2] 1

Area of tank 2 [m2] 0.5

Initial Height of tank 1 [m] 1.5

Initial Height of tank 2 [m] 1.2

Final Height of tank 1 [m] 1.35

Final Height of tank 2 [m] 1.35

Pipe length [m] 30

Pipe diameter [m] 0.3

Pipe roughness [m] 0.0001

Liquid density [kg/m3] 1000

Liquid viscosity 0.0001

Acceleration of Gravity [m/s2] 9.81

Simulation time [s] 1000

Pump Capacity [m3/s] 1000

Problem Scheme

Tanks Problem Scheme

Assumptions

The simulation runs until the desired state (tanks level) is reached. If the desired state occurs beyond the assigned simulation time, just increase the Simulation time parameter.

System flowrate is composed by one component from the static pressure due to the different levels of tanks (non-linear) and another component due to the Pump action (linear).

With a pump capacity of zero the system will equilibrate itself based only on the static pressure.

The only loss considered in the system is due to the fluid flow in the pipe connecting the tanks.

Water level heights in tank 1 and 2 Plot and Flow Rate Plot