In my bachelor thesis I implemented a framework to simulate water in CUDA.
I used the particle-in-cell method and its variants which combine a particle-based and a grid-based representation of the water.
This leads to a more accurate and efficient simulation.
To reduce the number of particles this hybrid approach is coupled with a pure grid-based simulation.
This means, that particles are only used at the surface while the interior of the water is solely modeled by a grid.
• Lars Günther