View License

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

» Watch video

Highlights from
Fast Euler and Navier-Stokes fluid flow simulation

4.0 | 3 ratings Rate this file 28 Downloads (last 30 days) File Size: 4.3 KB File ID: #29158 Version: 1.0
image thumbnail

Fast Euler and Navier-Stokes fluid flow simulation



Three m-files to realize easily simulations of fluid flow in a rectangular cavity.

| Watch this File

File Information

Here are two examples of videos:

The colors show the vorticity of the flow.
Enter the command line:
where L and l are the width and height of the box containing the fluid and lambda_max is an integer that will be used to determine the number of degrees of freedom (the larger it is, the better the simulation will be but the longer the computation will last). As a first guess, you can try : l = 4, L = 3 and lambda_max = 60.
Once the computation is done, enter:
film = graph_flow_euler
to make a Matlab movie.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
25 Apr 2016 Oluwafunminiyi Awe


11 Mar 2015 Sonya Lyatsky

12 Jul 2011 Richard Stephens

It works and the results are beautiful, but I've no idea what I'm looking at. Some description please!

Contact us