1. Introduction
The treatment of terrain in atmospheric numerical models is commonly handled through the use of a terrain-following vertical coordinate. Although this form of vertical coordinate has proven effective in a wide variety of applications, it is recognized that the accuracy in representing the horizontal pressure gradient is diminished above regions of relatively steep terrain, which can potentially produce spurious small-scale circulations (an issue even in large-scale hydrostatic models). To help mitigate these effects, various modifications to the basic terrain-following coordinate formulation have been introduced that more rapidly remove terrain influences in the coordinate surfaces with increasing height. This study describes another alternative for modifying the terrain-following coordinate that may provide some additional benefit in reducing artificial terrain-induced behavior.
In this study, a further modification to the construction of a terrain-following coordinate is proposed that allows more flexible control over terrain influences by directly smoothing the coordinate surfaces to progressively remove smaller-scale terrain structure from these surfaces with increasing height above the ground. This coordinate-surface smoothing can then be combined with a hybrid approach to provide further flexibility in constructing a terrain-following vertical coordinate to enhance numerical accuracy. The description of the approach will be presented in section 2 with a demonstration in section 3 of its performance in comparison with other coordinate formulations for a resting-atmosphere simulation. Section 4 will briefly discuss the sensitivity of the calculation of the horizontal pressure gradients to an alternative numerical representation.
2. Formulation for smoothed terrain-following coordinate surfaces




3. Simulation for a resting atmosphere
To illustrate a practical application of this smoothed terrain-following (STF) coordinate, results will be presented for resting-atmosphere simulations designed to challenge the accuracy of the horizontal pressure-gradient computations. Initializing the model with a horizontally homogeneous thermodynamic sounding, an atmosphere initially at rest should remain motionless throughout the numerical integration. The simulations are conducted for a 2D atmosphere using model numerics as described by Klemp et al. (2007) for a height-based terrain-following coordinate. To accommodate the HTF or STF coordinate, the only modification to these numerics is to allow the metric ∂ζ/∂z to be a function of both x and ζ instead of depending only on x.
Simulations for the prescribed terrain (12) and atmospheric sounding were conducted for several different horizontal and vertical resolutions. These tests indicate that for a given vertical grid structure, the magnitude of evolving artificial circulations is not strongly dependent on the horizontal resolution over the range Δx = 250–1000 m. However, these artificial circulations are found to be highly dependent on the vertical resolution, with amplitudes that decrease dramatically with decreasing Δζ until Δζ reaches about 100 m. This overall behavior suggests that the accuracy of the ∂p/∂ζ term in (13) dominates the accuracy of the horizontal pressure gradient calculation for the terrain slopes and grid regimes tested here (cf. error analysis by Dempsey and Davis 1998). As pointed out by Mahrer (1984), errors in the horizontal pressure gradient may increase particularly when the coordinate slope zx becomes significantly greater than the ratio of the grid increments Δz/Δx. However, for this resting-atmosphere case, artificial circulations remain small (maximum vertical velocities less than 0.1 m s−1 for the BTF case for vertical grids as small as Δζ = 25 m). For the simulations presented here, the grid increments are Δx = 500 m and Δζ = 500 m, with the vertical grid resolution intentionally chosen to be rather coarse to challenge the numerical accuracy. The computational domain dimensions are 200 km in the horizontal with open lateral boundary conditions and zt = 20 km. A small constant eddy diffusion (Km = 10 m2 s−1) is also included to remove small-scale noise that would inevitably be filtered in any practical model applications.
Using the BTF coordinate (1) and the model configuration described above, only about one-quarter of the terrain influence has been removed at z = 5 km, the top of the displayed portion of the domain in Fig. 1a. Over the 5-h simulation, strong circulations develop that produce significant distortions in the potential temperature field (Fig. 1b) with maximum vertical velocities that reach ~10 m s−1 (Fig. 2). Enabling the HTF coordinate (2) with A(ζ) defined by (9) with zH = 5 km, the terrain influence in the vertical coordinate has been completely removed over the lowest 5 km as shown in Fig. 1c. Distortions in the potential temperature field (Fig. 1d) are reduced significantly from those in the BTF simulation, although the maximum vertical velocity perturbation still reach several meters per second (Fig. 2). In Fig. 1e, the coordinate surfaces are displayed for the STF simulation, produced using (4) and (9) with zH = 8 km, and constructing hs(x, ζ) by iteratively applying (6) and (7) for γmin = 0.6 as described in the previous section. Here again the terrain influence is essentially removed in the lowest 5 km, but in addition, the influence of the smaller-scale terrain structure is nearly absent above z = 2 km. For this simulation, there is little disturbance of the potential temperature field (Fig. 1f) and the maximum vertical velocities do not exceed several tenths of a meter per second (Fig. 2). Simulating this case with coordinate smoothing as described above but with no hybrid attenuation (A = 1 − ζ/zt), produced perturbations (not shown) only slightly larger than those just discussed that also included hybrid attenuation with zH = 8 km (Figs. 1f and 2 for STF).
Coordinate surfaces and potential temperature contours (contour interval 1 K) for the resting-atmosphere case described in section 3 for (a),(b) the BTF coordinate; (c),(d) the HTF coordinate; (e),(f) the STF coordinate; and (g),(h) the SLEVE coordinate. Note that the top of the model domain is at z = 20 km.
Citation: Monthly Weather Review 139, 7; 10.1175/MWR-D-10-05046.1
Time series of the maximum vertical velocity for the resting-atmosphere simulations in Fig. 1 for the BTF coordinate (black), the HTF coordinate (red), the STF coordinate (turquoise), and the SLEVE coordinate (green).
Citation: Monthly Weather Review 139, 7; 10.1175/MWR-D-10-05046.1
4. Numerical treatment of the horizontal pressure gradient






Schematic illustrating the interpolation of pressure to constant height in computing the horizontal pressure gradient with sloping coordinate surfaces.
Citation: Monthly Weather Review 139, 7; 10.1175/MWR-D-10-05046.1
This representation is the same as Mahrer’s (1984) approach for up to moderate coordinate slopes (as shown in Fig. 3), but is less accurate for steep slopes where the target constant height interpolation level is more than one grid interval above or below level k at i ± ½. However, it does not require the computation and storage of the indices that bracket the constant height levels on either side of all of the horizontal velocity grid points. The scheme is easy to implement, has little additional computational cost, and, by interpolating
As in Fig. 2, but using a simplified version of Mahrer’s technique for computing the horizontal pressure gradient, as expressed in (16).
Citation: Monthly Weather Review 139, 7; 10.1175/MWR-D-10-05046.1
5. Summary
The terrain-following coordinate proposed here is intended to provide additional flexibility in reducing the influence of the terrain (particularly steep terrain) on the coordinate surfaces. With this approach the form of the coordinate transform is similar to those of basic and hybrid terrain-following coordinates, but includes smoothing of the coordinate surfaces that progressively removes smaller-scale structure with increasing height above the terrain. This direct smoothing of coordinate surfaces represents a significant difference from the SLEVE coordinate proposed by Schär et al. (2002), in which the terrain h is separated into a large-scale profile h1 and a residual that contains much of the smaller-scale structure h2. Following this decomposition, the SLEVE approach attenuates the influence of all scales in the h1 profile at the same rate with increasing height (through the hybrid parameter s1) while all scales in the h2 portion are attenuated at the same rate (regulated by s2). For s2 < s1, the h2 contribution to the coordinate surfaces is removed more rapidly with height than the h1 portion, but within each of the two profiles there is no selective scale removal. Thus, the STF coordinate appears to provide more flexibility in providing scale-selective attenuation of terrain influences on the coordinate surfaces across the full range of terrain scales. (In principle, the influence of each wavenumber contribution to the terrain could be independently filtered with height.)
In the resting-atmosphere simulations described in the previous section, the STF coordinate demonstrates a significant reduction in the artificial circulations from those arising with the basic or hybrid terrain-following coordinates and some further improvement over the SLEVE coordinate. These simulations were intentionally conducted with fairly coarse vertical grid resolution. For simulations with higher vertical resolution near the surface, using either a constant or stretched grid, the amplitudes of perturbations drop rapidly as the resolution increases. However, simulations with the BTF, HTF, STF, and SLEVE coordinates exhibit the same relative behavior as the simulations in section 3. Additional resting-atmosphere and mountain-wave simulations (including variable vertical resolution) have been conducted that further confirm the efficacy of this smoothed-coordinate technique.
As for the SLEVE coordinate, the STF coordinate requires specification of a number of parameters to regulate the rate of smoothing and terrain decay with height (set by the parameters Mk, βk, γmin, and zH). Some amount of experimentation will inevitably be needed in choosing the “best” combination of parameters for a particular application. Some guidance based on admittedly limited experience may be helpful to those who might consider trying this coordinate technique. The parameter Mk(ζ) specifies the maximum number of smoothing iterations for each coordinate surface. This should be reasonably large to allow smoothing effects to be distributed over wide distances, but results seem to be only weakly dependent on Mk for values above about 20. The profile βk(ζ) defines the second-order smoothing coefficient in (5); it should be small enough to allow a reasonable number of smoothing iterations (~10) at lower coordinate levels before reaching the specified γmin. The profile for βk defined in (8) seems to work well in a variety of 2D applications; in preliminary testing in 3D for real terrain, better results were obtained using values about one-half those defined in (8). For the minimum coordinate spacing γmin, values of 0.5–0.6 seem to work best in 2D applications, while values about half this magnitude appear better for 3D real-terrain simulations. Finally, for the depth of the hybrid terrain attenuation zH, as long as it is at least about 25% larger than the minimum value for the pure hybrid coordinate as defined in (11), results do not appear to be strongly dependent on the value chosen. In fact, as mentioned in the previous section, utilizing only the smoothing portion of the coordinate specification (A = 1 − ζ/zt) does not seem to significantly compromise the results.
This STF coordinate is particularly well suited for a height-based vertical coordinate in which the coordinate surfaces remain fixed over time, since smoothed hs(x, y, ζ) surfaces need only be computed once, during model initialization. For a pressure-based coordinate, smoothed coordinate surfaces would need to be continually recomputed because of the variation of the surface pressure with time.
Evaluating the horizontal pressure gradients using a simplified version (16) of Mahrer’s (1984) scheme appears to improve the numerical accuracy over the representation (13) with little impact on code efficiency or complexity. This improvement arises primarily from the decrease in the vertical interval over which pressure is interpolated to provide a pressure gradient at constant height, and is realized even for terrain that is not steeply sloped.
Acknowledgments
The author would like to thank Bill Skamarock for his helpful suggestions and Günther Zängl and an anonymous reviewer for their careful reviews of this paper.
REFERENCES
Arakawa, A., and V. R. Lamb, 1977: Computational design of the basic dynamical processes of the UCLA general circulation model. Methods in Computational Physics, Vol. 17, J. Chang, Ed., Academic Press, 173–265.
Dempsey, D., and C. Davis, 1998: Error analysis and tests of pressure-gradient force schemes in a nonhydrostatic, mesoscale model. Preprints, 12th Conf. on Numerical Weather Prediction, Phoenix, AZ, Amer. Meteor. Soc., 236–239.
Dudhia, J., 1995: Reply. Mon. Wea. Rev., 123, 2573–2575.
Gal-Chen, T., and R. Somerville, 1975: On the use of a coordinate transformation for the solution of the Navier-Stokes equations. J. Comput. Phys., 17, 209–228.
Klemp, J. B., W. C. Skamarock, and J. Dudhia, 2007: Conservative split-explicit time integration methods for the compressible nonhydrostatic equations. Mon. Wea. Rev., 135, 2897–2913.
Leuenberger, D., M. Koller, O. Fuhrer, and C. Schär, 2010: A generalization of the SLEVE vertical coordinate. Mon. Wea. Rev., 138, 3683–3689.
Mahrer, Y., 1984: An improved numerical approximation of the horizontal gradients in a terrain-following coordinate system. Mon. Wea. Rev., 112, 918–922.
Schär, C., D. Leuenberger, O. Fuhrer, D. Lüthi, and C. Girard, 2002: A new terrain-following vertical coordinate formulation for atmospheric prediction models. Mon. Wea. Rev., 130, 2459–2480.
Simmons, A. J., and D. M. Burridge, 1981: An energy and angular-momentum conserving finite-difference scheme and hybrid vertical coordinates. Mon. Wea. Rev., 109, 758–766.
Steppeler, J., 1995: Comments on “A nonhydrostatic version of the Penn State–NCAR Mesoscale Model: Validation tests and simulation of an Atlantic cyclone and cold front.” Mon. Wea. Rev., 123, 2572.