File Exchange

image thumbnail

Interactive Incompressible Fluids (Karlsson version)

version 1.3.0.0 (14.1 KB) by Stefan Karlsson
An interactive demo of Navier-Stokes equations for incompressible fluids.

6 Downloads

Updated 28 Jan 2016

View License

This is based on and inspired from http://www.mathworks.com/matlabcentral/fileexchange/41081-interactive-incompressible-fluids
following changes are implemented:
- Removes the parallell computing toolbox dependencies.
- implements a different GUI, where number of particles are controlled instead of resolution of underlying flow
- Optimized a great many functions for effeciency (so it can run smoothly, even without the parallel toolbox/GPU)
- Removed many bugs
- slightly different mouse-drag interface to particles
v1.01:
- GUI option: Renderer
v1.02:
- GUI option: Solver, "Simple" or "Alpha"

Updates

1.3.0.0

Added comments to the solver code. No change in code.

1.3.0.0

Added control of grid-size to Gui
Changed the solver code for better readability, added more comments

1.2.0.0

Added another solver, which should be more accurate. Choose it in the GUI.

1.1.0.0

hotfix, uploaded wrong file

1.1.0.0

added control of the figurer renderer to the GUI (choose opengl or zbuffer). This can make a big difference from system to system.

improved the remarks in the code.

improved the display and calculation of CPU miliseconds and FPS

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Interactive Incompressible Fluids