Academia.eduAcademia.edu

Fig. 6. Treatment of boundary velocities.  Although conceptually elegant, the staggered grid formulation can be an indexing nightmare for the programmer. This is where the spreadsheet solution becomes pedagogically useful. Students can set up the staggered grid in a visibly clear fashion on the spreadsheet, and use cell formatting o distinguish between u, v, and p grid points. Once he finite difference equations have been entered for one u, v, and p grid point, they can be simply copied to the remaining interior points.

Figure 6 Treatment of boundary velocities. Although conceptually elegant, the staggered grid formulation can be an indexing nightmare for the programmer. This is where the spreadsheet solution becomes pedagogically useful. Students can set up the staggered grid in a visibly clear fashion on the spreadsheet, and use cell formatting o distinguish between u, v, and p grid points. Once he finite difference equations have been entered for one u, v, and p grid point, they can be simply copied to the remaining interior points.