Code covered by the BSD License  

Highlights from
2D Lid driven Cavity Flow

5.0

5.0 | 3 ratings Rate this file 79 Downloads (last 30 days) File Size: 3.27 KB File ID: #38089
image thumbnail

2D Lid driven Cavity Flow

by

 

Simulation of the 2D lid driven Cavity Flow of a Newtonian Fluid (laminar flow) using FD.

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
18 Jul 2014 Zoltán Csáti

What is the highest Re number, this code can cope with?

19 Feb 2014 scott  
19 Feb 2014 scott  
05 Sep 2013 Suraj Shankar

The code is meant to be pedagogical in nature and has been made in line with the 12-steps to Navier-Stokes practical module, for which I would like to credit Lorena Barba and her online course on CFD.

23 Oct 2012 Suraj Shankar

Thanks!

15 Oct 2012 Mike

very good

Contact us