cam-se-cslam: consistent finite-volume transport with

20
20TH ANNUAL CESM WORKSHOP June 15-18, 2015, Breckenridge, Colorado CAM-SE-CSLAM: Consistent finite-volume transport with spectral-element dynamics P.H. Lauritzen (NCAR), M.A. Taylor (SNL), J. Overfelt (SNL), R.D.Nair (NCAR), S. Goldhaber (NCAR), P.A. Ullrich (UCDavis) Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 1 / 20

Upload: others

Post on 09-May-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CAM-SE-CSLAM: Consistent finite-volume transport with

20TH ANNUAL CESM WORKSHOP June 15-18, 2015, Breckenridge, Colorado

CAM-SE-CSLAM: Consistent finite-volume transportwith spectral-element dynamics

P.H. Lauritzen (NCAR), M.A. Taylor (SNL), J. Overfelt (SNL),R.D.Nair (NCAR), S. Goldhaber (NCAR), P.A. Ullrich (UCDavis)

June 17, 2015

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 1 / 20

Page 2: CAM-SE-CSLAM: Consistent finite-volume transport with

20TH ANNUAL CESM WORKSHOP June 15-18, 2015, Breckenridge, Colorado

Overview

A new model configuration based on CAM-SE:

SE: Spectral-element dynamical core solving for v , T , ps(Dennis et al., 2012; Evans et al., 2012; Taylor and Fournier, 2010; Taylor et al., 1997)

CSLAM: Semi-Lagrangian finite-volume transport scheme for tracers(Lauritzen et al., 2010; Erath et al., 2013, 2012; Harris et al., 2010)

Phys-grid: Separating physics and dynamics grids, i.e. ability tocompute physics tendencies based on cell-averaged values within eachelement instead of quadrature points

CSL

AM

gri

d

Dyn

amic

s gri

d

Phys

ics g

rid

Finer&or&coarser?&

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 2 / 20

Page 3: CAM-SE-CSLAM: Consistent finite-volume transport with

Back to the drawing board Basic algorithm development

Coupling spectral-element continuity equation for air with CSLAM turnedout to be much harder than I had anticipated ...

The ‘spectral-element part’ of this research would not have been possiblewithout the close collaboration with Mark Taylor (DOE),

James Overfelt (DOE) and Paul Ullrich (UCDavis).

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 3 / 20

Page 4: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation Lauritzen et al. (2010), Erath et al. (2013), Erath et al. (2012)

Conservative Semi-LAgrangian Multi-tracer (CSLAM)

(a) (b)

Finite-volume Lagrangian form of continuity equation for air (pressure levelthickness, ∆p), and tracer (mixing ratio, q):

∫Ak

ψn+1k dA = ∫

akψnk dA =

Lk

∑`=1

⎡⎢⎢⎢⎢⎣∑ı+≤2

c(ı,)` w

(ı,)k`

⎤⎥⎥⎥⎥⎦, ψ =∆p, ∆p q,

where n time-level, ak` overlap areas, Lk #overlap areas, c(ı,)

reconstruction coefficients for ψnk , and w

(ı,)k` weights.

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 4 / 20

Page 5: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation Lauritzen et al. (2010), Erath et al. (2013), Erath et al. (2012)

Conservative Semi-LAgrangian Multi-tracer (CSLAM)

(a) (b)

∫Ak

ψn+1k dA = ∫

akψnk dA =

Lk

∑`=1

⎡⎢⎢⎢⎢⎣∑ı+≤2

c(ı,)` w

(ı,)k`

⎤⎥⎥⎥⎥⎦, ψ =∆p, ∆p q,

Multi-tracer efficient: w(i ,j)k` re-used for each additional tracer

(Dukowicz and Baumgardner, 2000).

Scheme allows for large time-steps (flow deformation limited).

Conserves mass, shape, linear correlations (Lauritzen et al., 2014).

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 5 / 20

Page 6: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation Harris et al. (2010)

Flux-form CSLAM ≡ Lagrangian CSLAM

a

ε=1

ε=4

ε=2

ak

ε=1

ka

ak

ε=2

ka ε=3

k

ε=4

ε=3

∫Ak

ψn+1k dA = ∫

Ak

ψnk dA −

4

∑ε=1

sεk`∫aεk

ψ dA, ψ =∆p, ∆p q.

where

aεk = ‘flux-area’ (yellow area) = area swept through face ε

sεk` = 1 for outflow and -1 for inflow.

Flux-form and Lagrangian forms of CSLAM are equivalent(Lauritzen et al., 2011).

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 6 / 20

Page 7: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

Requirements for transport schemes

1. Global (and local) Mass-conservation

If ∆p is pressure-level thickness and q is mixing ratio, then the total mass

M(t) = ∫Ω

∆p q dA,

is invariant in time: M(t) =M(t = 0)

2. Shape-preservation

Scheme does not produce new extrema (in particular negatives) in q

3. Consistency

If q = 1 then the transport scheme should reduce to the continuityequation for air.

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 7 / 20

Page 8: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

How does CSLAM fulfill requirements?

1. Global (and local) Mass-conservation

Upstream Lagrangian areas span domain Ω without cracks & overlaps

∫Ωkψk(x , y)dA =∆Ak ψk ,

where ψk(x, y) is reconstruction function in kth cell Ωk , ∆Ak is area of Ωk , ψk is cell averaged value

Figure: Filled blue circles are upstream departure pointsPeter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 8 / 20

Page 9: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

How does CSLAM fulfill requirements?

2. Shape-preservation

Apply limiter to mixing ratio sub-grid cell distribution:

q(x , y) = ∑ı+<3

c(ı,)x ıy ,

(Barth and Jespersen, 1989) so that extrema of q(x , y) are within range ofneighboring q.

And upstream areas span domain Ω without cracks & overlaps

Limiters and filters

In the literature: Many 1D limiters but few fully 2D limiters!

A priori (‘Monotone filtering’): Filter the reconstructionf` (x,y) so that extreme values lie within the adjacentcell-average values (Barth and Jespersen, 1989). no filter

monotone filter

A posteriori (‘Monotone limiting’): Limit the fluxes to prevent new extrema in

n+1

using flux-corrected transport (Zalesak, 1979).

Monotone filters/limiters tend to ‘clip’ physical extrema

0

0

12 20 28 36

a) Unlimited

12 20 28 36

b) Monotone filter/limiter

12 20 28 36

c) Selective filter/limiter

Peter Hjort Lauritzen (NCAR) Tracer Transport October 26, 2010 7 / 29

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 9 / 20

Page 10: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

How does CSLAM fulfill requirements?

3. Consistency

Solve continuity equations for air and tracer on the form:(Nair and Lauritzen, 2010):

D

Dt ∫δA∆p(x , y)dA = 0 (1)

D

Dt ∫δA∆p q(x , y) + q [∆p(x , y) −∆p] dA = 0 (2)

→ if q = 1 then (2) reduces to (1).

Note also that limiter acts on q(x , y) and not q(x , y)∆p(x , y), i.e.no reason to have a limiter on pressure level thickness.

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 10 / 20

Page 11: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

Coupling problem formulation

We need to find a departure grid so that

∆p(CSLAM) =∆p(SE) (3)

⇒ requirements 1-3 are fulfilled with existing CSLAM technology.

(a) (b)

Figure: Global iteration problem / and it is ill-conditioned since anynon-divergent perturbation of points yields the same solution ///

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 11 / 20

Page 12: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

Solution

Cast problem in flux-form:

F(CSLAM) = F(SE) (4)

⇒ requirements 1-3 are fulfilled with existing CSLAM technology.

Spectral-element method does not operate with fluxes: Taylor et al.have derived a method to compute fluxes, F(SE), through theCSLAM control volume faces! presented at ICMS conference in March, 2015.

CSL

AM

gri

d

GL

L gr

id

-0.2

0

0.2

0.4

0.6

0.8

1

-1 -0.5 0 0.5 1

h0(j)h1(j)

h2(j)h3(j)

GLL points

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 12 / 20

Page 13: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

CSLAM fluxes

Given F(SE) find swept areas, δΩ, so that:

1

F(CSLAM) = ∫δΩ

∆p(x , y)dA = F(SE) ∀ δΩ.

2 The sum of all the swept areas, δΩ, span the domain without cracksor overlaps

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 13 / 20

Page 14: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

Consistent SE-CSLAM algorithm: step-by-step example

perpendicular y−flux departure pointsperpendicular x−flux

SE consistent flux1st guess swept area 1st iteration swept area

(b) (c)(a)

(e)(d) (f)

Well-posed? As long as flow deformation ∣∂u∂x

∣∆t ≲ 1 (Lipschitz criterion)

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 14 / 20

Page 15: CAM-SE-CSLAM: Consistent finite-volume transport with

Basic formulation

Consistent SE-CSLAM algorithm: flow cases

case 9case 7

case 1

case 4

case 8

case 6case 5

case 2 case 3

(e)

(e)(e)

(f)

(e)

(e)

(d)

(e)

(e)

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 15 / 20

Page 16: CAM-SE-CSLAM: Consistent finite-volume transport with

Results Jablonowski and Williamson (2006) baroclinic wave

Ps for (left) SE and (right) CSLAM at day 0, 9, 60

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 16 / 20

Page 17: CAM-SE-CSLAM: Consistent finite-volume transport with

Results Jablonowski and Williamson (2006) baroclinic wave

Smooth zonally symmetric tracer:(left) SE and (right) CSLAM at day 0, 13 and 60

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 17 / 20

Page 18: CAM-SE-CSLAM: Consistent finite-volume transport with

Results Jablonowski and Williamson (2006) baroclinic wave

Discontinuous tracer:(left) SE and (right) CSLAM at day 0, 21 and 30

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 18 / 20

Page 19: CAM-SE-CSLAM: Consistent finite-volume transport with

Questions?

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 19 / 20

Page 20: CAM-SE-CSLAM: Consistent finite-volume transport with

References

Barth, T. and Jespersen, D. (1989). The design and application of upwind schemes on unstructured meshes. Proc. AIAA27th Aerospace Sciences Meeting, Reno.

Dennis, J. M., Edwards, J., Evans, K. J., Guba, O., Lauritzen, P. H., Mirin, A. A., St-Cyr, A., Taylor, M. A., and Worley,P. H. (2012). CAM-SE: A scalable spectral element dynamical core for the Community Atmosphere Model. Int. J. High.Perform. C., 26(1):74–89.

Dukowicz, J. K. and Baumgardner, J. R. (2000). Incremental remapping as a transport/advection algorithm. J. Comput.Phys., 160:318–335.

Erath, C., Lauritzen, P. H., Garcia, J. H., and Tufo, H. M. (2012). Integrating a scalable and efficient semi-Lagrangianmulti-tracer transport scheme in HOMME. Procedia Computer Science, 9:994–1003.

Erath, C., Lauritzen, P. H., and Tufo, H. M. (2013). On mass-conservation in high-order high-resolution rigorous remappingschemes on the sphere. Mon. Wea. Rev., 141:2128–2133.

Evans, K., Lauritzen, P. H., Mishra, S., Neale, R., Taylor, M. A., and Tribbia, J. J. (2012). AMIP simulations wiht theCAM4 spectral element dynamical core. J. Climate. in press.

Harris, L. M., Lauritzen, P. H., and Mittal, R. (2010). A flux-form version of the conservative semi-Lagrangian multi-tracertransport scheme (CSLAM) on the cubed sphere grid. J. Comput. Phys., 230(4):1215–1237.

Jablonowski, C. and Williamson, D. L. (2006). A baroclinic instability test case for atmospheric model dynamical cores. Q.J. R. Meteorol. Soc., 132:2943–2975.

Lauritzen, P. H., Andronova, N., Bosler, P. A., Calhoun, D., Enomoto, T., Dong, L., Dubey, S., Guba, O., Hansen, A.,Jablonowski, C., Juang, H.-M., Kaas, E., Kent, J., ller, R. M., Penner, J., Prather, M., Reinert, D., Skamarock, W.,rensen, B. S., Taylor, M., Ullrich, P., and III, J. W. (2014). A standard test case suite for two-dimensional lineartransport on the sphere: results from a collection of state-of-the-art schemes. Geosci. Model Dev., 7:105–145.

Lauritzen, P. H., Nair, R. D., and Ullrich, P. A. (2010). A conservative semi-Lagrangian multi-tracer transport scheme(CSLAM) on the cubed-sphere grid. J. Comput. Phys., 229:1401–1424.

Lauritzen, P. H., Ullrich, P. A., and Nair, R. D. (2011). Atmospheric transport schemes: desirable properties and asemi-Lagrangian view on finite-volume discretizations, in: P.H. Lauritzen, R.D. Nair, C. Jablonowski, M. Taylor (Eds.),Numerical techniques for global atmospheric models. Lecture Notes in Computational Science and Engineering,Springer, 2011, 80.

Nair, R. D. and Lauritzen, P. H. (2010). A class of deformational flow test cases for linear transport problems on the sphere.J. Comput. Phys., 229:8868–8887.

Taylor, M., Tribbia, J., and Iskandarani, M. (1997). The spectral element method for the shallow water equations on thesphere. J. Comput. Phys., 130:92–108.

Taylor, M. A. and Fournier, A. (2010). A compatible and conservative spectral element method on unstructured grids. J.Comput. Phys., 229(17):5879 – 5895.

Peter Hjort Lauritzen (NCAR) CAM-SE-CSLAM June 17, 2015 20 / 20