File Exchange

image thumbnail

Interactive Incompressible Fluids

version (881 KB) by

A GPU-enabled interactive demo of Navier-Stokes equations for incompressible fluids.



View License

An interactive GUI showing particles flowing in a liquid field described by Navier-Stokes equations for incompressible fluids. Click and drag with the mouse to add forces to the liquid. Uses Jos Stam's unconditionally stable FFT-based algorithm implemented in MATLAB Code for real-time performance.

Comments and Ratings (6)

Stefan Karlsson

Stefan Karlsson (view profile)


I uploaded a version that does not require the parallel computing toolbox, and that has adressed some bugs and more optimized for performance.

The bugs are computational, in the sense that there are inaccuracies that shouldnt be here. Most noticeably there are boundary effects, and interpolation errors.

May I say again what a nice submission this is!
Cheers, Stefan

Stefan Karlsson

Stefan Karlsson (view profile)

instructive, efficent and fun


Fayazr (view profile)

Daniel Armyr

Daniel Armyr (view profile)

Or? It is listed under "Required Products" now at least.


Andreas (view profile)

You forgot to mention that the parallel computing toolbox is needed.

Paul Kassebaum

Paul Kassebaum (view profile)


Updated license

MATLAB Release
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today