Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Advection on the C-grid: one term, three ways to compute it

esmax · ocean · 7 · Flux, advective and Arakawa Jacobian forms of the advection term, in finitevolX's stencil conventions, run on one test

Abstract

The advection term moves a quantity along with the flow. In the continuous equations it can be written in three ways that are all equal. However, on a grid they stop being equal, as each one puts the approximation in a different place and keeps a different set of quantities exactly. In this page, we go from the PDE to the stencils, in finitevolX’s conventions, and run all three on the same test.

Keywords:advectionArakawa C-gridfinite volumeArakawa JacobianconservationfinitevolX

Open the full page

Where it sits. A refresher on the term the learned schemes replace, and what each discrete form conserves. The full page is a self-contained document with operator boxes (inputs, outputs, shapes and units), figures and code sketches, which opens on its own and links back here.

TL;DR: Same term, different approximation

Here q(s,t)∈Rq(\vect{s}, t) \in \mathbb{R} is the advected quantity, v=(u,v)∈R2\vect{v} = (u, v) \in \mathbb{R}^2 the velocity in m s⁻¹, ψ(s,t)∈R\psi(\vect{s}, t) \in \mathbb{R} the streamfunction, J(ψ,q)∈RJ(\psi, q) \in \mathbb{R} the Jacobian of the two fields, and ∇:=∇s\nabla := \nabla_{\vect{s}} is the gradient in the spatial coordinates s∈R2\vect{s} \in \mathbb{R}^2.

On the page

  1. What the advection term says

  2. Where the term appears

  3. Three ways to write the same term

  4. The grid

  5. Form 1 · Flux form (finite volume)

  6. Form 2 · Advective form

  7. Form 3 · Jacobian form (Arakawa)

  8. All three, on the same test

  9. Momentum advection, briefly

  10. Back to the question