2D Lid Driven Cavity Flow Solver

A fast and short Matlab code to solve the lid driven cavity flow problem using the vorticity-stream function formulation.

You are now following this Submission

A fast (fully vectorized) and short (50 line) Matlab code to solve the lid driven cavity flow problem using the vorticity-stream function formulation. The theory behind this code can be found below at the following link.

https://drive.google.com/file/d/1DSGt6Y8QkYMoTSE_3lZzcQYf2Kogx4Pr/view?usp=sharing

Cite As

Joe Molvar (2026). 2D Lid Driven Cavity Flow Solver (https://in.mathworks.com/matlabcentral/fileexchange/77025-2d-lid-driven-cavity-flow-solver), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Fixed Name

1.0.0