_ALE.dox

1/*! \page ALE Vertical Lagrangian method: conceptual
2
3\section section_ALE Lagrangian and ALE
4
5As discussed by Adcroft and Hallberg (2008) \cite adcroft2006 and
6Griffies, Adcroft and Hallberg (2020) \cite Griffies_Adcroft_Hallberg2020,
7we can conceive of two general classes
8of algorithms that frame how hydrostatic ocean models are
9formulated. The two classes differ in how they treat the vertical
10direction. Quasi-Eulerian methods follow the approach traditionally
11used in geopotential coordinate models, whereby vertical motion is
12diagnosed via the continuity equation. Quasi-Lagrangian methods are
13traditionally used by layered isopycnal models, with the vertical
14Lagrangian approach specifying motion that crosses coordinate
15surfaces. Indeed, such dia-surface flow can be set to zero using
16Lagrangian methods for studies of adiabatic dynamics. MOM6 makes use
17of the vertical Lagrangian remap method, as pioneered for ocean
18modeling by Bleck (2002) \cite bleck2002 and further documented by
19\cite Griffies_Adcroft_Hallberg2020, with this method a limit case of
20the Arbitrary-Lagrangian-Eulerian method (\cite hirt1997). Dia-surface
21transport is implemented via a remapping so that the method can be
22summarized as the Lagrangian plus remap approach and so it is a
23one-dimensional version of the incremental remapping of Dukowicz (2000)
24\cite dukowicz2000.
25
26\image html ALE_general_schematic.png "Schematic of the 3d Lagrangian regrid/remap method" width=70%
27\image latex ALE_general_schematic.png "Schematic of the 3d Lagrangian regrid/remap method" width=0.7\textwidth
28
29Refer to the above figure taken from Griffies, Adcroft, and Hallberg
30(2020) \cite Griffies_Adcroft_Hallberg2020. It shows a schematic of
31the Lagrangian-remap method as well as the Arbitrary
32Lagrangian-Eulerian (ALE) method. The first panel shows a square fluid
33region and square grid used to represent the fluid, along with
34rectangular subregions partitioned by grid lines. The second panel
35shows the result of evolving the fluid region and evolving the
36grid. The grid can evolve according to the fluid flow, as per a
37Lagrangian method, or it can evolve according to some specified grid
38evolution, as per an ALE method. The right panel depicts the grid
39reinitialization onto a target grid (the regrid step). A regrid step
40necessitates a corresponding remap step to estimate the ocean state on
41the target grid, with conservative remapping required to preserve
42integrated scalar contents (e.g., potential enthalpy, salt mass, and
43seawater mass). The regrid/remap steps are needed for Lagrangian
44methods in order for the grid to retain an accurate representation of
45the ocean state. Ideally, the remap step does not affect any changes
46to the fluid state; rather, it only modifies where in space the fluid
47state is represented. However, any numerical realization incurs
48interpolation inaccuracies that lead to unphysical (spurious) state
49changes.
50
51\section section_ALE_MOM Vertical Lagrangian regrid/remap method
52
53We now get a bit more specific to the vertical Lagrangian method.
54For this purpose, recall recall the basic dynamical equations (those
55equations with a time derivative) of MOM6 discussed in
56\ref General_Coordinate
57\f{align}
58\rho_0
59\left[ \frac{\partial \mathbf{u}}{\partial t} + \frac{( f + \zeta )}{h} \,
60\hat{\mathbf{z}} \times h \, \mathbf{u} + \underbrace{ \dot{r} \,
61\frac{\partial \mathbf{u}}{\partial r} }
62\right]
63&= -\nabla_r \, (p + \rho_{0} \, K) -
64\rho \nabla_r \, \Phi + \mathbf{\mathcal{F}}
65&\mbox{horizontal momentum}
66\label{eq:h-horz-momentum-vlm}
67\\
68\frac{\partial h}{\partial t} + \nabla_r \cdot \left( h \, \mathbf{u} \right) +
69\underbrace{ \delta_r ( z_r \dot{r} ) }
70 &= 0
71&\mbox{thickness}
72\label{eq:h-thickness-equation-vlm}
73\\
74\frac{\partial ( \theta \, h )}{\partial t} + \nabla_r \cdot \left( \theta h \,
75\mathbf{u} \right) + \underbrace{ \delta_r ( \theta \, z_r \dot{r} ) }
76&=
77h \mathbf{\mathcal{N}}_\theta^\gamma - \delta_r J_\theta^{(z)}
78&\mbox{potential/Conservative temp}
79\label{eq:h-temperature-equation-vlm}
80 \\
81\frac{\partial ( S \, h )}{\partial t} + \nabla_r \cdot \left( S \, h \,
82\mathbf{u} \right) + \underbrace{ \delta_r ( S \, z_r \dot{r} ) }
83 &=
84h \mathbf{\mathcal{N}}_S^\gamma - \delta_r J_S^{(z)}
85&\mbox{salinity}
86\label{eq:h-salinity-equation-vlm}
87\f}
88The MOM6 implementation of the vertical Lagrangian method makes
89use of two general steps. The first evolves the ocean state forward in
90time according to a vertical Lagrangian approach with with
91\f$\dot{r}=0\f$. Hence, the horizontal momentum, thickness, and
92tracers are time stepped with the underbraced terms removed in the
93above equations. All advective transport occurs within a layer as
94defined by constant \f$r\f$-surfaces so that the volume within each
95layer is fixed. All other terms are retained in their full form,
96including subgrid scale terms that contribute to the transfer of
97tracer and momentum into distinct \f$r\f$ layers (e.g., dia-surface
98diffusion of tracer and velocity). Maintaining constant volume within
99a layer yet allowing for tracers to move between layers engenders no
100inconsistency between tracer and thickness evolution. The reason is
101that tracer diffusion, even dia-surface diffusion, does not transfer
102volume.
103
104The second step in the method comprises the generation of a new
105vertical grid following a prescription, such as whether the grid
106should align with isopcynals or constant \f$z^{*}\f$ or a combination.
107This second step is known as the regrid step. The ocean state is then
108vertically remapped to the newly generated vertical grid. This
109remapping step incorporates dia-surface transfer of properties, with
110such transfer depending on the prescription given for the vertical
111grid generation. To minimize discretization errors and the associated
112spurious mixing, the remapping step makes use of the high order
113accurate methods developed by \cite white2008 and \cite white2009.
114
115
116\section section_ALE_MOM_numerics Outlining the numerical algorithm
117
118The underlying algorithm for treatment of the vertical can be related
119to operator-splitting of the underbraced terms in the above equations.
120If we consider, for simplicity, an Euler-forward update for a
121time-step \f$\Delta t\f$, the time-stepping for the thickness and
122tracer equation (\f$C\f$ is an arbitrary tracer) can be summarized as
123(from Table 1 in Griffies, Adcroft and Hallberg (2020)
124\cite Griffies_Adcroft_Hallberg2020)
125\f{align}
126\label{html:ale-equations}\notag
127\\
128 \delta_{r} w^{\scriptstyle{\mathrm{grid}}}
129 &= -\nabla_{r} \cdot [h \, \mathbf{u}]^{(n)}
130 &\mbox{layer motion via horz conv}
131\\
132 h^{\dagger} &= h^{(n)} + \Delta t \, \delta_{r} w^{\scriptstyle{\mathrm{grid}}}
133= h^{(n)} - \Delta t \, \nabla_{r} \cdot [h \, \mathbf{u}]^{(n)}
134 &\mbox{update thickness via horz advect}
135\\
136 [h \, C]^{\dagger} &= [h \, C]^{(n)} -\Delta t \, \nabla_{r} \cdot [ h \, C \, \mathbf{u} ]^{(n)}
137 &\mbox{update tracer via horz advect}
138\\
139 h^{(n+1)} &= h^{\scriptstyle{\mathrm{target}}}
140 &\mbox{regrid to the target grid}
141\\
142 \delta_{r} w^{(\dot{r})} &= -(h^{\scriptstyle{\mathrm{target}}} - h^{\dagger})/\Delta t
143 &\mbox{diagnose dia-surface transport}
144\\
145 [h \, C]^{(n+1)} &= [h \, C]^{\dagger} - \Delta t \, \delta_{r} ( w^{(\dot{r})} \, C^{\dagger})
146 &\mbox{remap tracer via dia-surface transport}
147\f}
148The first three equations constitute the Lagrangian portion of the
149algorithm. In particular, the second equation provides an
150intermediate or predictor value for the updated thickness,
151\f$h^{\dagger}\f$, resulting from the vertical Lagrangian update.
152Similarly, the third equation performs a Lagrangian update of the
153thickness-weighted tracer to intermediate values, again operationally
154realized by dropping the \f$w^{(\dot{r})}\f$ contribution.
155The fourth equation is the regrid step, which is the key step in the
156algorithm with the new grid defined by the new thickness
157\f$h^{(n+1)}\f$. The new thickness is prescribed by the target values
158for the vertical grid,
159\f{align}
160 h^{(n+1)} = h^{\scriptstyle{\mathrm{target}}}.
161\f}
162The prescribed target grid thicknesses are then used to diagnose the
163dia-surface velocity according to
164\f{align}
165 \delta_{r} w^{(\dot{r})} = -(h^{\scriptstyle{\mathrm{target}}} - h^{\dagger})/\Delta t.
166\f}
167This step, and the remaining step for tracers, constitute the
168remapping portion of the algorithm. For example, if the prescribed
169coordinate surfaces are geopotentials, then \f$w^{(\dot{r})}\f$ and
170\f$h^{\scriptstyle{\mathrm{target}}} = h^{(n)}\f$, in which case the
171remap step reduces to Cartesian vertical advection.
172
173Within the above framework for evolving the ocean state, we make use
174of a standard split-explicit time stepping method by decomposing the
175horizontal momentum equation into its fast (depth integrated) and slow
176(deviation from depth integrated) components. Furthermore, we follow
177the methods of Hallberg and Adcroft (2009) \cite hallberg2009 to
178ensure that the free surface resulting from time stepping the depth
179integrated thickness equation (i.e., the free surface equation) is
180consistent with the sum of the thicknesses that result from time
181stepping the layer thickness equations for each of the discretized
182layers; i.e., \f$\sum_{k} h = H + \eta\f$.
183
184*/