image thumbnail

2D Lid driven Cavity Flow

version 1.0.0.0 (3.27 KB) by Suraj Shankar
Simulation of the 2D lid driven Cavity Flow of a Newtonian Fluid (laminar flow) using FD.

5.8K Downloads

Updated 10 Sep 2012

View License

Cavity flow is simulated using the pressure correction method on a staggered grid using explicit differencing for the hyperbolic terms (CD, MacCormack and Richtmyer method) while both explicit and implicit methods are considered for the diffusive (parabolic) terms. For the implicit steps, preconditioned matrices are used using LU decomposition. The Pressure Poisson equation is also solved implicitly. Neumann boundary conditions are used for pressure and Dirichlet conditions for the velocity field

Cite As

Suraj Shankar (2022). 2D Lid driven Cavity Flow (https://www.mathworks.com/matlabcentral/fileexchange/38089-2d-lid-driven-cavity-flow), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

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

Start Hunting!