Numerical simulation using an explicit projection method of the lid driven cavity flow at Re=400.
On the left is the magnitude of the velocity shown, while on the right the horizontal velocity through the center line is compared with the results from Ghia.
dx = 0.0078125
dy = 0.0078125
dt = 0.0005
mu = 0.0025
rho = 1.0