lab8&9-3.pptx

9
Lab 8&9 Issues in the numerical simulation of the lid- driven cavity

Transcript of lab8&9-3.pptx

Page 1: lab8&9-3.pptx

Lab 8&9

Issues in the numerical simulation of the lid-driven cavity

Page 2: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:

a) Plot the streamlines in the cavity at increasing # of CVs, for Re = 1000;

Page 3: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:b) Plot the velocity profiles at the vertical centerline of the cavity at increasing # of CVs, for Re = 1000;

Page 4: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:c) Plot the streamlines in the cavity at different Re for a given # of CVs;

In this case: CV = 60x60

Page 5: lab8&9-3.pptx
Page 6: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:d) Plot the velocity profiles at the vertical centerline of the cavity at different Re for a given # of CVs; In this case: CV = 60x60

Page 7: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:

e) For Re = 1000, check the convergence of the algorithm on the strength of the primary and secondary vortices as a function of the # of CVs, and on the mesh spacing, trying to use also different spatial discretization schemes;

Page 8: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:

f) For Re = 1000 and for a staggered 32x32 CV grid, plot the number of outer iterations required to reduce the residual level in all equations by three orders of magnitude, as a function of αP (and for different values of αu). Redo the study for a colocated grid.

Page 9: lab8&9-3.pptx

Use the script cavity.m to solve the Navier-Stokes equations in a lid-driven cavity:

g) For Re = 1000 and for a staggered 32x32 CV grid, plot the number of outer iterations required to reduce the residual level in all equations by three orders of magnitude, as a function of α U. Redo the study for a colocated grid.