Skip to content

2D Fluid Simulation Sandbox - Mini Project for the UU Game Physics course

Notifications You must be signed in to change notification settings

jan-van-bergen/FluidSim

Repository files navigation

Fluid Simulation Sandbox

2D semi-Lagrangian fluid solver based on "Stable Fluids" solver by Jos Stam.

Users can interact in real-time with the fluid, using various controls. We also provide various render modes to provide users a better understanding of what is going on within the simulation.

Features

  • Real time fluid interaction.
  • External forces such as gravity and buoyancy.
  • Internal boundaries that you can draw.
  • Vorticity confinement
  • OpenMP parallel code

Screenshots

Density Render Mode

Density

Windtunnel Obstacle

Windtunnel Obstacle

Windtunnel

Windtunnel

Temperature into Obstacle

Obstacle

Temperature Render Mode

Fire

Velocity Render Mode

Motion

Dependencies

  • SDL 2
  • GLEW
  • Dear Imgui
  • glm

Building the Project

Headers and lib's are included in the project and should work out of the box.

About

2D Fluid Simulation Sandbox - Mini Project for the UU Game Physics course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages