laplace transform integration and the slow equations

102
Laplace Transform Integration and the Slow Equations Peter Lynch School of Mathematical Sciences, University College Dublin Colm Clancy RPN, Environment Canada Workshop: PDEs on the Sphere Isaac Newton Institute Cambridge, 24-28 September 2012

Upload: others

Post on 11-Sep-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Laplace Transform Integration and the Slow Equations

Laplace Transform Integrationand the Slow Equations

Peter LynchSchool of Mathematical Sciences, University College Dublin

Colm ClancyRPN, Environment Canada

Workshop: PDEs on the SphereIsaac Newton Institute

Cambridge, 24-28 September 2012

Page 2: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 3: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 4: Laplace Transform Integration and the Slow Equations

The Laplace Transform: Definition

For a function of time f (t), t ≥ 0, the LT is defined as

f (s) =

∫ ∞0

e−st f (t) dt .

Here, s is complex and f (s) is a complex function of s.

I The domain of the function f (t) is D = [0,+∞).I The kernel of the transform is K (s, t) = exp(−st).I The domain of the LT f (s) is the complex s-plane.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 5: Laplace Transform Integration and the Slow Equations

The Laplace Transform: Definition

For a function of time f (t), t ≥ 0, the LT is defined as

f (s) =

∫ ∞0

e−st f (t) dt .

Here, s is complex and f (s) is a complex function of s.

I The domain of the function f (t) is D = [0,+∞).I The kernel of the transform is K (s, t) = exp(−st).I The domain of the LT f (s) is the complex s-plane.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 6: Laplace Transform Integration and the Slow Equations

Recovering the Original Function

For the LT, the inversion formula is

f (t) =1

2πi

∫C1

est f (s) ds .

where C1 is a contour in the s-plane:

I C1 is parallel to the imaginary axis.I C1 is to the right of all singularities of f (s).

For the functions that we consider, the singularitiesare poles on the imaginary axis.

Thus, the contour C1 must be in the right half-plane.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 7: Laplace Transform Integration and the Slow Equations

Recovering the Original Function

For the LT, the inversion formula is

f (t) =1

2πi

∫C1

est f (s) ds .

where C1 is a contour in the s-plane:

I C1 is parallel to the imaginary axis.I C1 is to the right of all singularities of f (s).

For the functions that we consider, the singularitiesare poles on the imaginary axis.

Thus, the contour C1 must be in the right half-plane.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 8: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 9: Laplace Transform Integration and the Slow Equations

A Simple Oscillation

Let f (t) have a single harmonic component

f (t) = α exp(iωt)

The LT of f (t) has a simple pole at s = iω:

f (s) =α

s − iω,

A pure oscillation in time transforms to aholomorphic function, with a single pole.

The frequency of the oscillation determines theposition of the pole.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 10: Laplace Transform Integration and the Slow Equations

A Simple Oscillation

Let f (t) have a single harmonic component

f (t) = α exp(iωt)

The LT of f (t) has a simple pole at s = iω:

f (s) =α

s − iω,

A pure oscillation in time transforms to aholomorphic function, with a single pole.

The frequency of the oscillation determines theposition of the pole.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 11: Laplace Transform Integration and the Slow Equations

LF and HF oscillations and their transforms

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 12: Laplace Transform Integration and the Slow Equations

The inverse transform of f (s) is

f (t) =1

2πi

∫C1

est f (s) ds =1

2πi

∫C1

α exp(st)

s − iωds .

We augment C1 by a semi-circular arc C2 in the lefthalf-plane. Denote the resulting closed contour by

C0 = C1 ∪ C2 .

In cases of interest, we can show that this leaves thevalue of the integral unchanged (see Doetsch, 1977).

Then f (t) is an integral around a closed contour C0.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 13: Laplace Transform Integration and the Slow Equations

The inverse transform of f (s) is

f (t) =1

2πi

∫C1

est f (s) ds =1

2πi

∫C1

α exp(st)

s − iωds .

We augment C1 by a semi-circular arc C2 in the lefthalf-plane. Denote the resulting closed contour by

C0 = C1 ∪ C2 .

In cases of interest, we can show that this leaves thevalue of the integral unchanged (see Doetsch, 1977).

Then f (t) is an integral around a closed contour C0.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 14: Laplace Transform Integration and the Slow Equations

Contribution from C2 vanishes in limit of infinite radius

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 15: Laplace Transform Integration and the Slow Equations

For an integral around a closed contour,

f (t) =1

2πi

∮C0

α exp(st)

s − iωds ,

we can apply the residue theorem:

f (t) =∑C0

[Residues of

(α exp(st)

s − iω

)]so f (t) is the sum of the residues of the integrandwithin the contour C0.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 16: Laplace Transform Integration and the Slow Equations

For an integral around a closed contour,

f (t) =1

2πi

∮C0

α exp(st)

s − iωds ,

we can apply the residue theorem:

f (t) =∑C0

[Residues of

(α exp(st)

s − iω

)]so f (t) is the sum of the residues of the integrandwithin the contour C0.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 17: Laplace Transform Integration and the Slow Equations

There is just one pole, at s = iω. The residue is

lims→iω

(s − iω)

(α exp(st)

s − iω

)= α exp(iωt)

So we recover the input function:

f (t) = α exp(iωt)

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 18: Laplace Transform Integration and the Slow Equations

There is just one pole, at s = iω. The residue is

lims→iω

(s − iω)

(α exp(st)

s − iω

)= α exp(iωt)

So we recover the input function:

f (t) = α exp(iωt)

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 19: Laplace Transform Integration and the Slow Equations

A Two-Component Oscillation

Let f (t) have two harmonic components

f (t) = a exp(iωt) + A exp(iΩt) |ω| |Ω|

The LT is a linear operator, so the transform of f (t) is

f (s) =a

s − iω+

As − iΩ

,

which has two simple poles, at s = iω and s = iΩ.

I The LF pole, at s = iω, is close to the origin.I The HF pole, at s = iΩ, is far from the origin.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 20: Laplace Transform Integration and the Slow Equations

A Two-Component Oscillation

Let f (t) have two harmonic components

f (t) = a exp(iωt) + A exp(iΩt) |ω| |Ω|

The LT is a linear operator, so the transform of f (t) is

f (s) =a

s − iω+

As − iΩ

,

which has two simple poles, at s = iω and s = iΩ.

I The LF pole, at s = iω, is close to the origin.I The HF pole, at s = iΩ, is far from the origin.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 21: Laplace Transform Integration and the Slow Equations

Again

f (s) =a

s − iω+

As − iΩ

.

The inverse transform of f (s) is

f (t) =1

2πi

∮C0

a exp(st)

s − iωds +

12πi

∮C0

A exp(st)

s − iΩds

= a exp(iωt) + A exp(iΩt) .

We now replace C0 by a circular contour C? centred atthe origin, with radius γ such that |ω| < γ < |Ω|.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 22: Laplace Transform Integration and the Slow Equations

Again

f (s) =a

s − iω+

As − iΩ

.

The inverse transform of f (s) is

f (t) =1

2πi

∮C0

a exp(st)

s − iωds +

12πi

∮C0

A exp(st)

s − iΩds

= a exp(iωt) + A exp(iΩt) .

We now replace C0 by a circular contour C? centred atthe origin, with radius γ such that |ω| < γ < |Ω|.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 23: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 24: Laplace Transform Integration and the Slow Equations

We denote the modified operator by L?.

Since the pole s = iω falls within the contour C?,it contributes to the integral.

Since the pole s = iΩ falls outside the contour C?,it makes no contribution.

Therefore,

f ?(t) ≡ L?f (s) =1

2πi

∮C?

a exp(st)

s − iωds = a exp(iωt) .

We have filtered f (t): the function f ?(t) is the LFcomponent of f (t). The HF component is gone.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 25: Laplace Transform Integration and the Slow Equations

We denote the modified operator by L?.

Since the pole s = iω falls within the contour C?,it contributes to the integral.

Since the pole s = iΩ falls outside the contour C?,it makes no contribution.

Therefore,

f ?(t) ≡ L?f (s) =1

2πi

∮C?

a exp(st)

s − iωds = a exp(iωt) .

We have filtered f (t): the function f ?(t) is the LFcomponent of f (t). The HF component is gone.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 26: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 27: Laplace Transform Integration and the Slow Equations

Approximating the Contour C?We replace the circle C? by an N-gon C?N:

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 28: Laplace Transform Integration and the Slow Equations

Numerical approximation: the inverse

L?f (s) =1

2πi

∮C?

exp(st) f (s) ds

is approximated by the summation

L?Nf (s) =

12πi

N∑n=1

exp(snt) f (sn) ∆sn

We introduce a correction factor, and arrive at:

L?Nf (s) =

1N

N∑n=1

expN(snt) f (sn) sn

Here expN(z) is the N-term Taylor expansion of exp(z).(For details, see Clancy and Lynch, 2011a)

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 29: Laplace Transform Integration and the Slow Equations

Numerical approximation: the inverse

L?f (s) =1

2πi

∮C?

exp(st) f (s) ds

is approximated by the summation

L?Nf (s) =

12πi

N∑n=1

exp(snt) f (sn) ∆sn

We introduce a correction factor, and arrive at:

L?Nf (s) =

1N

N∑n=1

expN(snt) f (sn) sn

Here expN(z) is the N-term Taylor expansion of exp(z).(For details, see Clancy and Lynch, 2011a)

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 30: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 31: Laplace Transform Integration and the Slow Equations

Applying LT to an ODEWe consider a nonlinear ordinary differential equation

dwdt

+ iωw + n(w) = 0 w(0) = w0

The LT of the equation is

(sw − w0) + iωw +n0

s= 0 .

We have frozen n(w) at its initial value n0 = n(w0).

We can immediately solve for the transform solution:

w(s) =1

s + iω

[w0 −

n0

s

]=

(w0

s + iω

)+

n0

(1

s + iω− 1

s

)There are two poles, at s = −iω and at s = 0.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 32: Laplace Transform Integration and the Slow Equations

Applying LT to an ODEWe consider a nonlinear ordinary differential equation

dwdt

+ iωw + n(w) = 0 w(0) = w0

The LT of the equation is

(sw − w0) + iωw +n0

s= 0 .

We have frozen n(w) at its initial value n0 = n(w0).

We can immediately solve for the transform solution:

w(s) =1

s + iω

[w0 −

n0

s

]=

(w0

s + iω

)+

n0

(1

s + iω− 1

s

)There are two poles, at s = −iω and at s = 0.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 33: Laplace Transform Integration and the Slow Equations

The solution is:

w?(t) =

(

w0 +n0

)exp(−iωt)− n0

iω: |ω| < γ

−n0

iω: |ω| > γ

High frequencies are filtered out.

This corresponds to dropping the time derivative andholding the nonlinear term at its initial value:the criterion for nonlinear normal mode initialization.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 34: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 35: Laplace Transform Integration and the Slow Equations

A General NWP Equation

We write the general NWP equations symbolically as

dXdt

+ i LX + N(X) = 0

where X(t) is the state vector at time t .

We apply the Laplace transform to get

(s X− X0) + i LX +1s

N0 = 0

where X0 is the initial value of X and N0 = N(X0) isheld constant at its initial value.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 36: Laplace Transform Integration and the Slow Equations

A General NWP Equation

We write the general NWP equations symbolically as

dXdt

+ i LX + N(X) = 0

where X(t) is the state vector at time t .

We apply the Laplace transform to get

(s X− X0) + i LX +1s

N0 = 0

where X0 is the initial value of X and N0 = N(X0) isheld constant at its initial value.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 37: Laplace Transform Integration and the Slow Equations

Now we take n∆t to be the initial time:

(s X− Xn) + i LX +1s

Nn = 0

The solution can be written formally:

X(s) = (s I + i L)−1[Xn − 1

sNn]

We recover the filtered solution at time (n + 1)∆t byapplying L? at time ∆t beyond the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 38: Laplace Transform Integration and the Slow Equations

Now we take n∆t to be the initial time:

(s X− Xn) + i LX +1s

Nn = 0

The solution can be written formally:

X(s) = (s I + i L)−1[Xn − 1

sNn]

We recover the filtered solution at time (n + 1)∆t byapplying L? at time ∆t beyond the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 39: Laplace Transform Integration and the Slow Equations

Now we take n∆t to be the initial time:

(s X− Xn) + i LX +1s

Nn = 0

The solution can be written formally:

X(s) = (s I + i L)−1[Xn − 1

sNn]

We recover the filtered solution at time (n + 1)∆t byapplying L? at time ∆t beyond the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 40: Laplace Transform Integration and the Slow Equations

Now we take n∆t to be the initial time:

(s X− Xn) + i LX +1s

Nn = 0

The solution can be written formally:

X(s) = (s I + i L)−1[Xn − 1

sNn]

We recover the filtered solution at time (n + 1)∆t byapplying L? at time ∆t beyond the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 41: Laplace Transform Integration and the Slow Equations

Now we take n∆t to be the initial time:

(s X− Xn) + i LX +1s

Nn = 0

The solution can be written formally:

X(s) = (s I + i L)−1[Xn − 1

sNn]

We recover the filtered solution at time (n + 1)∆t byapplying L? at time ∆t beyond the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 42: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 43: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 44: Laplace Transform Integration and the Slow Equations

Phase Errors of SI and LT SchemesConsider the phase error of the oscillation equation

dudt

+ iω u = 0 R =Numerical frequencyPhysical frequency

For the semi-implicit (SI) scheme, the error is

RSI = 1− 112

(ω∆t)2

For the LT scheme, the corresponding error is

RLT = 1− 1N!

(ω∆t)N

Even for modest values of N, this is negligible.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 45: Laplace Transform Integration and the Slow Equations

Phase Errors of SI and LT SchemesConsider the phase error of the oscillation equation

dudt

+ iω u = 0 R =Numerical frequencyPhysical frequency

For the semi-implicit (SI) scheme, the error is

RSI = 1− 112

(ω∆t)2

For the LT scheme, the corresponding error is

RLT = 1− 1N!

(ω∆t)N

Even for modest values of N, this is negligible.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 46: Laplace Transform Integration and the Slow Equations

Phase Errors of SI and LT SchemesConsider the phase error of the oscillation equation

dudt

+ iω u = 0 R =Numerical frequencyPhysical frequency

For the semi-implicit (SI) scheme, the error is

RSI = 1− 112

(ω∆t)2

For the LT scheme, the corresponding error is

RLT = 1− 1N!

(ω∆t)N

Even for modest values of N, this is negligible.Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 47: Laplace Transform Integration and the Slow Equations

Relative phase errors for semi-implicit (SI) and Laplacetransform (LT) schemes for Kelvin waves m = 1 and m = 5.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 48: Laplace Transform Integration and the Slow Equations

Hourly height at 0.0E, 0.9N over 10 hours, with τc = 3 h.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 49: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 50: Laplace Transform Integration and the Slow Equations

Lagrangian FormulationWe now consider how to combine the Laplacetransform approach with Lagrangian advection.

The general form of the equation is

DXDt

+ i LX + N(X) = 0

where advection is now included in the timederivative.

We re-define the Laplace transform to be the integralin time along the trajectory of a fluid parcel:

X(s) ≡∫T

e−st X(t) dt

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 51: Laplace Transform Integration and the Slow Equations

Lagrangian FormulationWe now consider how to combine the Laplacetransform approach with Lagrangian advection.

The general form of the equation is

DXDt

+ i LX + N(X) = 0

where advection is now included in the timederivative.

We re-define the Laplace transform to be the integralin time along the trajectory of a fluid parcel:

X(s) ≡∫T

e−st X(t) dt

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 52: Laplace Transform Integration and the Slow Equations

Lagrangian FormulationWe now consider how to combine the Laplacetransform approach with Lagrangian advection.

The general form of the equation is

DXDt

+ i LX + N(X) = 0

where advection is now included in the timederivative.

We re-define the Laplace transform to be the integralin time along the trajectory of a fluid parcel:

X(s) ≡∫T

e−st X(t) dt

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 53: Laplace Transform Integration and the Slow Equations

We compute L along a fluid trajectory T .

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 54: Laplace Transform Integration and the Slow Equations

We consider parcels that arrive at the gridpoints attime (n + 1)∆t . They originate at locations notcorresponding to gridpoints at time n∆t .

I The value at the arrival point is Xn+1A .

I The value at the departure point is XnD.

The initial values when transforming the Lagrangiantime derivatives are Xn

D.

The equations thus transform to

(s X− XnD) + i LX +

1s

Nn+

12

M = 0

where we evaluate nonlinear terms at a mid-point,interpolated in space and extrapolated in time.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 55: Laplace Transform Integration and the Slow Equations

We consider parcels that arrive at the gridpoints attime (n + 1)∆t . They originate at locations notcorresponding to gridpoints at time n∆t .

I The value at the arrival point is Xn+1A .

I The value at the departure point is XnD.

The initial values when transforming the Lagrangiantime derivatives are Xn

D.

The equations thus transform to

(s X− XnD) + i LX +

1s

Nn+

12

M = 0

where we evaluate nonlinear terms at a mid-point,interpolated in space and extrapolated in time.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 56: Laplace Transform Integration and the Slow Equations

We consider parcels that arrive at the gridpoints attime (n + 1)∆t . They originate at locations notcorresponding to gridpoints at time n∆t .

I The value at the arrival point is Xn+1A .

I The value at the departure point is XnD.

The initial values when transforming the Lagrangiantime derivatives are Xn

D.

The equations thus transform to

(s X− XnD) + i LX +

1s

Nn+

12

M = 0

where we evaluate nonlinear terms at a mid-point,interpolated in space and extrapolated in time.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 57: Laplace Transform Integration and the Slow Equations

We consider parcels that arrive at the gridpoints attime (n + 1)∆t . They originate at locations notcorresponding to gridpoints at time n∆t .

I The value at the arrival point is Xn+1A .

I The value at the departure point is XnD.

The initial values when transforming the Lagrangiantime derivatives are Xn

D.

The equations thus transform to

(s X− XnD) + i LX +

1s

Nn+

12

M = 0

where we evaluate nonlinear terms at a mid-point,interpolated in space and extrapolated in time.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 58: Laplace Transform Integration and the Slow Equations

Departure point, arrival point and mid-point.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 59: Laplace Transform Integration and the Slow Equations

The solution can be written formally:

X(s) = (s I + i L)−1[Xn

D −1s

Nn+

12

M

]

The values at the departure point and mid-point arecomputed by interpolation.

We recover the filtered solution by applying L? at time(n + 1)∆t , or ∆t after the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 60: Laplace Transform Integration and the Slow Equations

The solution can be written formally:

X(s) = (s I + i L)−1[Xn

D −1s

Nn+

12

M

]

The values at the departure point and mid-point arecomputed by interpolation.

We recover the filtered solution by applying L? at time(n + 1)∆t , or ∆t after the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 61: Laplace Transform Integration and the Slow Equations

The solution can be written formally:

X(s) = (s I + i L)−1[Xn

D −1s

Nn+

12

M

]

The values at the departure point and mid-point arecomputed by interpolation.

We recover the filtered solution by applying L? at time(n + 1)∆t , or ∆t after the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 62: Laplace Transform Integration and the Slow Equations

The solution can be written formally:

X(s) = (s I + i L)−1[Xn

D −1s

Nn+

12

M

]

The values at the departure point and mid-point arecomputed by interpolation.

We recover the filtered solution by applying L? at time(n + 1)∆t , or ∆t after the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 63: Laplace Transform Integration and the Slow Equations

The solution can be written formally:

X(s) = (s I + i L)−1[Xn

D −1s

Nn+

12

M

]

The values at the departure point and mid-point arecomputed by interpolation.

We recover the filtered solution by applying L? at time(n + 1)∆t , or ∆t after the initial time:

X?((n + 1)∆t) = L?X(s)∣∣∣t=∆t

The procedure may now be iterated to produce aforecast of any length.

Further details are given in Clancy and Lynch, 2011a,b

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 64: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 65: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979I Used by Ritchie & Tanguay (1996) and by

Li & Bates (1996)I Running at T119 resolutionI Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 66: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979I Used by Ritchie & Tanguay (1996) and by

Li & Bates (1996)I Running at T119 resolutionI Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 67: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979I Used by Ritchie & Tanguay (1996) and by

Li & Bates (1996)I Running at T119 resolutionI Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 68: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979

I Used by Ritchie & Tanguay (1996) and byLi & Bates (1996)

I Running at T119 resolutionI Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 69: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979I Used by Ritchie & Tanguay (1996) and by

Li & Bates (1996)

I Running at T119 resolutionI Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 70: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979I Used by Ritchie & Tanguay (1996) and by

Li & Bates (1996)I Running at T119 resolution

I Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 71: Laplace Transform Integration and the Slow Equations

Orographic Resonance

I Spurious resonance arises from coupling thesemi-Lagrangian and semi-implicit methods

I Linear analysis of orographically forcedstationary waves confirms this

I This motivates an investigating oforographic resonance in a full model.

Test Case:I Initial data: ERA-40 analysis of 12 UTC on

12th February 1979I Used by Ritchie & Tanguay (1996) and by

Li & Bates (1996)I Running at T119 resolutionI Shows LT method has benefits over SI scheme.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 72: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 73: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 74: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 75: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 76: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 77: Laplace Transform Integration and the Slow Equations

Analytical Inversion

We now consider the LT scheme with the inversecomputed analytically.

This yields a filtered system. We relate it to thefiltering schemes of Daley (1980).

The procedure requires explicit knowledge of thepositions of the poles of the function to be inverted.

For the Eulerian model, this is simple.

For the Lagrangian model, a transformation to normalmode space is required.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 78: Laplace Transform Integration and the Slow Equations

We can write the general, diagonalized system:

dWdt

+ i ΩW + NW(X) = 0 .

We separate this into LF and HF components:

dYdt

+ i ΩYY + NY(Y,Z) = 0

dZdt

+ i ΩZZ + NZ(Y,Z) = 0

The slow equations are formed by setting thetendencies of the fast components to zero(Daley, 1980, Lynch, 1989):

dYdt

+ i ΩYY + NY(Y,Z) = 0

i ΩZZ + NZ(Y,Z) = 0

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 79: Laplace Transform Integration and the Slow Equations

We take the transform of the general equation

dXdt

+ i LX + N(X) = 0

L is a linear operator. N is a nonlinear vector function.

I Transform analyticallyI Diagonalize the systemI Invert analytically using L∗

Yn+1 = Yn exp(−2iΩY∆t)− (iΩY)−1NnY[1− exp(−2iΩY∆t)]

Zn+1 = −(iΩZ)−1NnZ

So, Yn+1 is the analytical solution at time (n + 1)∆t forNY constant, and Z satisfies a balance equation.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 80: Laplace Transform Integration and the Slow Equations

These equations correspond essentially to Daley’s(1980) Scheme B.

There is a close relationship between the Laplacetransform scheme and Daley’s filtered scheme.

The slow components in Daley’s Scheme B arecalculated by a leapfrog method.

For the LT scheme, they are analytical solutions(for constant NY).

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 81: Laplace Transform Integration and the Slow Equations

A Reasonable QuestionIf we simply return to the time domain, why botherwith the Laplace Transform at all?

Because it provides guidance and insight!

By analogy, consider a time filter:

yn =+N∑

h=−N

ah xn−h

This is defined completely in the time domain;

But it is greatly illuminated by considering theresponse in the frequency domain.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 82: Laplace Transform Integration and the Slow Equations

A Reasonable QuestionIf we simply return to the time domain, why botherwith the Laplace Transform at all?

Because it provides guidance and insight!

By analogy, consider a time filter:

yn =+N∑

h=−N

ah xn−h

This is defined completely in the time domain;

But it is greatly illuminated by considering theresponse in the frequency domain.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 83: Laplace Transform Integration and the Slow Equations

A Reasonable QuestionIf we simply return to the time domain, why botherwith the Laplace Transform at all?

Because it provides guidance and insight!

By analogy, consider a time filter:

yn =+N∑

h=−N

ah xn−h

This is defined completely in the time domain;

But it is greatly illuminated by considering theresponse in the frequency domain.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 84: Laplace Transform Integration and the Slow Equations

LT scheme in the STSWM Eulerian model

The transformed spectral equations are:

ηm` =

1sηm

` n−1

+1s2 N

m`

n

δm` = d

(R+

1s`(` + 1)

a2 Q)

Φm` = d

(Q− 1

sΦ∗R

)where the poles of d , Q and R are known.For example, d = s2/(s2 + ω2

` ).

By inspection, we can apply the analytical operator L∗

to obtain the solution.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 85: Laplace Transform Integration and the Slow Equations

The technicalities for the Lagrangian model arenon-trivial

We must move back and forth between physicalspace and Hough space

In principle, it is straightforward;In practice, it is intricate.

Details are in a paper in preparation.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 86: Laplace Transform Integration and the Slow Equations

OutlineBasic Theory

Numerical Inversion

Ordinary Differential Equations

Application to Numerical Weather Prediction

Kelvin Waves & Phase Errors

Lagrangian Formulation

Orographic Resonance

Analytical Inversion

Results

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 87: Laplace Transform Integration and the Slow Equations

Results with Eulerian Model

In all Eulerian simulations:I ∆t = 600 sI Spectral resolution T119I No explicit diffusion includedI Normalised `∞ error measureI Ref: Semi-implicit T213 with ∆t = 90 s

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 88: Laplace Transform Integration and the Slow Equations

Eulerian Model: Mountain flow (Case 5)

First plot:I Reference SI schemeI Numerical LT with N = 8, cutoff period 3 hoursI Numerical LT with N = 8, cutoff period 1 hour.

Second plot:I Reference SI schemeI Analytical LT with cutoff period 3 hoursI Analytical LT with cutoff period 1 hour.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 89: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 90: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 91: Laplace Transform Integration and the Slow Equations

Eulerian Model: Rossby-Haurwitz (Case 6)

First plot:I Reference SI schemeI Numerical LT with N = 8, cutoff period 3 hoursI Numerical LT with N = 8, cutoff period 1 hour.

Second plot:I Reference SI schemeI Analytical LT with cutoff period 3 hoursI Analytical LT with cutoff period 1 hour.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 92: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 93: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 94: Laplace Transform Integration and the Slow Equations

Remarks

The truncation to N=8 has a big effect, particularly inCase 5. The choice of cutoff period is important.

Clearly there are motions of frequency between oneand three hours that are being damaged and damped

In the analytic case, this isn’t an issue:the two integrations match closely.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 95: Laplace Transform Integration and the Slow Equations

Results with Lagrangian Model

In all Lagrangian simulations:I Cutoff period of 1 hourI Spectral resolution T119I Normalised `∞ error measureI SETTLS treatment of the rhs nonlinear termsI Back trajectories: McGregor scheme (MWR 1993)I Reference: Semi-implicit T213 with ∆t = 90 s

[Also run with trajectory scheme of GEM model].

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 96: Laplace Transform Integration and the Slow Equations

Lagrange Model: Mountain flow (Case 5)

Both plots:I Numerical LT with N = 8I Analytical LTI Cutoff period: 1 hour in both casesI Reference: Semi-implicit scheme.

Time stepsI First plot: ∆t = 600 sI Second plot: ∆t = 1800 s

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 97: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 98: Laplace Transform Integration and the Slow Equations

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 99: Laplace Transform Integration and the Slow Equations

Remarks

In the Lagrangian case, there is more potential forerror, with Hough mode transformations andnumerical inversion of matrices.

The Rossby wave case looks terrible!

We make approximations of the form

f ζ = f ζ , β u = β u

These may be insufficiently accurate.

We are investigating this issue.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 100: Laplace Transform Integration and the Slow Equations

Conclusion

Old ResultsI LT scheme effectively filters HF wavesI LT scheme more accurate than SI schemeI LT scheme has no orographic resonance.

New ResultsI Analytical LT more accurate than numericalI Lagrangian scheme: more work neededI Problems remain with Coriolis terms.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 101: Laplace Transform Integration and the Slow Equations

Conclusion

Old ResultsI LT scheme effectively filters HF wavesI LT scheme more accurate than SI schemeI LT scheme has no orographic resonance.

New ResultsI Analytical LT more accurate than numericalI Lagrangian scheme: more work neededI Problems remain with Coriolis terms.

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results

Page 102: Laplace Transform Integration and the Slow Equations

Thank you

Basic Theory N-gon ODEs NWP Kelvin Lagrange Resonance Analytic Results