Fluid Simulation

Just came across a very cool looking fluid simulation using DX11/DirectCompute, by Jan Vlietinck. It solves solves the Navier- Stokes differential equations to simulate an incompressible fluid, using either a Semi-Lagrangian scheme or the second order MacCormack technique.

On the rendering side, ray marching on the 200x200x200 volume shows the amplitude of the maximum speed vectors:

A demo, including source code, can be found at the author’s website: