2D Navier-Stokes explicit solver (MAC method)

solution of the Navier-stokes equation
690 Downloads
Updated 22 Oct 2017

View License

Simple code solving the driven lid cavity problem of the Navier-stokes equations, using the MAC formulation on a staggered grid, fully explicit method.
Video where I explain the code in detail:
https://www.youtube.com/watch?v=lvS9NkZj1mo&t=0s

Cite As

lorenzo donadio (2025). 2D Navier-Stokes explicit solver (MAC method) (https://au.mathworks.com/matlabcentral/fileexchange/64812-2d-navier-stokes-explicit-solver-mac-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0