Smoothed Particle Hydrodynamics (SPH) Fluid Solver in C++

Github

I implemented the SPH based on Eurographics' SPH Fluids in Computer Graphics and Matthias Müller's Particle-Based Fluid Simulation for Interactive Applications.

All the implementation was built from the ground up with external libraries (see Github page's README for more details), including OpenGL, NanoGUI, TBB, and OpenVDB. The SPH solver itself is done on the CPU, but I plan to move it to GPU for performance improvement. More details coming soon.

Renders