GPU-Based Smoothed Particle Hydrodynamics With CUDA

A video demonstrating my GPU-based Smoothed Particle Hydrodynamics (SPH) implementation using CUDA to achieve extremely high performance. The video shows the real-time performance of the implementation, more than 100 FPS (dt=0.002) is achieved on a NVIDIA Geforce GTX 470 (Fermi). In this scene a water-like fluid is simulated using a SPH model described by Mueller in “Particle-Based Fluid Simulation for Interactive Applications”. Test scene 3, 128K particles and hue-based color gradient for particle velocity. This work is part of my masters thesis in computer science at NTNU (Norwegian University of Science and Technology).

- NTNU HPC-lab website:
- The code and my masters thesis can be found at

There’s a thread about this demo on OGRE forums: GPU-based Smoothed Particle Hydrodynamics.

Geeky picture: Dr. Elster (HPC-LAB) opening the NVIDIA s1070
Geeky picture: Dr. Elster (HPC-LAB) opening the NVIDIA s1070 (see the big version HERE)


↑ Grab this Headline Animator