To get started, clone this repository with all the submodules:
git clone --recurse-submodules https://github.com/f01zy/Fluid-Simulation fluid-simulation && cd fluid-simulation If you have NixOS then run the nix-shell to load wayland, X11 and OpenGL dependencies:
nix-shellAnd now build the project:
mkdir build && cd build
cmake ..
cmake --build .You can change the simulation settings in settings.json. Also you can generate particles cube by scripts/generate_particles.py script. then just run the simulation:
./fluid-simulation settings.json- Chand T. John, "Physics-Based Simulation & Animation of Fluids".