This project is a spin-off from the modelling work I did for my undergraduate dissertation. The model aims to represent an incompressible fluid, in a computationally quick but physically realistic manner.

The water is simulated using a vector field, the arrows represent the direction and speed of flow at a particular point in the simulation and the particles act as tracers for individual molecules of the fluid.

The method I used is based on work done by Jos Stam, his original document can be found here.

Try it yourself: FluidApp.jar

Source code (MIT License): Github