This chapter considers two ways of employing a spatial resolution that varies with position within a finite-difference method: using a nonuniform grid and mapping to a new coordinate variable. It first provides an overview of nonuniform grids before discussing coordinate mapping as an alternative way of achieving spatial discretization. It then describes an approach for treating both the vertical and horizontal directions with simple finite-difference methods: defining a streamfunction, which automatically satisfies mass conservation, and solving for vorticity via the curl of the momentum conservation equation. It also explains the use of the Chebyshev–Fourier method to simulate the convection or gravity wave problem by employing spectral methods in both the horizontal and vertical directions. Finally, it looks at the basic ideas and some issues that need to be addressed with respect to parallel processing as well as choices that need to be made when designing a parallel code.
Keywords: spatial resolution, finite-difference method, nonuniform grid, coordinate mapping, spatial discretization, Chebyshev–Fourier method, convection, spectral method, parallel processing, parallel code
University Press Scholarship Online requires a subscription or purchase to access the full text of books within the service. Public users can however freely search the site and view the abstracts and keywords for each book and chapter.
If you think you should have access to this title, please contact your librarian.
To troubleshoot, please check our FAQs, and if you can't find the answer there, please contact us .