Smooth Particle Hydrodynamics Simulation

This was my major second year programming project. This is a water simulation that uses real Navier Stokes equations and is written in C++ and OpenGL. I implemented a hash to optimise the performance and s an extra to this project I added a feature so that you can import a mesh to fill with particles and watch it dissolve. Sadly as this simulation does all the calculation on the CPU it maxis out at about 3-5 thousand particles. In the future I hope to port this simulation to the GPU to send the particle limit to the tens of thousands.

Overall grade – 1st class

Documentation and source code download 

Git Repo (Likely to be around for longer)