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.
Daniel Armyr (2021). Interactive Incompressible Fluids (https://www.mathworks.com/matlabcentral/fileexchange/41081-interactive-incompressible-fluids), MATLAB Central File Exchange. Retrieved .
There are two CPU labels in the Performance Group on program GUI, and the second should be modified to GPU.
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!
instructive, efficent and fun
Or? It is listed under "Required Products" now at least.
You forgot to mention that the parallel computing toolbox is needed.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!