Skip to content

Repository files navigation

Building

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-shell

And now build the project:

mkdir build && cd build
cmake ..
cmake --build .

Usage

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

Acknowledgments / References

About

OpenGL fluid simulation using Navier-Stokes momentum equations

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages