Assignment-3-Lid Driven Cavity
Assignment-3-Lid Driven Cavity
1. The present task is to provide numerical solution of a steady flow within a square cavity, where the
top lid is moving to the right at a constant velocity. The following figure shows a sample solution for
Re=100 with central difference scheme. The Reynolds number is defined as Re = ρUlid L/µ, where Ulid
is the top lid velocity (1m/s) and L is the cavity height.
0.8
U=V=0
U=V=0
0.6
Y
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2
U=V=0 X
The flow field can be solved by the continuity and Navier-Stokes equations (ρ = constant):
∂ρU ∂ρV
+ =0
∂x ∂y
2. Programming languages