_Advection.dox

1/*! \page Tracer_Advection Tracer Advection
2
3MOM6 implements a generalised tracer advection scheme, which is a
4combination of the modified flux advection scheme \cite easter1993 with
5reconstructed tracer distributions. The tracer distributions may be
6piecewise linear (PLM) or piecewise parabolic (PPM), which may itself
7use either the \cite colella1984 (CW84) or \cite huynh1997 (H3) reconstruction.
8
9\section Flux_advection Flux advection
10The modified flux advection scheme preserves the tracer mixing ratio in
11a cell across directional splitting by accounting for changes in mass
12changes. Fluxes are applied to alternate directions in turn, restricting
13the applied flux so as not to evacuate all mass out of a cell. Because
14of this, we need to know the stencil used during the calculation of the
15reconstruction. Every iteration of the splitting algorithm, cells at the
16edge of a processor's data domain are invalidated. When this invalidation
17region extends below the halo, a group pass is required to refresh the
18halo. A larger stencil (such as for the CW84 reconstruction) therefore
19introduces more frequent updates, and may impact performance.
20
21\section Tracer_reconstruction Tracer reconstruction
22While MOM6 only carries the mean tracer concentration in a cell,
23a higher order reconstruction is computed for the purpose of
24advection. Reconstructions are also modified to ensure that monotonicity
25is preserved (i.e. spurious minima or maxima cannot be introduced).
26
27The piecewise linear (PLM) reconstruction uses the monotonic modified
28van Leer scheme \cite lin1994. One might think to use the average
29of the one-sided differences of mean tracer concentration within a cell
30to calculate the slope of the linear reconstruction, however this method
31guarantees neither monotonicity, nor positive definiteness. Instead, the
32method is locally limited to the minimum of this average slope and each
33of the one-sided slopes, i.e. \f[\Delta \Phi_i = \min\left\{\left|[\Delta
34\Phi_i]_\text{avg}\right|, 2\left(\Phi_i - \Phi_i^\text{min}\right),
352\left(\Phi_i^\text{max} - \Phi_i\right)\right\}\f] (where
36\f$\Phi_i^\text{min}\f$ is the minimum in the 3-point stencil).
37
38In a PPM scheme (\ref PPM), for a cell with mean tracer concentration \f$\Phi_i\f$,
39the values at the left and right interfaces, \f$\Phi_{L,i}\f$
40and \f$\Phi_{R,i}\f$ must be estimated. First, an interpolation is
41used to calculate \f$\Phi_{i-1/2}\f$ and \f$\Phi_{i+1/2}\f$. These
42values are then modified to preserve monotonicity in each cell, which
43introduces discontinuities between cell edges (e.g. \f$\Phi_{R,i}\f$
44and \f$\Phi_{L,i+1}\f$).
45
46The reconstruction \f$\Phi_i(\xi)\f$ then satisfies three properties:
47
48- total amount of tracer is conserved, \f$\int_{\xi_{i-1/2}}^{\xi_{i+1/2}} \Phi_i(\xi') \,\mathrm d\xi' = \Phi_i\f$
49- left interface value matches, \f$\Phi(\xi_{i-1/2}) = \Phi_{L,i}\f$
50- right interface value matches, \f$\Phi(\xi_{i+1/2}) = \Phi_{R,i}\f$
51
52There are two methods of reconstruction for a piecewise parabolic
53(PPM) profile. They differ in the estimate of interface values
54\f$\Phi_{i+1/2}\f$ prior to monotonicity limiting. The CW84
55scheme makes use of the limited slope \f$\Delta\Phi_i\f$
56from PLM, above. This has the effect of requiring a larger stencil
57for each reconstruction. On the other hand, the H3 scheme
58reduces the requirement of this stencil, by only examining the tracer
59concentrations in adjacent cells, at the same time reducing order of
60accuracy of the reconstruction.
61
62*/