Skip to content

diningeachox/StamFluidSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Implementation of Jos Stam's Stable Fluid Solver

Jos Stam's seminal paper in fluid simulation provided a stable (meaning that the flows don't blow up) way to simulate the Navier-Stokes equations of a fluid. This implementation was written in C++ and rendered using OpenGL.

Usage

  • Right-mouse: drop coloured dye into the fluid
  • Left-mouse: move the fluid around
  • Q: switch to red dye
  • W: switch to green dye
  • E: switch to blue dye

Packages required

  • OpenGL (glew, glfw)

Video

fluid.mp4

About

A fluid simulation implemented in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published