2D GPU based fire/fluid simulation on 1024 x 768 eulerian grid. Semi Lagrangian advection scheme is used which is discussed in Jos Stam’s “Stable Fluids” [1] paper. I followed “Chapter 38. Fast Fluid Dynamics Simulation on the GPU” article on GPU Gems to implement the fluid solver [2].

A simple combustion scheme and vorticity confinement is integrated to the fluid solver to increase realism. For rendering I integrated Black Body Radiation scheme, to obtain more realistic colors. Hardest part of this project was tuning the parameters of the simulation to obtain the fire flows and colors.

Results:

Simulation runs on real time with constant 60 FPS in 1920 x 1080 eularian grid.

Specs:

GPU: NVIDIA GTX 560TI

CPU: AMD FX6100, 3.6 GHz, 6 core


References:

1 - https://pdfs.semanticscholar.org/0066/4abf8ab223b3f2e2b3c1c9bbda9363d93383.pdf

2 - http://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch38.html