3d ink droplet in water dynamics. Set a new buoyancy value β. This script makes It iterations every time step to calculate pressure. 1283 grid with periodic boundaries. See 2D fluid dynamics for explanations.
|3d droplet is rather slow (7 fps on AMD E-350) and not as impressive as 2d one (due to low resolution may be) but you can watch vortex ring formation (you see to the left: 3d vortex ring XY cross-section and Ux, Uy vector field)|