Daniel Elliott

2D Fluid Simulation in c++

I have successfully implemented a 2D Fluid simulator using information from Jos Stam’s stable fluids paper and Robert Bridson’s Book ‘Fluid Simulation for Computer Graphics’ (Siggraph course notes that the book is based on is here).

It currently does basic boundary condition on a MAC Grid, Semi-Lagrangian Advection, MackCormack Advection, BFECC Advection with a simple jacobi pressure solve. It’s parallelised with OpenMP directives. The code is up on github here¬†and I’m happy to answer questions on how it works if you are interested in fluid simulation.

Leave a Reply

Your email address will not be published. Required fields are marked *