Once the viscosity coefficients have been computed, either from some a priori profile or using a scheme such as that of Smagorinsky (Section 33.7), the new metric terms (Section 9.8) arising from the non-constant viscosity coefficient must be computed. The discretization of the new metric terms, which are located at the center of the U-cell, is given schematically by
| = | (34.71) | ||
| = | ![]() |
(34.72) |
Recall that the finite difference operators
and
absorb one factor of the earth's radius a. The
averaging performed on the viscosity coefficients assumes they are
defined on the corners of the U-cell. This is the natural positioning
of these coefficients when employing the Smagorinsky scheme (see
Section 33.7), and so the same positioning is
employed in the general case described here. Note the presence of
computational modes in the discretization of the velocity gradients.
Again, they are of no consequence since the discretization of the
corresponding Laplacian acts on all waves, thus eliminating the
potential for this splitting in the metric terms to be harmful.