fluid-particles
Real-time SPH fluid simulation and rendering via GPU raycasting
... explains detailed a straightforward CPU-executed implementation of the simulation, as well as an entirely GPU-executed visualization technique using isosurface raycasting, which allows the realtime rendering of multiple refractions. Theoretical foundations and alternative techniques are presented where it seems appropriate.