CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Wiki > Lid-driven cavity problem

Lid-driven cavity problem

From CFD-Wiki

Jump to: navigation, search

Contents

Introduction

The lid-driven cavity problem has long been used a test or validation case for new codes or new solution methods. The problem geometry is simple and two-dimensional, and the boundary conditions are also simple. The standard case is fluid contained in a square domain with Dirichlet boundary conditions on all sides, with three stationary sides and one moving side (with velocity tangent to the side).

Ldc geom.png

Similar simulations have also been done at various aspect ratios, and it can also be done with the lid replaced with a moving fluid. This problem is a somewhat different situation, and is usually referred to as the shear-driven cavity. You may see the two names (lid-driven and shear-driven) used interchangeably in spite of the fact that they are distinct (and different) problems.

This problem has been solved as both a laminar flow and a turbulent flow, and many different numerical techniques have been used to compute these solutions. Since this case has been solved many times, there is a great deal of data to compare with. A good set of data for comparison is the data of Ghia, Ghia, and Shin (1982), since it includes tabular results for various of Reynolds numbers. These simulation results are obtained using a non-primitive variable approach.

This problem is a nice one for testing for several reasons. First, as mentioned above, there is a great deal of literature to compare with. Second, the (laminar) solution is steady. Third, the boundary conditions are simple and compatible with most numerical approaches. Note that this is not necessarily the case for finite element methods, in which difficulties may arise at the corner intersections of the moving wall and the stationary wall.

Sample results

Shown below are a few results from a simulation of the lid-driven cavity (for a Reynolds number of one hundred) using the commercial Fluent code.

V&tc liddriven fluentu.png

The 32x32 uniform grid used here is somewhat coarse, as can be seen in the upper left and right corners of the contour plot. Increasing the grid resolution would improve the look of the contour plot somewhat, but since the boundary conditions are not smooth at these corners we will probably always have some issues there. In spite of these issues, we do a reasonable job matching the Ghia et al (1982) results, as shown below.

V&tc liddriven ggsu.png

Here we have plotted u/U on the vertical line x/L = 0.5. We have reasonably good agreement with the previous results.

References

Ghia, Ghia, and Shin (1982), "High-Re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method", Journal of Computational Physics, Vol. 48, pp. 387-411.

Additional references

Bozeman and Dalton (1973), "Numerical Study of viscous flow in a cavity", Journal of Computational Physics, Vol. 12, pp. 348-363.

Burgaff (1966), "Analytical and Numerical studies of the structures of steady separated flows", JFM, Vol. 24, pp. 113-151.

Erturk, Corke, and Gokcol (2005), "Numerical Solutions of 2-D Steady Incompressible Driven Cavity Flow at High Reynolds Numbers", International Journal for Numerical Methods in Fluids, Vol. 48, pp. 747-774.

Need more references that involve this problem

Additional resources

http://www.cavityflow.com

My wiki