2D Navier-Stokes explicit solver (MAC method)
Version 1.0.0.0 (3.51 KB) by
lorenzo donadio
solution of the Navier-stokes equation
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 (2026). 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 LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |