Written in C++, visualization with OpenGL.
Simulation of the Navier-Stokes fluid equations using Semi-Lagrangian integration and a Gauss-Seidel iterative solver.
Smoke density is pumped in on the ground in two locations. Heat is also generated at these locations. Heat buoyancy creates an upward force in the velocity field. The velocity field advects both the density and the heat.
Vortex confinement "reintroduces" small-scale vortex detail into the simulation.
Very nice. Try doing something like SOR (Successive Over-Relaxation) for faster convergence. If you're really ballsy, Multigrid.
jojodi 2 years ago