Skip to content

dspivak01/2D_fluid_simulation

 
 

Repository files navigation

🌊 2D fluid simulation

Release Language Libraries Size Open Source


This program approximates the solutions of the Navier-Stokes equations to simulate the behavior of a fluid in 2D. It can be shaken with the mouse in real time.


⚠️ This repository contains submodules, add --recurse-submodules when cloning ⚠️



📋 Summary


✨ Features

  • A menu to control the simulation

  • Different layers to display (dye, velocity, pressure...)

  • You can choose the resolution of the grid

  • You can change the strength of the vorticity confinement and the mouse forces

  • You can choose the number of iterations for the solver


🛠️ Install

🦴 Skeleton project install

This repository is based on my Graphics skeleton project, so go see its install part.


🗓️ Releases

If you just want to test the program without editing the source code, go see the Releases.


🧪 Tests


🙏 Credits

About

A program simulating a fluid in 2D.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 68.3%
  • GLSL 24.1%
  • CMake 6.9%
  • Other 0.7%