forward-in-time methods in ocean modeling matthew hecht los alamos national lab

38
Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Post on 21-Dec-2015

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Forward-in-time Methods in Ocean Modeling

Matthew HechtLos Alamos National Lab

Page 2: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Primitive Equation Ocean Models

• Incompressible Navier-Stokes Eqns, but with:– Hydrostatic pressure– Shallow depth, relative to rotationally-constrained

horizontal scales

• Boussinesq approximation usually made– Ignore variations in density, , except in pressure

gradient term

Page 3: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Ocean model grids

• Horizontal grid is usually fixed, orthogonal• Vertical grid can be:

– Fixed vertical, independent of x, y and t (Z-grid)– Density, as in a stacked shallow water (isopycnal, or

layered model)– Arbitrary Lagrangian/Eulerian (ALE)

Page 4: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

One more point: Modal decomposition

• Momentum equations separated into– vertically-averaged component (“barotropic”)– departure from the vertical average

(“baroclinic” component)

• Fast surface gravity waves contained within equations for vertically-averaged flow– Time step for 3-D momentum equations can be

something like 2 orders of magnitude larger than for the 2-D “barotropic” equations

Page 5: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Who cares about the oceans?Climate scientists, oceanographers, coastal

residents of South Wales, …

• Climate ocean models typically Order(1º)– Most of turbulent spectrum parameterized, not resolved

• Atmosphere forces the oceans– through winds, fluxes of heat, fresh water

• Ocean responds – with transport of heat, salinity

• Ocean forces the atmosphere– through sea surface temperature

• So… an ocean model for climate had better produce the right sea surface temperatures– implying circulation must be very nearly correct

Page 6: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab
Page 7: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Stommel Gyre test problem

• Stommel (1948) found analytical solution for gyre circulation from balance of wind stress and bottom drag, when on a rotating sphere

Passive tracer advective test problem in highly sheared flow field, from Hecht, Holland and Rasch (J. Geophys. Res. 1995)

Page 8: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Reference Solution

We send the tracerthrough thewestern boundarycurrent once.

Reference solutionis producednumerically.

Page 9: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Selected resultsAs on previous slide Centered leapfrog

O(3) upwindWith 1antidiffusivepass

Page 10: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Centered cases with diffusionWith “typical” value:

With lower value,such that reductionin peak ~same asfor MPDATA

Looks verysimilar toMPDATA

Looks like O(1)donor cell result(not shown)

Page 11: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Rotated Stommel Gyre

• In previous work, fast western boundary current was aligned with principal grid axis– Here it is at 45º, for a

more discriminating test, in Hecht, Wingate and Kassis (Ocean Modelling, 2000)

Page 12: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Reference Solution

• Same reference solution (produced more elegantly by Beth Wingate).

Page 13: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Results

Page 14: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Evaluation of advection schemes in a primitive equation ocean model

• Very simple – wind stress

– heat flux

– fresh water flux

with simple flat-bottom configuration produce idealization of Atlantic circulation (Hecht, Bryan and Holland, J. Geophys. Res., 1998)

Page 15: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Vertically-integrated flow

• Vertically integrated flow is as predicted by Sverdrup– Magnitude of N/S flow proportional

to curl of wind stress

• Think of northern-most gyre as being idealization of “sub-polar gyre” (Labrador Sea/Northern North Atlantic)

• Think of second northern-most gyre as “subtropical gyre” -- containing the Gulf Stream

Page 16: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Velocities at level 3

Even though forcing is simple, response is complex

Page 17: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Poleward transports

• Atlantic-like northern deep water formation– This was set

up through asymmetry in heat flux forcing

Page 18: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Gravitational instability and mixing

From a section through the western boundary.

Centered-leapfrog produces 2 dz noise which creates spurious instabilities.

MPDATA run without limiting

Page 19: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Some problems require strict limiting

Here, looking at idealized age tracer (“ideal age”), set to 0 atsurface, constant clock source elsewhere. Age shouldn’t begreater than the duration of the run (or less zero)!

Page 20: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Cost of limiting motivates “supercycling”

In some simulations CFL for passive scalars is significantly less restrictive than time-step limitation for dynamical tracers (density) presented by internal waves

Longer time steps can be taken on passive scalars, using either instantaneous or time-averaged mid-point velocity.

Page 21: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

From supercycling of passive scalars to “Method of Averaging”

• Supercycling in ocean models hasn’t caught on, because of competition from another acceleration technique– This thinking led us into:

• Method of Averaging (MOA)– Use of time-averaged (low-pass filtered) advecting

velocities in momentum equations, to low-pass filter wave motions and allow for stable integrations with a relatively long time step.

Page 22: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Does any of this matter?

• “Equatorial nutrient trapping” -- discussed for years -- was a consequence of advective error

Page 23: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

…and it’s hard to maintain 7 orders of magnitude difference in mixing between

quasi-horizontal and vertical directions

• Griffies shows how to diagnose spurious, numerical mixing

Page 24: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Special projects in ocean modeling with MPDATA

Now back to our regular programming…

•Method of Averaging (MOA)–Use of time-averaged (low-pass filtered) advecting velocities in momentum equations, to low-pass filter wave motions and allow for stable integrations with a relatively long time step.

Page 25: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Method of Averaging

IfDT is CFL-limited time step

anddt is internal-wave limited time step

whereDT = M * dt (M is some integer)

1) First, using O(1) donor cell advection, integrate through DT by taking M small steps of size dt.

2) Then, using a high-order method with the time-averaged advecting velocity from 1), repeat integratation through DT in one step.

Page 26: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Rossby to Kelvin Wave ProblemProblem taken from Milliff & McWilliams (1994)

Applied with Method of Averaging in Nadiga, Hecht, Margolin & Smolarkiewicz (1997).

Page 27: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Results with MOA

MOA result, with 8x larger time step, compares well with explicitreference case

Page 28: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Kelvin Wave signal at boundary point

Explicit reference case contains higher frequencies, MOA case is smoother line (ignore 3rd, offset curve).

MOA accurately reproduces low-pass Kelvin Wave signal.

Page 29: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Use of MOA

• In forest fire code– Reisner et al., Monthly Weather Review, 2000.

Page 30: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

DNS of rotating tank/boundary separation

From Baines and Hughes, J. Physical Oceanography, 1996.

DNS with EULAG code

Page 31: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Time stepping schemes used in ocean modelsMomentum equations

3D (slow) 2D (fast)Scalar eqns

HIM and POSUM have Forward with PC or FB; other modelslisted only have options for Forward on tracers (scalars).

From Griffies 2000

Page 32: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

The Future:New models under development

with 2-time-level dynamical cores

• Bob Higdon’s dy. core uses MPDATA Developed as alternative dy. core for

– Miami Isopycnic Ocean Model (MICOM) – Hybrid Coordinate Ocean Model (HYCOM)

MI/HYCOM use form of MPDATA developed by Drange & Bleck (‘97) for adv of temperature

• Los Alamos’ HYPOP using Dukowicz’s forward-in-time “remapping”

• Are finite elements in our future (really)?

Page 33: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Higdon’s dynamical coreJCP, 2002

Page 34: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Time-evolution of interface

Page 35: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Asymptotic state

Page 36: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

In Summary

• Forward-in-time methods are in common use for scalar transport, where problems with 2 grid point noise and spurious extrema are obvious.

• New models are being developed with fully forward-in-time dynamical cores.– HOME effort to share code in layered ocean

models will be largely forward-in-time

Page 37: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

• Gulf Stream, North Atlantic Current into the “Northwest Corner”, seen in Sea Surface Height

C=1

C=1/2

C=1/4

TOPEX

Obs Models

Page 38: Forward-in-time Methods in Ocean Modeling Matthew Hecht Los Alamos National Lab

Western boundary currents (boundary jets)

Maltrud and McClean,

Ocean Modelling,

2004