Schär, ETH Zürich
Horizontal Discretizations in Atmospheric Models
Christoph Schär ETH Zürich schaer@env.ethz.ch Supplement to Lecture Notes
“Numerical Modeling of Weather and Climate”
April 16, 2007
Schär, ETH Zürich
2
Outline
The pole problem
Regional models
Global spectral models
Other global grid approaches
Schär, ETH Zürich
The pole problem
The simplest model grid on the sphere is a regular latitude / longitude grid.
This grid suffers from the
“pole problem.”
The poles represent singularities in latitude / longitude grids.
As the grid spacing approaches zero near the poles, there are difficult stability issues (CFL criterion).
Schär, ETH Zürich
4
Outline
The pole problem
Regional models
Global spectral models
Other global grid approaches
Schär, ETH Zürich
The pole problem in limited-area models
Regular latitude / longitude grids suffer from the “pole problem.”
Latitude / longitude grids can be used at low and mid latitudes
Grids may be defined using map projections (here: polar stereographic projection)
Schär, ETH Zürich
6
Rotated latitude / longitude grids
Regular latitude / longitude grid Rotated latitude / longitude grid
This is a regular latitude/longitude grid based on rotated spherical coordinates.
It has a much more isotropic structure than the unrotated grid!
φ’=0 φ =50
°N
λ ’=0
λ =0
Schär, ETH Zürich
Outline
The pole problem Regional models Global spectral models
Other global grids
Schär, ETH Zürich
8
The “North pole problem” in a global ocean model
Madec and Imbard, 1996, Clim. Dyn., 12 (6), 381-388 A global ocean mesh to overcome the North Pole singularity (used in the MICOM ocean model and the Bergen climate model)
In ocean models, the Earth’s axes may be bended to place the North Pole over Asia.
This illustrates that the
pole problem is painful
and that there are no
simple solutions. A
more commonly used
approach is based on
the spectral method.
Schär, ETH Zürich
Spatial discretizations in one dimension
€
φ i (t) = φ ( iΔx,t )
Local value of function (finite differences)
€
φ i (t) = 1
Δx φ ( ) x,t
x i −Δx 2 x i +Δx 2
∫ dx
Mean over grid box (finite volume, finite differences)
€
φ ( ) x,t = ψ m ( ) t e i k m x
m
∑
Spectral representation (spectral method)
Schär, ETH Zürich
10
Linear advection with the spectral method
Governing equation
Discretized equation
€
φ ( ) x,t = ψ m ( ) t e i k m x
m
∑
With Leapfrog time step
€
∂φ
∂t + u ∂φ
∂x = 0
Discretization
€
∂ψ m
∂t + i u k m ψ m
m=−M
M
∑ e i k
mx = 0
€
∂ψ m
∂t = − i u k m ψ m ( m =− M....M )
€
ψ m n+1 = ψ m n−1 − 2 i Δt u k m ψ m n
Schär, ETH Zürich
Comparison against centered finite differences
wavelength in Δx
10 5 3.3 2.5 2
∞
u num / u
0 0.1 0.2 0.3 0.4 0.5
0.2 0.4 0.6 0.8 1 1.2 1.4
Leapfrog Spectral
Correct Solution
wavelength
–1in Δx
–1Schär, ETH Zürich
12
Nonlinear advection with the spectral method
Governing equation
Discretized equation
€
u x,t ( ) = ψ m ( ) t e i k m x
m
∑
Using interaction coefficients
Discretization
€
∂u
∂t + u ∂u
∂x = 0
€
∂ψ m m=−M ∂t
M
∑ e i k
mx + ψ j e i k
jx j=−M
M
∑
i k l ψ l e i k
lx l=−M
M
∑
= 0
€
∂ψ m m=−M ∂t
M
∑ e i k
mx + ψ j i k l ψ l e i k
j+lx j,l=−M
M
∑ = 0
€
∂ψ p
∂t = − I j,l,p ψ j
j ,l=−M
M
∑ ψ l ( p = −M....M)
€
I j,l, p = 1
L i k l e i k
j+l−p0 L
∫ dx
with
The interaction matrix I j,l,p has size (2M+1) 3 and is prohibitively large!
Schär, ETH Zürich
Pseudospectral method with
Spectral space
€
u x,t ( ) = ψ m n e i k m x
m
∑ €
∂u
∂t + u ∂u
∂x = 0
Computation of derivatives
€
∂ ∂x : ψ m n → ik m ψ m n
Time step
€
ψ m n+1 = ψ m n−1 + 2Δt ψ ˜ m n
Physical space
€
u n j = u x ( j , t n )
Computation of tendencies
€
u ˜ n j := ∂u
∂t
j n
= − u n j ∂u
∂x
j
€ n
i k m ψ m n
FT
−1 → ∂u
∂x
j n
€
ψ ˜ m n ← FT ˜ u n j
€
ψ m n
FT
−1 → u n j Transformations
Schär, ETH Zürich
14
Spectral methods in different geometries
€
∂ 2 f
∂x 2 = –µf
€
µ = n 2π L x
2
€
f ( x) = e ik n x with k n = n2 π L x 1D:
0 ≤ x ≤ L
xGeometry Eigenvalue problem Eigenvalue Eigenfunction (base functions)
€
∂ 2
∂x 2 + ∂ 2
∂y 2
f = – µ f
€
µ = n 2 π L x
2
+ m 2 π L y
2
€
f ( x, y) = e i k ( n x+l m y )
= e ik n x e il m y 2D:
0 ≤ x ≤ L
x0 ≤ y ≤ L
y€
∇ 2 f = –µf
€
µ = n n ( + 1 )
a 2
€
f ( λ , φ ) = Y n m ( λ , φ )
= e imλ P n m [sin(φ)]
Sphere:
Radius a
Schär, ETH Zürich
Spherical Harmonics
Family Y 3 (order m=3)
Family Y 10 (order m=10)
€
Y 3 3
€
Y 4 3
€
Y 5 3
€
Y 6 3
€
Y 10 10
€
Y 15 10
€
Y 20 10
Schär, ETH Zürich
16
φ λ,ϕ,t ( ) = ψ
nm( ) t
n=m N(m) m=−M
∑
M
∑ Y
nm( λ ,ϕ )
Spectral method on the sphere
Two-dimensional fields φ on the sphere are represented as an expansion using spherical harmonics : Y
nm( λ , ϕ )
€
Y n m ( λ , ϕ ) = e i m λ P n m [ sin( ϕ ) ]
€
P n m
Order m and determines variations in λ -direction, degree n variations in ϕ -direction.
= associated Legendre polynomials
n
m n
m triangular truncation
n ≤ M
rhomboidal truncation n ≤ M + |m|
Truncation of series (example M=4)
Schär, ETH Zürich
Outline
The pole problem Regional models Global spectral models
Other global grids
Schär, ETH Zürich
18
Spherical cube grid
Adcroft et al. 2004, MWR, 132 (12): 2845-2863; William Sawyer, PhD ETH
The spherical cube grid is
formed by projecting a cube
onto the sphere. There are 8
non-orthogonal grid points
corresponding to the corners of
the original cube.
Schär, ETH Zürich
Geodesic grids
Geodesic grids are formed from an icosahedron by iteratively bisecting the edges and projecting the new points onto the sphere.
Delaunay (triangular) grid Voronoi (hexagonal–pentagonal) grid Resulting
grids
William Sawyer, PhD ETH Bonaventura and Ringler 2005, MWR 133; Ringler et al. 2000, MWR, 128
Schär, ETH Zürich
20
Global Gridpoint Models: Icosahedral Global Mesh
(German Weather Service, DWD)
GME / ICON (DWD)
This grid is constructed from a projection of an icosahedron onto the sphere, and
subsequent refinement of the 20 triangles.
Current operational grid spacing
as used for NWP applications
by the German Weather
Service (DWD): about 60 km
Schär, ETH Zürich
Global Models with variable Resolution
(CAS 2003, Annecy; Schmidt 1977, 1982, Beiträge Phys. Atmosph.)
Action de Recherche Petite Echelle Grande EchelleARPEGE (Meteo France)
Representation on the globe with the spectral approach, but using
- grid stretching (Schmidt transform) - pole rotation
to enhance resolution over the region of interest
Current resolution in NWP applications:
spectral resolution: T
L358 stretching factor: C2.4 Resulting grid:
Δ = 23 km (France) Δ = 133 km (antipodes)
SCHMIDT F, BEITR PHYS ATMOS 55 : 335 1982 SCHMIDT F, BEITR PHYS ATMOS 50 : 211 1977
Schär, ETH Zürich
22
Unstructured grids
Unstructured grids allow for the enhancement of coast-lines, topography, etc. They require the explicit definition of each computational cell.
http://vortex.atgteam.com/
Schär, ETH Zürich