Idealized eta coordinates
Main content:
We're going to follow the strategy outlined in DCMIP 2008.
We use the definition p(η)=A(η)p0+B(η)ps
- Establishing a reference temperature profile
T(z)
.
- Use this to determine pressure levels
pint,k=p(zint,k)
- Define
A(η)=η−B(η)
, and B=(1−ηtopη−ηtop)c
, η(z)≡psp(z)
- Calculate full model levels by averaging interfaces.
We will be using c≡1
.
special considerations:
Suppose we want Δz(p)
to have a specific (approximate) height profile, e.g. in Skamarock, et al..
Suppose we have already found pk,k=K+1,…,k
(ηtop
is a free parameter, while bad things happend if ηs=1
)
Assume the atmosphere is in hydrostatic balance.
Under a constant lapse rate, p(z)=p0(T0T0−Γz)ΓRdg
The temperature is then T(p)=T0(p0p)−gRdΓ
,
and the height is z(p)=ΓT0[1−(p0p)gRdΓ]
Suppose we have pint,k+1,zint,k+1
.
Note ηmid,k=21(pspint,k+1+pspint,k)
The equation we want to solve is Δz(2pint,k+1+pint, k)=z(pint,k)−z(pint,k+1)
The equation that's easy to solve is Δz(pint, k+1)=z(pint,k)−z(pint,k+1)
,
or pk+1=p(Δz(pint, k+1)+z(pint,k+1))
This is an approximation, but we are making several other approximations that won't hold since we have topography.
Brief digression:
Under the profile T(z)=T0
, the pressure looks like p=p0exp(RdT0g−1z)
while under T(z)=T0−Γz
the pressure looks like p=p0(T0T0−Γz)RdΓg
.
The fact that these don't immediately agree when Γ=0
has always irritated me. Here's why that is:
An intermediate step in integrating the hydrostatic integral reads
log(p)=log(p0)+log([T0T0−Γz]RdΓg)=log(p0)+Γlog([T0T0−Γz]Rdg)
Noting that the numerator and denominator are both differentiable functions of Γ
, we then find
Γ→0+limlog(p/p0)=log(p/p0)=Γ→0+limΓlog([T0T0−Γz]Rdg)=Γ→0+lim∂ΓΓ∂Γ[Rdglog(T0T0−Γz)]=Γ→0+limRdg⋅−T0z⋅T0−ΓzT0=−RdT0g−1z
Unfortunately, this makes it very difficult to find, e.g., a unified expression for p(z)
that agrees in both cases in floating point arithmetic :(.