mueller-sph
is a concise 2D implementation of Müller's "Particle-Based Fluid Simulation for Interactive Applications" (SPH) paper in C++. See here for a more recent implementation in Rust including a parallel solver.
Please see the accompanying tutorial for more information.
# install dependencies (debian/ubuntu)
apt install libopengl-dev freeglut3-dev libeigen3-dev
# uncomment header in `Makefile` depending on platform
make
# launch demo
./sph
This project is distributed under the MIT license.