Tanks#
Classes for tank management and free surface effects.
Tank#
- class Tank#
A tank with fluid management capabilities.
- static from_box(name, x_min, x_max, y_min, y_max, z_min, z_max, fluid_density)#
Creates a box-shaped tank.
- Parameters:
name – Tank name
x_min – Minimum x coordinate
x_max – Maximum x coordinate
y_min – Minimum y coordinate
y_max – Maximum y coordinate
z_min – Minimum z coordinate
z_max – Maximum z coordinate
fluid_density – Fluid density in kg/m³
Properties
Fill State
Center of Gravity
Free Surface Moments