Processing implementation of fluid dynamics based on the Navier Stokes Equations. Dynamic obstacles, a flame effect and multiple boundary conditions were implemented.
Based on Stam's 2003 GDC talk:
http://www.dgp.toronto.edu/people/sta...
Link to code (GPLv3 licensed) : https://github.com/df3n5/fluidy_demo