Lock-exchange flow (source code)

= Lock-exchange flow
{wiki}

Removing a barrier between fluids of different densities creates oppositely directed gravity currents. In an energy-conserving Boussinesq exchange through a full-depth opening, each layer occupies half the depth.