2D Navier-Stokes explicit solver (MAC method)

solution of the Navier-stokes equation

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/64812-2d-navier-stokes-explicit-solver-mac-method), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0