Curvilinear Coordinates Transformation
In many applications of interest (e.g., flow adjacent to a coastal boundary), the fluid may be confined horizontally within an irregular region. In such problems, a horizontal coordinate system which conforms to the irregular lateral boundaries is advantageous. It is often also true in many geophysical problems that the simulated flow fields have regions of enhanced structure (e.g., boundary currents or fronts) which occupy a relatively small fraction of the physical/computational domain. In these problems, added efficiency can be gained by placing more computational resolution in such regions.
The requirement for a boundary-following coordinate system and for a laterally variable grid resolution can both be met, for suitably smooth domains, by introducing an appropriate orthogonal coordinate transformation in the horizontal. Let the new coordinates be and , where the relationship of horizontal arc length () to the differential distance is given by:
Here, and are the scale factors which relate the differential distances to the actual (physical) arc lengths. Curvilinear Coordinates contains the curvilinear version of several common vector quantities.
Denoting the velocity components in the new coordinate system by
the equations of motion can be re-written (see, e.g., Arakawa and Lamb, 1977) as:
All boundary conditions remain unchanged.