This project implements the most basic fluid simulation:
- All physics properties are defined in centered-grid
- Linear equations are solved with Gauss-Seidel method
- Single thread but good performance
Download windows build
Click on screen to add random momentum
Press key to set different modes(which physical quantity to show):
| key | mode |
|---|---|
| 'd' | dye |
| 'v' | velocity |
| 'p' | pressure |
| 'r' | reset |
External package required:
- GLFW
- OpenGL
- Eigen3
Build tool: CMake
- MAC grid
- Vortex Confinement
- Better large-scale linear equation solver
- Calculate on GPU