This tutorial shows how to use SeaGrid, a Matlab-5 program for constructing an orthogonal, curvilinear grid, suitable for oceanographic modeling.
Follow these instructions to reproduce the figures shown below. Generally speaking, the operations can be performed in any order that makes sense.
(Note: The grids shown here are not quite orthogonal throughout, owing to the simple Fourier/Poisson solver that was used on the Macintosh that made these JPEG pictures. The Unix and PCWIN versions, implemented through FORTRAN Mex-files, show better orthogonality. The figures may also display clashing colors, because the graphical layers were superimposed with the "xor" drawing mode.)