next up previous contents
Next: Grid Up: SUNTANS Examples Previous: Running the test   Contents

Cavity flow

The cavity flow example (examples/cavity) provides a means to test advection of momentum, no-slip boundary conditions, and rigid lid conditions. There are two examples, testXY and testXZ which comprise a cavity flow simulation in the XY and XZ planes, respectively. The testXY example demonstrates use of a stretched grid and no-slip boundary conditions. The testXZ example shows usage of the no-slip boundary condition as a means to force flows within the domain and highlights the utility of a rigid lid computation. These cases provide a starting point for examination of the effect of numerical methods employed on balances between the nonlinear advection of momentum, the pressure gradient, and viscous dissipation.