This project is a fluid simulation system for the TU/e course Simulation in Computer Graphics, expanding upon Jos Stam original code and his accompanying paper Real-Time Fluid Dynamics for Games (2003). Our expansion introduces additional features such as vorticity confinement, fixed and movable solid objects, collidable rigid bodies, two-way coupling, and fluids with varying temperatures. The goal of the project is to achieve visually convincing results while maintaining real-time performance.
For a detailed description of the implementation, experiments, and results, see the full report:
Simulation in Computer Graphics - Project 2 Report
Below are some example screenshots from the application:
To build and run this project, you need the following:
- C++17 compatible compiler (e.g., g++, clang++)
- OpenGL development libraries
- GLUT
See compile_how_to.md.
- Toggle vorticity confinement:
r - Toggle temperature simulation:
t - Toggle pressure force:
p - Toggle collisions:
x - Toggle UI info:
i - Add density:
spacebar - Switch to a given scene:
1-5 - Quit application:
q




