This shows a classic dam break experiment with one million constraint fluid particles representing water. The conjugate gradient solver is in OpenCL and optimized for GPU, and runs at ~3-4 frames per second on an Nvidia 480 GTX. When producing a 30 fps video, only 10 in between steps are required thanks to the stability of the variational integrator.
All Comments