[10414] | 1 | \documentclass[../main/NEMO_manual]{subfiles} |
---|
| 2 | |
---|
[6997] | 3 | \begin{document} |
---|
[11598] | 4 | |
---|
[2282] | 5 | \chapter{Note on some algorithms} |
---|
[11543] | 6 | \label{apdx:ALGOS} |
---|
[10414] | 7 | |
---|
[11598] | 8 | \thispagestyle{plain} |
---|
| 9 | |
---|
[11435] | 10 | \chaptertoc |
---|
[707] | 11 | |
---|
[11598] | 12 | \paragraph{Changes record} ~\\ |
---|
| 13 | |
---|
| 14 | {\footnotesize |
---|
| 15 | \begin{tabularx}{\textwidth}{l||X|X} |
---|
| 16 | Release & Author(s) & Modifications \\ |
---|
| 17 | \hline |
---|
| 18 | {\em 4.0} & {\em ...} & {\em ...} \\ |
---|
| 19 | {\em 3.6} & {\em ...} & {\em ...} \\ |
---|
| 20 | {\em 3.4} & {\em ...} & {\em ...} \\ |
---|
| 21 | {\em <=3.4} & {\em ...} & {\em ...} |
---|
| 22 | \end{tabularx} |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | \clearpage |
---|
| 26 | |
---|
[11543] | 27 | This appendix some on going consideration on algorithms used or planned to be used in \NEMO. |
---|
[10354] | 28 | |
---|
[11597] | 29 | %% ================================================================================================= |
---|
[11582] | 30 | \section{Upstream Biased Scheme (UBS) (\protect\np[=.true.]{ln_traadv_ubs}{ln\_traadv\_ubs})} |
---|
[11544] | 31 | \label{sec:ALGOS_tra_adv_ubs} |
---|
[707] | 32 | |
---|
[10354] | 33 | The UBS advection scheme is an upstream biased third order scheme based on |
---|
| 34 | an upstream-biased parabolic interpolation. |
---|
| 35 | It is also known as Cell Averaged QUICK scheme (Quadratic Upstream Interpolation for Convective Kinematics). |
---|
| 36 | For example, in the $i$-direction: |
---|
[10414] | 37 | \begin{equation} |
---|
[11544] | 38 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 39 | \tau_u^{ubs} = \left\{ |
---|
| 40 | \begin{aligned} |
---|
| 41 | & \tau_u^{cen4} + \frac{1}{12} \,\tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ |
---|
| 42 | & \tau_u^{cen4} - \frac{1}{12} \,\tau"_{i+1} & \quad \text{if }\ u_{i+1/2} < 0 |
---|
| 43 | \end{aligned} |
---|
| 44 | \right. |
---|
[707] | 45 | \end{equation} |
---|
| 46 | or equivalently, the advective flux is |
---|
[10414] | 47 | \begin{equation} |
---|
[11544] | 48 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 49 | U_{i+1/2} \ \tau_u^{ubs} |
---|
| 50 | =U_{i+1/2} \ \overline{ T_i - \frac{1}{6}\,\tau"_i }^{\,i+1/2} |
---|
| 51 | - \frac{1}{2}\, |U|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] |
---|
[707] | 52 | \end{equation} |
---|
[10354] | 53 | where $U_{i+1/2} = e_{1u}\,e_{3u}\,u_{i+1/2}$ and |
---|
[10406] | 54 | $\tau "_i =\delta_i \left[ {\delta_{i+1/2} \left[ \tau \right]} \right]$. |
---|
[10354] | 55 | By choosing this expression for $\tau "$ we consider a fourth order approximation of $\partial_i^2$ with |
---|
| 56 | a constant i-grid spacing ($\Delta i=1$). |
---|
[707] | 57 | |
---|
[11543] | 58 | Alternative choice: introduce the scale factors: |
---|
[10406] | 59 | $\tau "_i =\frac{e_{1T}}{e_{2T}\,e_{3T}}\delta_i \left[ \frac{e_{2u} e_{3u} }{e_{1u} }\delta_{i+1/2}[\tau] \right]$. |
---|
[707] | 60 | |
---|
[11435] | 61 | This results in a dissipatively dominant (\ie\ hyper-diffusive) truncation error |
---|
[11123] | 62 | \citep{shchepetkin.mcwilliams_OM05}. |
---|
| 63 | The overall performance of the advection scheme is similar to that reported in \cite{farrow.stevens_JPO95}. |
---|
[10354] | 64 | It is a relatively good compromise between accuracy and smoothness. |
---|
| 65 | It is not a \emph{positive} scheme meaning false extrema are permitted but |
---|
| 66 | the amplitude of such are significantly reduced over the centred second order method. |
---|
[11543] | 67 | Nevertheless it is not recommended to apply it to a passive tracer that requires positivity. |
---|
[707] | 68 | |
---|
[10354] | 69 | The intrinsic diffusion of UBS makes its use risky in the vertical direction where |
---|
| 70 | the control of artificial diapycnal fluxes is of paramount importance. |
---|
| 71 | It has therefore been preferred to evaluate the vertical flux using the TVD scheme when |
---|
[11582] | 72 | \np[=.true.]{ln_traadv_ubs}{ln\_traadv\_ubs}. |
---|
[707] | 73 | |
---|
[11543] | 74 | For stability reasons, in \autoref{eq:TRA_adv_ubs}, the first term which corresponds to |
---|
[10354] | 75 | a second order centred scheme is evaluated using the \textit{now} velocity (centred in time) while |
---|
| 76 | the second term which is the diffusive part of the scheme, is evaluated using the \textit{before} velocity |
---|
| 77 | (forward in time). |
---|
[11123] | 78 | This is discussed by \citet{webb.de-cuevas.ea_JAOT98} in the context of the Quick advection scheme. |
---|
[10354] | 79 | UBS and QUICK schemes only differ by one coefficient. |
---|
[11543] | 80 | Substituting 1/6 with 1/8 in (\autoref{eq:TRA_adv_ubs}) leads to the QUICK advection scheme \citep{webb.de-cuevas.ea_JAOT98}. |
---|
[10354] | 81 | This option is not available through a namelist parameter, since the 1/6 coefficient is hard coded. |
---|
| 82 | Nevertheless it is quite easy to make the substitution in \mdl{traadv\_ubs} module and obtain a QUICK scheme. |
---|
[707] | 83 | |
---|
[10354] | 84 | NB 1: When a high vertical resolution $O(1m)$ is used, the model stability can be controlled by vertical advection |
---|
| 85 | (not vertical diffusion which is usually solved using an implicit scheme). |
---|
| 86 | Computer time can be saved by using a time-splitting technique on vertical advection. |
---|
| 87 | This possibility have been implemented and validated in ORCA05-L301. |
---|
[11543] | 88 | It is not currently offered in the current reference version. |
---|
[707] | 89 | |
---|
[10354] | 90 | NB 2: In a forthcoming release four options will be proposed for the vertical component used in the UBS scheme. |
---|
[10406] | 91 | $\tau_w^{ubs}$ will be evaluated using either \textit{(a)} a centered $2^{nd}$ order scheme, |
---|
[10354] | 92 | or \textit{(b)} a TVD scheme, or \textit{(c)} an interpolation based on conservative parabolic splines following |
---|
[11123] | 93 | \citet{shchepetkin.mcwilliams_OM05} implementation of UBS in ROMS, or \textit{(d)} an UBS. |
---|
[10354] | 94 | The $3^{rd}$ case has dispersion properties similar to an eight-order accurate conventional scheme. |
---|
[707] | 95 | |
---|
[11543] | 96 | NB 3: It is straight forward to rewrite \autoref{eq:TRA_adv_ubs} as follows: |
---|
[10414] | 97 | \begin{equation} |
---|
[11544] | 98 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 99 | \tau_u^{ubs} = \left\{ |
---|
| 100 | \begin{aligned} |
---|
| 101 | & \tau_u^{cen4} + \frac{1}{12} \tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ |
---|
| 102 | & \tau_u^{cen4} - \frac{1}{12} \tau"_{i+1} & \quad \text{if }\ u_{i+1/2} < 0 |
---|
| 103 | \end{aligned} |
---|
| 104 | \right. |
---|
[707] | 105 | \end{equation} |
---|
[11543] | 106 | or equivalently |
---|
[10414] | 107 | \begin{equation} |
---|
[11544] | 108 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 109 | \begin{split} |
---|
| 110 | e_{2u} e_{3u}\,u_{i+1/2} \ \tau_u^{ubs} |
---|
| 111 | &= e_{2u} e_{3u}\,u_{i+1/2} \ \overline{ T - \frac{1}{6}\,\tau"_i }^{\,i+1/2} \\ |
---|
| 112 | & - \frac{1}{2} e_{2u} e_{3u}\,|u|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] |
---|
| 113 | \end{split} |
---|
[707] | 114 | \end{equation} |
---|
[11543] | 115 | \autoref{eq:TRA_adv_ubs2} has several advantages. |
---|
[10354] | 116 | First it clearly evidences that the UBS scheme is based on the fourth order scheme to which |
---|
| 117 | is added an upstream biased diffusive term. |
---|
| 118 | Second, this emphasises that the $4^{th}$ order part have to be evaluated at \emph{now} time step, |
---|
[11543] | 119 | not only the $2^{th}$ order part as stated above using \autoref{eq:TRA_adv_ubs}. |
---|
[10354] | 120 | Third, the diffusive term is in fact a biharmonic operator with a eddy coefficient which |
---|
| 121 | is simply proportional to the velocity. |
---|
[707] | 122 | |
---|
| 123 | laplacian diffusion: |
---|
[10414] | 124 | \begin{equation} |
---|
[11544] | 125 | \label{eq:ALGOS_tra_ldf_lap} |
---|
[10414] | 126 | \begin{split} |
---|
| 127 | D_T^{lT} =\frac{1}{e_{1T} \; e_{2T}\; e_{3T} } &\left[ {\quad \delta_i |
---|
| 128 | \left[ {A_u^{lT} \frac{e_{2u} e_{3u} }{e_{1u} }\;\delta_{i+1/2} |
---|
| 129 | \left[ T \right]} \right]} \right. \\ |
---|
| 130 | &\ \left. {+\; \delta_j \left[ |
---|
| 131 | {A_v^{lT} \left( {\frac{e_{1v} e_{3v} }{e_{2v} }\;\delta_{j+1/2} \left[ T |
---|
| 132 | \right]} \right)} \right]\quad } \right] |
---|
| 133 | \end{split} |
---|
[707] | 134 | \end{equation} |
---|
| 135 | |
---|
| 136 | bilaplacian: |
---|
[10414] | 137 | \begin{equation} |
---|
[11544] | 138 | \label{eq:ALGOS_tra_ldf_lap} |
---|
[10414] | 139 | \begin{split} |
---|
| 140 | D_T^{lT} =&-\frac{1}{e_{1T} \; e_{2T}\; e_{3T}} \\ |
---|
| 141 | & \delta_i \left[ \sqrt{A_u^{lT}}\ \frac{e_{2u}\,e_{3u}}{e_{1u}}\;\delta_{i+1/2} |
---|
| 142 | \left[ \frac{1}{e_{1T}\,e_{2T}\, e_{3T}} |
---|
| 143 | \delta_i \left[ \sqrt{A_u^{lT}}\ \frac{e_{2u}\,e_{3u}}{e_{1u}}\;\delta_{i+1/2} |
---|
| 144 | [T] \right] \right] \right] |
---|
| 145 | \end{split} |
---|
[707] | 146 | \end{equation} |
---|
[11543] | 147 | with ${A_u^{lT}}^2 = \frac{1}{12} {e_{1u}}^3\ |u|$, |
---|
[11435] | 148 | \ie\ $A_u^{lT} = \frac{1}{\sqrt{12}} \,e_{1u}\ \sqrt{ e_{1u}\,|u|\,}$ |
---|
[10354] | 149 | it comes: |
---|
[10414] | 150 | \begin{equation} |
---|
[11544] | 151 | \label{eq:ALGOS_tra_ldf_lap} |
---|
[10414] | 152 | \begin{split} |
---|
| 153 | D_T^{lT} =&-\frac{1}{12}\,\frac{1}{e_{1T} \; e_{2T}\; e_{3T}} \\ |
---|
| 154 | & \delta_i \left[ e_{2u}\,e_{3u}\,\sqrt{ e_{1u}\,|u|\,}\;\delta_{i+1/2} |
---|
| 155 | \left[ \frac{1}{e_{1T}\,e_{2T}\, e_{3T}} |
---|
| 156 | \delta_i \left[ e_{2u}\,e_{3u}\,\sqrt{ e_{1u}\,|u|\,}\;\delta_{i+1/2} |
---|
| 157 | [T] \right] \right] \right] |
---|
| 158 | \end{split} |
---|
[707] | 159 | \end{equation} |
---|
[11435] | 160 | if the velocity is uniform (\ie\ $|u|=cst$) then the diffusive flux is |
---|
[10414] | 161 | \begin{equation} |
---|
[11544] | 162 | \label{eq:ALGOS_tra_ldf_lap} |
---|
[10414] | 163 | \begin{split} |
---|
| 164 | F_u^{lT} = - \frac{1}{12} |
---|
| 165 | e_{2u}\,e_{3u}\,|u| \;\sqrt{ e_{1u}}\,\delta_{i+1/2} |
---|
| 166 | \left[ \frac{1}{e_{1T}\,e_{2T}\, e_{3T}} |
---|
| 167 | \delta_i \left[ e_{2u}\,e_{3u}\,\sqrt{ e_{1u}}\:\delta_{i+1/2} |
---|
| 168 | [T] \right] \right] |
---|
| 169 | \end{split} |
---|
[707] | 170 | \end{equation} |
---|
| 171 | beurk.... reverte the logic: starting from the diffusive part of the advective flux it comes: |
---|
| 172 | |
---|
[10414] | 173 | \begin{equation} |
---|
[11544] | 174 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 175 | \begin{split} |
---|
| 176 | F_u^{lT} &= - \frac{1}{2} e_{2u} e_{3u}\,|u|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] |
---|
| 177 | \end{split} |
---|
[707] | 178 | \end{equation} |
---|
[11435] | 179 | if the velocity is uniform (\ie\ $|u|=cst$) and |
---|
[10406] | 180 | choosing $\tau "_i =\frac{e_{1T}}{e_{2T}\,e_{3T}}\delta_i \left[ \frac{e_{2u} e_{3u} }{e_{1u} } \delta_{i+1/2}[\tau] \right]$ |
---|
[707] | 181 | |
---|
| 182 | sol 1 coefficient at T-point ( add $e_{1u}$ and $e_{1T}$ on both side of first $\delta$): |
---|
[10414] | 183 | \begin{equation} |
---|
[11544] | 184 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 185 | \begin{split} |
---|
| 186 | F_u^{lT} &= - \frac{1}{12} \frac{e_{2u} e_{3u}}{e_{1u}}\;\delta_{i+1/2}\left[ \frac{e_{1T}^3\,|u|}{e_{1T}e_{2T}\,e_{3T}}\,\delta_i \left[ \frac{e_{2u} e_{3u} }{e_{1u} } \delta_{i+1/2}[\tau] \right] \right] |
---|
| 187 | \end{split} |
---|
[707] | 188 | \end{equation} |
---|
| 189 | which leads to ${A_T^{lT}}^2 = \frac{1}{12} {e_{1T}}^3\ \overline{|u|}^{\,i+1/2}$ |
---|
| 190 | |
---|
| 191 | sol 2 coefficient at u-point: split $|u|$ into $\sqrt{|u|}$ and $e_{1T}$ into $\sqrt{e_{1u}}$ |
---|
[10414] | 192 | \begin{equation} |
---|
[11544] | 193 | \label{eq:ALGOS_tra_adv_ubs2} |
---|
[10414] | 194 | \begin{split} |
---|
| 195 | F_u^{lT} &= - \frac{1}{12} {e_{1u}}^1 \sqrt{e_{1u}|u|} \frac{e_{2u} e_{3u}}{e_{1u}}\;\delta_{i+1/2}\left[ \frac{1}{e_{2T}\,e_{3T}}\,\delta_i \left[ \sqrt{e_{1u}|u|} \frac{e_{2u} e_{3u} }{e_{1u} } \delta_{i+1/2}[\tau] \right] \right] \\ |
---|
| 196 | &= - \frac{1}{12} e_{1u} \sqrt{e_{1u}|u|\,} \frac{e_{2u} e_{3u}}{e_{1u}}\;\delta_{i+1/2}\left[ \frac{1}{e_{1T}\,e_{2T}\,e_{3T}}\,\delta_i \left[ e_{1u} \sqrt{e_{1u}|u|\,} \frac{e_{2u} e_{3u} }{e_{1u}} \delta_{i+1/2}[\tau] \right] \right] |
---|
| 197 | \end{split} |
---|
[707] | 198 | \end{equation} |
---|
| 199 | which leads to ${A_u^{lT}} = \frac{1}{12} {e_{1u}}^3\ |u|$ |
---|
| 200 | |
---|
[11597] | 201 | %% ================================================================================================= |
---|
[9393] | 202 | \section{Leapfrog energetic} |
---|
[11544] | 203 | \label{sec:ALGOS_LF} |
---|
[707] | 204 | |
---|
[10354] | 205 | We adopt the following semi-discrete notation for time derivative. |
---|
| 206 | Given the values of a variable $q$ at successive time step, |
---|
| 207 | the time derivation and averaging operators at the mid time step are: |
---|
[10414] | 208 | \[ |
---|
[11544] | 209 | % \label{eq:ALGOS_dt_mt} |
---|
[10414] | 210 | \begin{split} |
---|
| 211 | \delta_{t+\rdt/2} [q] &= \ \ \, q^{t+\rdt} - q^{t} \\ |
---|
| 212 | \overline q^{\,t+\rdt/2} &= \left\{ q^{t+\rdt} + q^{t} \right\} \; / \; 2 |
---|
| 213 | \end{split} |
---|
| 214 | \] |
---|
[10354] | 215 | As for space operator, |
---|
| 216 | the adjoint of the derivation and averaging time operators are $\delta_t^*=\delta_{t+\rdt/2}$ and |
---|
| 217 | $\overline{\cdot}^{\,t\,*}= \overline{\cdot}^{\,t+\Delta/2}$, respectively. |
---|
[707] | 218 | |
---|
[9407] | 219 | The Leap-frog time stepping given by \autoref{eq:DOM_nxt} can be defined as: |
---|
[10414] | 220 | \[ |
---|
[11544] | 221 | % \label{eq:ALGOS_LF} |
---|
[10414] | 222 | \frac{\partial q}{\partial t} |
---|
| 223 | \equiv \frac{1}{\rdt} \overline{ \delta_{t+\rdt/2}[q]}^{\,t} |
---|
| 224 | = \frac{q^{t+\rdt}-q^{t-\rdt}}{2\rdt} |
---|
[11543] | 225 | \] |
---|
[10354] | 226 | Note that \autoref{chap:LF} shows that the leapfrog time step is $\rdt$, |
---|
| 227 | not $2\rdt$ as it can be found sometimes in literature. |
---|
| 228 | The leap-Frog time stepping is a second order centered scheme. |
---|
[11435] | 229 | As such it respects the quadratic invariant in integral forms, \ie\ the following continuous property, |
---|
[10414] | 230 | \[ |
---|
[11544] | 231 | % \label{eq:ALGOS_Energy} |
---|
[10414] | 232 | \int_{t_0}^{t_1} {q\, \frac{\partial q}{\partial t} \;dt} |
---|
| 233 | =\int_{t_0}^{t_1} {\frac{1}{2}\, \frac{\partial q^2}{\partial t} \;dt} |
---|
| 234 | = \frac{1}{2} \left( {q_{t_1}}^2 - {q_{t_0}}^2 \right) , |
---|
| 235 | \] |
---|
[10354] | 236 | is satisfied in discrete form. |
---|
[11543] | 237 | Indeed, |
---|
[10414] | 238 | \[ |
---|
| 239 | \begin{split} |
---|
| 240 | \int_{t_0}^{t_1} {q\, \frac{\partial q}{\partial t} \;dt} |
---|
| 241 | &\equiv \sum\limits_{0}^{N} |
---|
| 242 | {\frac{1}{\rdt} q^t \ \overline{ \delta_{t+\rdt/2}[q]}^{\,t} \ \rdt} |
---|
| 243 | \equiv \sum\limits_{0}^{N} { q^t \ \overline{ \delta_{t+\rdt/2}[q]}^{\,t} } \\ |
---|
| 244 | &\equiv \sum\limits_{0}^{N} { \overline{q}^{\,t+\Delta/2}{ \delta_{t+\rdt/2}[q]}} |
---|
| 245 | \equiv \sum\limits_{0}^{N} { \frac{1}{2} \delta_{t+\rdt/2}[q^2] }\\ |
---|
| 246 | &\equiv \sum\limits_{0}^{N} { \frac{1}{2} \delta_{t+\rdt/2}[q^2] } |
---|
| 247 | \equiv \frac{1}{2} \left( {q_{t_1}}^2 - {q_{t_0}}^2 \right) |
---|
| 248 | \end{split} |
---|
| 249 | \] |
---|
[10354] | 250 | NB here pb of boundary condition when applying the adjoint! |
---|
[11543] | 251 | In space, setting to 0 the quantity in land area is sufficient to get rid of the boundary condition |
---|
[10354] | 252 | (equivalently of the boundary value of the integration by part). |
---|
| 253 | In time this boundary condition is not physical and \textbf{add something here!!!} |
---|
[707] | 254 | |
---|
[11597] | 255 | %% ================================================================================================= |
---|
[2282] | 256 | \section{Lateral diffusion operator} |
---|
| 257 | |
---|
[11597] | 258 | %% ================================================================================================= |
---|
[9393] | 259 | \subsection{Griffies iso-neutral diffusion operator} |
---|
[2282] | 260 | |
---|
[11123] | 261 | Let try to define a scheme that get its inspiration from the \citet{griffies.gnanadesikan.ea_JPO98} scheme, |
---|
[11435] | 262 | but is formulated within the \NEMO\ framework |
---|
| 263 | (\ie\ using scale factors rather than grid-size and having a position of $T$-points that |
---|
[11543] | 264 | is not necessary in the middle of vertical velocity points, see \autoref{fig:DOM_zgr_e3}). |
---|
[2282] | 265 | |
---|
[11543] | 266 | In the formulation \autoref{eq:TRA_ldf_iso} introduced in 1995 in OPA, the ancestor of \NEMO, |
---|
[10354] | 267 | the off-diagonal terms of the small angle diffusion tensor contain several double spatial averages of a gradient, |
---|
| 268 | for example $\overline{\overline{\delta_k \cdot}}^{\,i,k}$. |
---|
| 269 | It is apparent that the combination of a $k$ average and a $k$ derivative of the tracer allows for |
---|
| 270 | the presence of grid point oscillation structures that will be invisible to the operator. |
---|
| 271 | These structures are \textit{computational modes}. |
---|
| 272 | They will not be damped by the iso-neutral operator, and even possibly amplified by it. |
---|
| 273 | In other word, the operator applied to a tracer does not warranties the decrease of its global average variance. |
---|
| 274 | To circumvent this, we have introduced a smoothing of the slopes of the iso-neutral surfaces |
---|
| 275 | (see \autoref{chap:LDF}). |
---|
| 276 | Nevertheless, this technique works fine for $T$ and $S$ as they are active tracers |
---|
[11435] | 277 | (\ie\ they enter the computation of density), but it does not work for a passive tracer. |
---|
[11123] | 278 | \citep{griffies.gnanadesikan.ea_JPO98} introduce a different way to discretise the off-diagonal terms that |
---|
[10354] | 279 | nicely solve the problem. |
---|
| 280 | The idea is to get rid of combinations of an averaged in one direction combined with |
---|
| 281 | a derivative in the same direction by considering triads. |
---|
| 282 | For example in the (\textbf{i},\textbf{k}) plane, the four triads are defined at the $(i,k)$ $T$-point as follows: |
---|
[10414] | 283 | \begin{equation} |
---|
[11544] | 284 | \label{eq:ALGOS_Gf_triads} |
---|
[10414] | 285 | _i^k \mathbb{T}_{i_p}^{k_p} (T) |
---|
| 286 | = \frac{1}{4} \ {b_u}_{\,i+i_p}^{\,k} \ A_i^k \left( |
---|
| 287 | \frac{ \delta_{i + i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 288 | -\ {_i^k \mathbb{R}_{i_p}^{k_p}} \ \frac{ \delta_{k+k_p} [T^i] }{ {e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 289 | \right) |
---|
[2282] | 290 | \end{equation} |
---|
[10354] | 291 | where the indices $i_p$ and $k_p$ define the four triads and take the following value: |
---|
| 292 | $i_p = -1/2$ or $1/2$ and $k_p = -1/2$ or $1/2$, |
---|
| 293 | $b_u= e_{1u}\,e_{2u}\,e_{3u}$ is the volume of $u$-cells, |
---|
[2282] | 294 | $A_i^k$ is the lateral eddy diffusivity coefficient defined at $T$-point, |
---|
[10354] | 295 | and $_i^k \mathbb{R}_{i_p}^{k_p}$ is the slope associated with each triad: |
---|
[10414] | 296 | \begin{equation} |
---|
[11544] | 297 | \label{eq:ALGOS_Gf_slopes} |
---|
[10414] | 298 | _i^k \mathbb{R}_{i_p}^{k_p} |
---|
| 299 | =\frac{ {e_{3w}}_{\,i}^{\,k+k_p}} { {e_{1u}}_{\,i+i_p}^{\,k}} \ \frac |
---|
| 300 | {\left(\alpha / \beta \right)_i^k \ \delta_{i + i_p}[T^k] - \delta_{i + i_p}[S^k] } |
---|
| 301 | {\left(\alpha / \beta \right)_i^k \ \delta_{k+k_p}[T^i ] - \delta_{k+k_p}[S^i ] } |
---|
[2282] | 302 | \end{equation} |
---|
[11544] | 303 | Note that in \autoref{eq:ALGOS_Gf_slopes} we use the ratio $\alpha / \beta$ instead of |
---|
[10354] | 304 | multiplying the temperature derivative by $\alpha$ and the salinity derivative by $\beta$. |
---|
| 305 | This is more efficient as the ratio $\alpha / \beta$ can to be evaluated directly. |
---|
[2282] | 306 | |
---|
[11544] | 307 | Note that in \autoref{eq:ALGOS_Gf_triads}, we chose to use ${b_u}_{\,i+i_p}^{\,k}$ instead of ${b_{uw}}_{\,i+i_p}^{\,k+k_p}$. |
---|
[10354] | 308 | This choice has been motivated by the decrease of tracer variance and |
---|
[11544] | 309 | the presence of partial cell at the ocean bottom (see \autoref{subsec:ALGOS_Gf_operator}). |
---|
[2282] | 310 | |
---|
[10414] | 311 | \begin{figure}[!ht] |
---|
[11558] | 312 | \centering |
---|
[11561] | 313 | \includegraphics[width=0.66\textwidth]{Fig_ISO_triad} |
---|
[11558] | 314 | \caption[Triads used in the Griffies's like iso-neutral diffision scheme for |
---|
| 315 | $u$- and $w$-components)]{ |
---|
| 316 | Triads used in the Griffies's like iso-neutral diffision scheme for |
---|
| 317 | $u$-component (upper panel) and $w$-component (lower panel).} |
---|
| 318 | \label{fig:ALGOS_ISO_triad} |
---|
[2282] | 319 | \end{figure} |
---|
| 320 | |
---|
[11543] | 321 | The four iso-neutral fluxes associated with the triads are defined at $T$-point. |
---|
[10354] | 322 | They take the following expression: |
---|
[10414] | 323 | \begin{flalign*} |
---|
[11544] | 324 | % \label{eq:ALGOS_Gf_fluxes} |
---|
[10414] | 325 | \begin{split} |
---|
| 326 | {_i^k {\mathbb{F}_u}_{i_p}^{k_p} } (T) |
---|
| 327 | &= \ \; \qquad \quad { _i^k \mathbb{T}_{i_p}^{k_p} }(T) \;\ / \ { {e_{1u}}_{\,i+i_p}^{\,k}} \\ |
---|
| 328 | {_i^k {\mathbb{F}_w}_{i_p}^{k_p} } (T) |
---|
| 329 | &= -\; { _i^k \mathbb{R}_{i_p}^{k_p} } |
---|
| 330 | \ \; { _i^k \mathbb{T}_{i_p}^{k_p} }(T) \;\ / \ { {e_{3w}}_{\,i}^{\,k+k_p}} |
---|
| 331 | \end{split} |
---|
| 332 | \end{flalign*} |
---|
[2282] | 333 | |
---|
[10354] | 334 | The resulting iso-neutral fluxes at $u$- and $w$-points are then given by |
---|
[11543] | 335 | the sum of the fluxes that cross the $u$- and $w$-face (\autoref{fig:TRIADS_ISO_triad}): |
---|
[10414] | 336 | \begin{flalign} |
---|
[11544] | 337 | \label{eq:ALGOS_iso_flux} |
---|
[10414] | 338 | \textbf{F}_{iso}(T) |
---|
| 339 | &\equiv \sum_{\substack{i_p,\,k_p}} |
---|
| 340 | \begin{pmatrix} |
---|
| 341 | {_{i+1/2-i_p}^k {\mathbb{F}_u}_{i_p}^{k_p} } (T) \\ \\ |
---|
| 342 | {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p} } (T) |
---|
| 343 | \end{pmatrix} |
---|
| 344 | \notag \\ |
---|
| 345 | & \notag \\ |
---|
| 346 | &\equiv \sum_{\substack{i_p,\,k_p}} |
---|
| 347 | \begin{pmatrix} |
---|
| 348 | && { _{i+1/2-i_p}^k \mathbb{T}_{i_p}^{k_p} }(T) \;\ / \ { {e_{1u}}_{\,i+1/2}^{\,k} } \\ \\ |
---|
| 349 | & -\; { _i^{k+1/2-k_p} \mathbb{R}_{i_p}^{k_p} } |
---|
| 350 | & {_i^{k+1/2-k_p} \mathbb{T}_{i_p}^{k_p} }(T) \;\ / \ { {e_{3w}}_{\,i}^{\,k+1/2} } |
---|
| 351 | \end{pmatrix} % \\ |
---|
| 352 | % &\\ |
---|
| 353 | % &\equiv \sum_{\substack{i_p,\,k_p}} |
---|
| 354 | % \begin{pmatrix} |
---|
| 355 | % \qquad \qquad \qquad |
---|
| 356 | % \frac{1}{ {e_{1u}}_{\,i+1/2}^{\,k} } \ \; |
---|
| 357 | % { _{i+1/2-i_p}^k \mathbb{T}_{i_p}^{k_p} }(T)\\ |
---|
| 358 | % \\ |
---|
| 359 | % -\frac{1}{ {e_{3w}}_{\,i}^{\,k+1/2} } \ \; |
---|
| 360 | % { _i^{k+1/2-k_p} \mathbb{R}_{i_p}^{k_p} } \ \; |
---|
| 361 | % {_i^{k+1/2-k_p} \mathbb{T}_{i_p}^{k_p} }(T)\\ |
---|
| 362 | % \end{pmatrix} |
---|
[2282] | 363 | \end{flalign} |
---|
[10354] | 364 | resulting in a iso-neutral diffusion tendency on temperature given by |
---|
| 365 | the divergence of the sum of all the four triad fluxes: |
---|
[10414] | 366 | \begin{equation} |
---|
[11544] | 367 | \label{eq:ALGOS_Gf_operator} |
---|
[10414] | 368 | D_l^T = \frac{1}{b_T} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 369 | \delta_{i} \left[{_{i+1/2-i_p}^k {\mathbb{F}_u }_{i_p}^{k_p}} \right] |
---|
| 370 | + \delta_{k} \left[ {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p}} \right] \right\} |
---|
[2282] | 371 | \end{equation} |
---|
[11543] | 372 | where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. |
---|
[2282] | 373 | |
---|
[10354] | 374 | This expression of the iso-neutral diffusion has been chosen in order to satisfy the following six properties: |
---|
[2282] | 375 | \begin{description} |
---|
[11598] | 376 | \item [Horizontal diffusion] The discretization of the diffusion operator recovers the traditional five-point Laplacian in the limit of flat iso-neutral direction: |
---|
[10414] | 377 | \[ |
---|
[11544] | 378 | % \label{eq:ALGOS_Gf_property1a} |
---|
[10414] | 379 | D_l^T = \frac{1}{b_T} \ \delta_{i} |
---|
| 380 | \left[ \frac{e_{2u}\,e_{3u}}{e_{1u}} \; \overline{A}^{\,i} \; \delta_{i+1/2}[T] \right] |
---|
| 381 | \qquad \text{when} \quad |
---|
| 382 | { _i^k \mathbb{R}_{i_p}^{k_p} }=0 |
---|
| 383 | \] |
---|
[11598] | 384 | \item [Implicit treatment in the vertical] In the diagonal term associated with the vertical divergence of the iso-neutral fluxes |
---|
[11435] | 385 | \ie\ the term associated with a second order vertical derivative) |
---|
[10354] | 386 | appears only tracer values associated with a single water column. |
---|
| 387 | This is of paramount importance since it means that |
---|
| 388 | the implicit in time algorithm for solving the vertical diffusion equation can be used to evaluate this term. |
---|
[10414] | 389 | It is a necessity since the vertical eddy diffusivity associated with this term, |
---|
| 390 | \[ |
---|
| 391 | \sum_{\substack{i_p, \,k_p}} \left\{ |
---|
[2282] | 392 | A_i^k \; \left(_i^k \mathbb{R}_{i_p}^{k_p}\right)^2 |
---|
[10414] | 393 | \right\} |
---|
| 394 | \] |
---|
| 395 | can be quite large. |
---|
[11598] | 396 | \item [Pure iso-neutral operator] The iso-neutral flux of locally referenced potential density is zero, \ie |
---|
[10414] | 397 | \begin{align*} |
---|
[11544] | 398 | % \label{eq:ALGOS_Gf_property2} |
---|
[10414] | 399 | \begin{matrix} |
---|
| 400 | &{_i^k {\mathbb{F}_u}_{i_p}^{k_p} (\rho)} |
---|
| 401 | &= &\alpha_i^k &{_i^k {\mathbb{F}_u}_{i_p}^{k_p} } (T) |
---|
| 402 | &- \ \; \beta _i^k &{_i^k {\mathbb{F}_u}_{i_p}^{k_p} } (S) & = \ 0 \\ |
---|
| 403 | &{_i^k {\mathbb{F}_w}_{i_p}^{k_p} (\rho)} |
---|
| 404 | &= &\alpha_i^k &{_i^k {\mathbb{F}_w}_{i_p}^{k_p} } (T) |
---|
| 405 | &- \ \; \beta _i^k &{_i^k {\mathbb{F}_w}_{i_p}^{k_p} } (S) &= \ 0 |
---|
| 406 | \end{matrix} |
---|
| 407 | \end{align*} |
---|
[11544] | 408 | This result is trivially obtained using the \autoref{eq:ALGOS_Gf_triads} applied to $T$ and $S$ and |
---|
| 409 | the definition of the triads' slopes \autoref{eq:ALGOS_Gf_slopes}. |
---|
[11598] | 410 | \item [Conservation of tracer] The iso-neutral diffusion term conserve the total tracer content, \ie |
---|
[10414] | 411 | \[ |
---|
[11544] | 412 | % \label{eq:ALGOS_Gf_property1} |
---|
[10414] | 413 | \sum_{i,j,k} \left\{ D_l^T \ b_T \right\} = 0 |
---|
| 414 | \] |
---|
[10354] | 415 | This property is trivially satisfied since the iso-neutral diffusive operator is written in flux form. |
---|
[11598] | 416 | \item [Decrease of tracer variance] The iso-neutral diffusion term does not increase the total tracer variance, \ie |
---|
[10414] | 417 | \[ |
---|
[11544] | 418 | % \label{eq:ALGOS_Gf_property1} |
---|
[10414] | 419 | \sum_{i,j,k} \left\{ T \ D_l^T \ b_T \right\} \leq 0 |
---|
| 420 | \] |
---|
[11544] | 421 | The property is demonstrated in the \autoref{subsec:ALGOS_Gf_operator}. |
---|
[10354] | 422 | It is a key property for a diffusion term. |
---|
| 423 | It means that the operator is also a dissipation term, |
---|
[11435] | 424 | \ie\ it is a sink term for the square of the quantity on which it is applied. |
---|
[10354] | 425 | It therfore ensures that, when the diffusivity coefficient is large enough, |
---|
| 426 | the field on which it is applied become free of grid-point noise. |
---|
[11598] | 427 | \item [Self-adjoint operator] The iso-neutral diffusion operator is self-adjoint, \ie |
---|
[10414] | 428 | \[ |
---|
[11544] | 429 | % \label{eq:ALGOS_Gf_property1} |
---|
[10414] | 430 | \sum_{i,j,k} \left\{ S \ D_l^T \ b_T \right\} = \sum_{i,j,k} \left\{ D_l^S \ T \ b_T \right\} |
---|
| 431 | \] |
---|
[10354] | 432 | In other word, there is no needs to develop a specific routine from the adjoint of this operator. |
---|
| 433 | We just have to apply the same routine. |
---|
| 434 | This properties can be demonstrated quite easily in a similar way the "non increase of tracer variance" property |
---|
[11544] | 435 | has been proved (see \autoref{apdx:ALGOS_Gf_operator}). |
---|
[2282] | 436 | \end{description} |
---|
| 437 | |
---|
[11597] | 438 | %% ================================================================================================= |
---|
[9393] | 439 | \subsection{Eddy induced velocity and skew flux formulation} |
---|
[2282] | 440 | |
---|
[10354] | 441 | When Gent and McWilliams [1990] diffusion is used (\key{traldf\_eiv} defined), |
---|
| 442 | an additional advection term is added. |
---|
| 443 | The associated velocity is the so called eddy induced velocity, |
---|
| 444 | the formulation of which depends on the slopes of iso-neutral surfaces. |
---|
| 445 | Contrary to the case of iso-neutral mixing, the slopes used here are referenced to the geopotential surfaces, |
---|
[11543] | 446 | \ie\ \autoref{eq:LDF_slp_geo} is used in $z$-coordinate, |
---|
| 447 | and the sum \autoref{eq:LDF_slp_geo} + \autoref{eq:LDF_slp_iso} in $z^*$ or $s$-coordinates. |
---|
[2282] | 448 | |
---|
[11543] | 449 | The eddy induced velocity is given by: |
---|
[10414] | 450 | \begin{equation} |
---|
[11544] | 451 | \label{eq:ALGOS_eiv_v} |
---|
[10414] | 452 | \begin{split} |
---|
| 453 | u^* & = - \frac{1}{e_2\,e_{3}} \;\partial_k \left( e_2 \, A_e \; r_i \right) |
---|
| 454 | = - \frac{1}{e_3} \;\partial_k \left( A_e \; r_i \right) \\ |
---|
| 455 | v^* & = - \frac{1}{e_1\,e_3}\; \partial_k \left( e_1 \, A_e \; r_j \right) |
---|
| 456 | = - \frac{1}{e_3} \;\partial_k \left( A_e \; r_j \right) \\ |
---|
| 457 | w^* & = \frac{1}{e_1\,e_2}\; \left\{ \partial_i \left( e_2 \, A_e \; r_i \right) |
---|
| 458 | + \partial_j \left( e_1 \, A_e \;r_j \right) \right\} |
---|
| 459 | \end{split} |
---|
[2282] | 460 | \end{equation} |
---|
[10354] | 461 | where $A_{e}$ is the eddy induced velocity coefficient, |
---|
| 462 | and $r_i$ and $r_j$ the slopes between the iso-neutral and the geopotential surfaces. |
---|
[2282] | 463 | %%gm wrong: to be modified with 2 2D streamfunctions |
---|
[10354] | 464 | In other words, the eddy induced velocity can be derived from a vector streamfuntion, $\phi$, |
---|
| 465 | which is given by $\phi = A_e\,\textbf{r}$ as $\textbf{U}^* = \textbf{k} \times \nabla \phi$. |
---|
[2282] | 466 | %%end gm |
---|
| 467 | |
---|
[10354] | 468 | A traditional way to implement this additional advection is to add it to the eulerian velocity prior to |
---|
| 469 | compute the tracer advection. |
---|
| 470 | This allows us to take advantage of all the advection schemes offered for the tracers |
---|
| 471 | (see \autoref{sec:TRA_adv}) and not just a $2^{nd}$ order advection scheme. |
---|
| 472 | This is particularly useful for passive tracers where |
---|
[11543] | 473 | \emph{positivity} of the advection scheme is of paramount importance. |
---|
| 474 | % give here the expression using the triads. It is different from the one given in \autoref{eq:LDF_eiv} |
---|
[2282] | 475 | % see just below a copy of this equation: |
---|
[11544] | 476 | %\begin{equation} \label{eq:ALGOS_ldfeiv} |
---|
[2282] | 477 | %\begin{split} |
---|
| 478 | % u^* & = \frac{1}{e_{2u}e_{3u}}\; \delta_k \left[e_{2u} \, A_{uw}^{eiv} \; \overline{r_{1w}}^{\,i+1/2} \right]\\ |
---|
| 479 | % v^* & = \frac{1}{e_{1u}e_{3v}}\; \delta_k \left[e_{1v} \, A_{vw}^{eiv} \; \overline{r_{2w}}^{\,j+1/2} \right]\\ |
---|
| 480 | %w^* & = \frac{1}{e_{1w}e_{2w}}\; \left\{ \delta_i \left[e_{2u} \, A_{uw}^{eiv} \; \overline{r_{1w}}^{\,i+1/2} \right] + %\delta_j \left[e_{1v} \, A_{vw}^{eiv} \; \overline{r_{2w}}^{\,j+1/2} \right] \right\} \\ |
---|
| 481 | %\end{split} |
---|
| 482 | %\end{equation} |
---|
[10414] | 483 | \[ |
---|
[11544] | 484 | % \label{eq:ALGOS_eiv_vd} |
---|
[10414] | 485 | \textbf{F}_{eiv}^T \equiv \left( |
---|
| 486 | \begin{aligned} |
---|
| 487 | \sum_{\substack{i_p,\,k_p}} & |
---|
| 488 | +{e_{2u}}_{i+1/2-i_p}^{k} \ \ {A_{e}}_{i+1/2-i_p}^{k} |
---|
| 489 | \ \ \ { _{i+1/2-i_p}^k \mathbb{R}_{i_p}^{k_p} } \ \ \delta_{k+k_p}[T_{i+1/2-i_p}] \\ \\ |
---|
| 490 | \sum_{\substack{i_p,\,k_p}} & |
---|
| 491 | - {e_{2u}}_i^{k+1/2-k_p} \ {A_{e}}_i^{k+1/2-k_p} |
---|
| 492 | \ \ { _i^{k+1/2-k_p} \mathbb{R}_{i_p}^{k_p} } \ \delta_{i+i_p}[T^{k+1/2-k_p}] |
---|
| 493 | \end{aligned} |
---|
| 494 | \right) |
---|
| 495 | \] |
---|
[2282] | 496 | |
---|
[11123] | 497 | \citep{griffies_JPO98} introduces another way to implement the eddy induced advection, the so-called skew form. |
---|
[10354] | 498 | It is based on a transformation of the advective fluxes using the non-divergent nature of the eddy induced velocity. |
---|
| 499 | For example in the (\textbf{i},\textbf{k}) plane, the tracer advective fluxes can be transformed as follows: |
---|
[2282] | 500 | \begin{flalign*} |
---|
[10414] | 501 | \begin{split} |
---|
| 502 | \textbf{F}_{eiv}^T = |
---|
| 503 | \begin{pmatrix} |
---|
| 504 | {e_{2}\,e_{3}\; u^*} \\ |
---|
| 505 | {e_{1}\,e_{2}\; w^*} |
---|
| 506 | \end{pmatrix} |
---|
| 507 | \; T |
---|
| 508 | &= |
---|
| 509 | \begin{pmatrix} |
---|
| 510 | { - \partial_k \left( e_{2} \, A_{e} \; r_i \right) \; T \;} \\ |
---|
| 511 | {+ \partial_i \left( e_{2} \, A_{e} \; r_i \right) \; T \;} |
---|
| 512 | \end{pmatrix} |
---|
| 513 | \\ |
---|
| 514 | &= |
---|
| 515 | \begin{pmatrix} |
---|
| 516 | { - \partial_k \left( e_{2} \, A_{e} \; r_i \; T \right) \;} \\ |
---|
| 517 | {+ \partial_i \left( e_{2} \, A_{e} \; r_i \; T \right) \;} |
---|
| 518 | \end{pmatrix} |
---|
| 519 | + |
---|
| 520 | \begin{pmatrix} |
---|
| 521 | {+ e_{2} \, A_{e} \; r_i \; \partial_k T} \\ |
---|
| 522 | { - e_{2} \, A_{e} \; r_i \; \partial_i T} |
---|
| 523 | \end{pmatrix} |
---|
| 524 | \end{split} |
---|
[2282] | 525 | \end{flalign*} |
---|
[10354] | 526 | and since the eddy induces velocity field is no-divergent, |
---|
| 527 | we end up with the skew form of the eddy induced advective fluxes: |
---|
[10414] | 528 | \begin{equation} |
---|
[11544] | 529 | \label{eq:ALGOS_eiv_skew_continuous} |
---|
[10414] | 530 | \textbf{F}_{eiv}^T = |
---|
| 531 | \begin{pmatrix} |
---|
| 532 | {+ e_{2} \, A_{e} \; r_i \; \partial_k T} \\ |
---|
| 533 | { - e_{2} \, A_{e} \; r_i \; \partial_i T} |
---|
| 534 | \end{pmatrix} |
---|
[2282] | 535 | \end{equation} |
---|
[10354] | 536 | The tendency associated with eddy induced velocity is then simply the divergence of |
---|
[11544] | 537 | the \autoref{eq:ALGOS_eiv_skew_continuous} fluxes. |
---|
[10354] | 538 | It naturally conserves the tracer content, as it is expressed in flux form and, |
---|
| 539 | as the advective form, it preserves the tracer variance. |
---|
[11544] | 540 | Another interesting property of \autoref{eq:ALGOS_eiv_skew_continuous} form is that when $A=A_e$, |
---|
[10354] | 541 | a simplification occurs in the sum of the iso-neutral diffusion and eddy induced velocity terms: |
---|
[10414] | 542 | \begin{flalign*} |
---|
[11544] | 543 | % \label{eq:ALGOS_eiv_skew+eiv_continuous} |
---|
[10414] | 544 | \textbf{F}_{iso}^T + \textbf{F}_{eiv}^T &= |
---|
| 545 | \begin{pmatrix} |
---|
| 546 | + \frac{e_2\,e_3\,}{e_1} A \;\partial_i T - e_2 \, A \; r_i \;\partial_k T \\ |
---|
| 547 | - e_2 \, A_{e} \; r_i \;\partial_i T + \frac{e_1\,e_2}{e_3} \, A \; r_i^2 \;\partial_k T |
---|
| 548 | \end{pmatrix} |
---|
| 549 | + |
---|
| 550 | \begin{pmatrix} |
---|
| 551 | {+ e_{2} \, A_{e} \; r_i \; \partial_k T} \\ |
---|
| 552 | { - e_{2} \, A_{e} \; r_i \; \partial_i T} |
---|
| 553 | \end{pmatrix} |
---|
| 554 | \\ |
---|
| 555 | &= |
---|
| 556 | \begin{pmatrix} |
---|
| 557 | + \frac{e_2\,e_3\,}{e_1} A \;\partial_i T \\ |
---|
| 558 | - 2\; e_2 \, A_{e} \; r_i \;\partial_i T + \frac{e_1\,e_2}{e_3} \, A \; r_i^2 \;\partial_k T |
---|
| 559 | \end{pmatrix} |
---|
| 560 | \end{flalign*} |
---|
[10354] | 561 | The horizontal component reduces to the one use for an horizontal laplacian operator and |
---|
| 562 | the vertical one keeps the same complexity, but not more. |
---|
[11123] | 563 | This property has been used to reduce the computational time \citep{griffies_JPO98}, |
---|
[10354] | 564 | but it is not of practical use as usually $A \neq A_e$. |
---|
[11544] | 565 | Nevertheless this property can be used to choose a discret form of \autoref{eq:ALGOS_eiv_skew_continuous} which |
---|
| 566 | is consistent with the iso-neutral operator \autoref{eq:ALGOS_Gf_operator}. |
---|
| 567 | Using the slopes \autoref{eq:ALGOS_Gf_slopes} and defining $A_e$ at $T$-point(\ie\ as $A$, |
---|
[10354] | 568 | the eddy diffusivity coefficient), the resulting discret form is given by: |
---|
[10414] | 569 | \begin{equation} |
---|
[11544] | 570 | \label{eq:ALGOS_eiv_skew} |
---|
[10414] | 571 | \textbf{F}_{eiv}^T \equiv \frac{1}{4} \left( |
---|
| 572 | \begin{aligned} |
---|
| 573 | \sum_{\substack{i_p,\,k_p}} & |
---|
| 574 | +{e_{2u}}_{i+1/2-i_p}^{k} \ \ {A_{e}}_{i+1/2-i_p}^{k} |
---|
| 575 | \ \ \ { _{i+1/2-i_p}^k \mathbb{R}_{i_p}^{k_p} } \ \ \delta_{k+k_p}[T_{i+1/2-i_p}] \\ \\ |
---|
| 576 | \sum_{\substack{i_p,\,k_p}} & |
---|
| 577 | - {e_{2u}}_i^{k+1/2-k_p} \ {A_{e}}_i^{k+1/2-k_p} |
---|
| 578 | \ \ { _i^{k+1/2-k_p} \mathbb{R}_{i_p}^{k_p} } \ \delta_{i+i_p}[T^{k+1/2-k_p}] |
---|
| 579 | \end{aligned} |
---|
| 580 | \right) |
---|
[2282] | 581 | \end{equation} |
---|
[11544] | 582 | Note that \autoref{eq:ALGOS_eiv_skew} is valid in $z$-coordinate with or without partial cells. |
---|
[10354] | 583 | In $z^*$ or $s$-coordinate, the slope between the level and the geopotential surfaces must be added to |
---|
[11543] | 584 | $\mathbb{R}$ for the discret form to be exact. |
---|
[2282] | 585 | |
---|
[10354] | 586 | Such a choice of discretisation is consistent with the iso-neutral operator as |
---|
| 587 | it uses the same definition for the slopes. |
---|
[11544] | 588 | It also ensures the conservation of the tracer variance (see \autoref{subsec:ALGOS_eiv_skew}), |
---|
[11435] | 589 | \ie\ it does not include a diffusive component but is a "pure" advection term. |
---|
[2282] | 590 | |
---|
[11597] | 591 | %% ================================================================================================= |
---|
[9393] | 592 | \subsection{Discrete invariants of the iso-neutral diffrusion} |
---|
[11544] | 593 | \label{subsec:ALGOS_Gf_operator} |
---|
[2282] | 594 | |
---|
[11543] | 595 | Demonstration of the decrease of the tracer variance in the (\textbf{i},\textbf{j}) plane. |
---|
[2282] | 596 | |
---|
| 597 | This part will be moved in an Appendix. |
---|
| 598 | |
---|
[10354] | 599 | The continuous property to be demonstrated is: |
---|
[10414] | 600 | \[ |
---|
| 601 | \int_D D_l^T \; T \;dv \leq 0 |
---|
| 602 | \] |
---|
[11543] | 603 | The discrete form of its left hand side is obtained using \autoref{eq:TRIADS_iso_flux} |
---|
[2282] | 604 | |
---|
| 605 | \begin{align*} |
---|
[10414] | 606 | &\int_D D_l^T \; T \;dv \equiv \sum_{i,k} \left\{ T \ D_l^T \ b_T \right\} \\ |
---|
| 607 | &\equiv + \sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 608 | \delta_{i} \left[{_{i+1/2-i_p}^k {\mathbb{F}_u }_{i_p}^{k_p}} \right] |
---|
| 609 | + \delta_{k} \left[ {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p}} \right] \ T \right\} \\ |
---|
| 610 | &\equiv - \sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 611 | {_{i+1/2-i_p}^k {\mathbb{F}_u }_{i_p}^{k_p}} \ \delta_{i+1/2} [T] |
---|
| 612 | + {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p}} \ \delta_{k+1/2} [T] \right\} \\ |
---|
| 613 | &\equiv -\sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 614 | \frac{ _{i+1/2-i_p}^k \mathbb{T}_{i_p}^{k_p} (T) }{ {e_{1u}}_{\,i+1/2}^{\,k} } \ \delta_{i+1/2} [T] |
---|
| 615 | - { _i^{k+1/2-k_p} \mathbb{R}_{i_p}^{k_p} } \ \; |
---|
| 616 | \frac{ _i^{k+1/2-k_p} \mathbb{T}_{i_p}^{k_p} (T) }{ {e_{3w}}_{\,i}^{\,k+1/2} } \ \delta_{k+1/2} [T] |
---|
| 617 | \right\} \\ |
---|
| 618 | % |
---|
| 619 | \allowdisplaybreaks |
---|
| 620 | \intertext{ Expending the summation on $i_p$ and $k_p$, it becomes:} |
---|
| 621 | % |
---|
| 622 | &\equiv -\sum_{i,k} |
---|
| 623 | \begin{Bmatrix} |
---|
| 624 | &\ \ \Bigl( { _{i+1}^{k} \mathbb{T}_{-1/2}^{-1/2} (T) } |
---|
| 625 | &\frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 626 | & -\ \ {_{i}^{k+1} \mathbb{R}_{-1/2}^{-1/2}} |
---|
| 627 | & {_{i}^{k+1} \mathbb{T}_{-1/2}^{-1/2} (T) } |
---|
| 628 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr) |
---|
| 629 | & \\ |
---|
| 630 | &+\Bigl( \ \;\; { _i^k \mathbb{T}_{+1/2}^{-1/2} (T) } |
---|
| 631 | &\frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 632 | & -\ \ {_i^{k+1} \mathbb{R}_{+1/2}^{-1/2}} |
---|
| 633 | & { _i^{k+1} \mathbb{T}_{+1/2}^{-1/2} (T) } |
---|
| 634 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr) |
---|
| 635 | & \\ |
---|
| 636 | &+\Bigl( { _{i+1}^{k} \mathbb{T}_{-1/2}^{+1/2} (T) } |
---|
| 637 | &\frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 638 | & -\ \ \ \;\;{_{i}^{k} \mathbb{R}_{-1/2}^{+1/2}} |
---|
| 639 | & \ \;\;{_{i}^{k} \mathbb{T}_{-1/2}^{+1/2} (T) } |
---|
| 640 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr) |
---|
| 641 | & \\ |
---|
| 642 | &+\Bigl( \ \;\; { _{i}^{k} \mathbb{T}_{+1/2}^{+1/2} (T) } |
---|
| 643 | &\frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 644 | & -\ \ \ \;\;{_{i}^{k} \mathbb{R}_{+1/2}^{+1/2}} |
---|
| 645 | & \ \;\;{_{i}^{k} \mathbb{T}_{+1/2}^{+1/2} (T) } |
---|
| 646 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr) \\ |
---|
| 647 | \end{Bmatrix} |
---|
| 648 | % |
---|
| 649 | \allowdisplaybreaks |
---|
| 650 | \intertext{ |
---|
| 651 | The summation is done over all $i$ and $k$ indices, |
---|
[10354] | 652 | it is therefore possible to introduce a shift of $-1$ either in $i$ or $k$ direction in order to |
---|
| 653 | regroup all the terms of the summation by triad at a ($i$,$k$) point. |
---|
| 654 | In other words, we regroup all the terms in the neighbourhood that contain a triad at the same ($i$,$k$) indices. |
---|
[10414] | 655 | It becomes: |
---|
| 656 | } |
---|
| 657 | % |
---|
| 658 | &\equiv -\sum_{i,k} |
---|
| 659 | \begin{Bmatrix} |
---|
| 660 | &\ \ \Bigl( {_i^k \mathbb{T}_{-1/2}^{-1/2} (T) } |
---|
| 661 | &\frac{ \delta_{i -1/2} [T] }{{e_{1u} }_{\,i-1/2}^{\,k}} |
---|
| 662 | & -\ \ {_i^k \mathbb{R}_{-1/2}^{-1/2}} |
---|
| 663 | & {_i^k \mathbb{T}_{-1/2}^{-1/2} (T) } |
---|
| 664 | &\frac{ \delta_{k-1/2} [T] }{{e_{3w}}_{\,i}^{\,k-1/2}} \Bigr) |
---|
| 665 | & \\ |
---|
| 666 | &+\Bigl( { _i^k \mathbb{T}_{+1/2}^{-1/2} (T) } |
---|
| 667 | &\frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 668 | & -\ \ {_i^k \mathbb{R}_{+1/2}^{-1/2}} |
---|
| 669 | & { _i^k \mathbb{T}_{+1/2}^{-1/2} (T) } |
---|
| 670 | &\frac{ \delta_{k-1/2} [T] }{{e_{3w}}_{\,i}^{\,k-1/2}} \Bigr) |
---|
| 671 | & \\ |
---|
| 672 | &+\Bigl( {_i^k \mathbb{T}_{-1/2}^{+1/2} (T) } |
---|
| 673 | &\frac{ \delta_{i -1/2} [T] }{{e_{1u} }_{\,i-1/2}^{\,k}} |
---|
| 674 | & -\ \ {_i^k \mathbb{R}_{-1/2}^{+1/2}} |
---|
| 675 | & {_i^k \mathbb{T}_{-1/2}^{+1/2} (T) } |
---|
| 676 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr) |
---|
| 677 | & \\ |
---|
| 678 | &+\Bigl( { _i^k \mathbb{T}_{+1/2}^{+1/2} (T) } |
---|
| 679 | &\frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 680 | & -\ \ {_i^k \mathbb{R}_{+1/2}^{+1/2}} |
---|
| 681 | & {_i^k \mathbb{T}_{+1/2}^{+1/2} (T) } |
---|
| 682 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr) \\ |
---|
| 683 | \end{Bmatrix} \\ |
---|
| 684 | % |
---|
| 685 | \allowdisplaybreaks |
---|
| 686 | \intertext{ |
---|
| 687 | Then outing in factor the triad in each of the four terms of the summation and |
---|
[11544] | 688 | substituting the triads by their expression given in \autoref{eq:ALGOS_Gf_triads}. |
---|
[10414] | 689 | It becomes: |
---|
| 690 | } |
---|
| 691 | % |
---|
| 692 | &\equiv -\sum_{i,k} |
---|
| 693 | \begin{Bmatrix} |
---|
| 694 | &\ \ \Bigl( \frac{ \delta_{i -1/2} [T] }{{e_{1u} }_{\,i-1/2}^{\,k}} |
---|
| 695 | & -\ \ {_i^k \mathbb{R}_{-1/2}^{-1/2}} |
---|
| 696 | &\frac{ \delta_{k-1/2} [T] }{{e_{3w}}_{\,i}^{\,k-1/2}} \Bigr)^2 |
---|
| 697 | & \frac{1}{4} \ {b_u}_{\,i-1/2}^{\,k} \ A_i^k |
---|
| 698 | & \\ |
---|
| 699 | &+\Bigl( \frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 700 | & -\ \ {_i^k \mathbb{R}_{+1/2}^{-1/2}} |
---|
| 701 | &\frac{ \delta_{k-1/2} [T] }{{e_{3w}}_{\,i}^{\,k-1/2}} \Bigr)^2 |
---|
| 702 | & \frac{1}{4} \ {b_u}_{\,i+1/2}^{\,k} \ A_i^k |
---|
| 703 | & \\ |
---|
| 704 | &+\Bigl( \frac{ \delta_{i -1/2} [T] }{{e_{1u} }_{\,i-1/2}^{\,k}} |
---|
| 705 | & -\ \ {_i^k \mathbb{R}_{-1/2}^{+1/2}} |
---|
| 706 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr)^2 |
---|
| 707 | & \frac{1}{4} \ {b_u}_{\,i-1/2}^{\,k} \ A_i^k |
---|
| 708 | & \\ |
---|
| 709 | &+\Bigl( \frac{ \delta_{i +1/2} [T] }{{e_{1u} }_{\,i+1/2}^{\,k}} |
---|
| 710 | & -\ \ {_i^k \mathbb{R}_{+1/2}^{+1/2}} |
---|
| 711 | &\frac{ \delta_{k+1/2} [T] }{{e_{3w}}_{\,i}^{\,k+1/2}} \Bigr)^2 |
---|
| 712 | & \frac{1}{4} \ {b_u}_{\,i+1/2}^{\,k} \ A_i^k \\ |
---|
| 713 | \end{Bmatrix} |
---|
| 714 | \\ |
---|
| 715 | & \\ |
---|
| 716 | % |
---|
| 717 | &\equiv - \sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 718 | \begin{matrix} |
---|
| 719 | &\Bigl( \frac{ \delta_{i +i_p} [T] }{{e_{1u} }_{\,i+i_p}^{\,k}} |
---|
| 720 | & -\ \ {_i^k \mathbb{R}_{i_p}^{k_p}} |
---|
| 721 | &\frac{ \delta_{k+k_p} [T] }{{e_{3w}}_{\,i}^{\,k+k_p}} \Bigr)^2 |
---|
| 722 | & \frac{1}{4} \ {b_u}_{\,i+i_p}^{\,k} \ A_i^k \ \ |
---|
| 723 | \end{matrix} |
---|
| 724 | \right\} |
---|
| 725 | \quad \leq 0 |
---|
[11543] | 726 | \end{align*} |
---|
[2282] | 727 | The last inequality is obviously obtained as we succeed in obtaining a negative summation of square quantities. |
---|
| 728 | |
---|
[10354] | 729 | Note that, if instead of multiplying $D_l^T$ by $T$, we were using another tracer field, let say $S$, |
---|
| 730 | then the previous demonstration would have let to: |
---|
[2282] | 731 | \begin{align*} |
---|
[10414] | 732 | \int_D S \; D_l^T \;dv &\equiv \sum_{i,k} \left\{ S \ D_l^T \ b_T \right\} \\ |
---|
| 733 | &\equiv - \sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 734 | \left( \frac{ \delta_{i +i_p} [S] }{{e_{1u} }_{\,i+i_p}^{\,k}} |
---|
| 735 | - {_i^k \mathbb{R}_{i_p}^{k_p}} |
---|
| 736 | \frac{ \delta_{k+k_p} [S] }{{e_{3w}}_{\,i}^{\,k+k_p}} \right) \right. \\ |
---|
| 737 | & \qquad \qquad \qquad \ \left. |
---|
| 738 | \left( \frac{ \delta_{i +i_p} [T] }{{e_{1u} }_{\,i+i_p}^{\,k}} |
---|
| 739 | - {_i^k \mathbb{R}_{i_p}^{k_p}} |
---|
| 740 | \frac{ \delta_{k+k_p} [T] }{{e_{3w}}_{\,i}^{\,k+k_p}} \right) |
---|
| 741 | \frac{1}{4} \ {b_u}_{\,i+i_p}^{\,k} \ A_i^k \ |
---|
| 742 | \right\} |
---|
| 743 | % |
---|
| 744 | \allowdisplaybreaks |
---|
| 745 | \intertext{ |
---|
| 746 | which, by applying the same operation as before but in reverse order, leads to: |
---|
| 747 | } |
---|
| 748 | % |
---|
| 749 | &\equiv \sum_{i,k} \left\{ D_l^S \ T \ b_T \right\} |
---|
[11543] | 750 | \end{align*} |
---|
[10354] | 751 | This means that the iso-neutral operator is self-adjoint. |
---|
| 752 | There is no need to develop a specific to obtain it. |
---|
[2282] | 753 | |
---|
[11597] | 754 | %% ================================================================================================= |
---|
[9393] | 755 | \subsection{Discrete invariants of the skew flux formulation} |
---|
[11544] | 756 | \label{subsec:ALGOS_eiv_skew} |
---|
[2282] | 757 | |
---|
[11543] | 758 | Demonstration for the conservation of the tracer variance in the (\textbf{i},\textbf{j}) plane. |
---|
[2282] | 759 | |
---|
| 760 | This have to be moved in an Appendix. |
---|
| 761 | |
---|
[10354] | 762 | The continuous property to be demonstrated is: |
---|
[2282] | 763 | \begin{align*} |
---|
[10414] | 764 | \int_D \nabla \cdot \textbf{F}_{eiv}(T) \; T \;dv \equiv 0 |
---|
[2282] | 765 | \end{align*} |
---|
[11544] | 766 | The discrete form of its left hand side is obtained using \autoref{eq:ALGOS_eiv_skew} |
---|
[2282] | 767 | \begin{align*} |
---|
[10414] | 768 | \sum\limits_{i,k} \sum_{\substack{i_p,\,k_p}} \Biggl\{ \;\; |
---|
| 769 | \delta_i &\left[ |
---|
| 770 | {e_{2u}}_{i+i_p+1/2}^{k} \;\ \ {A_{e}}_{i+i_p+1/2}^{k} |
---|
| 771 | \ \ \ { _{i+i_p+1/2}^k \mathbb{R}_{-i_p}^{k_p} } \quad \delta_{k+k_p}[T_{i+i_p+1/2}] |
---|
| 772 | \right] \; T_i^k \\ |
---|
| 773 | - \delta_k &\left[ |
---|
| 774 | {e_{2u}}_i^{k+k_p+1/2} \ \ {A_{e}}_i^{k+k_p+1/2} |
---|
| 775 | \ \ { _i^{k+k_p+1/2} \mathbb{R}_{i_p}^{-k_p} } \ \ \delta_{i+i_p}[T^{k+k_p+1/2}] |
---|
| 776 | \right] \; T_i^k \ \Biggr\} |
---|
[2282] | 777 | \end{align*} |
---|
| 778 | apply the adjoint of delta operator, it becomes |
---|
| 779 | \begin{align*} |
---|
[10414] | 780 | \sum\limits_{i,k} \sum_{\substack{i_p,\,k_p}} \Biggl\{ \;\; |
---|
| 781 | &\left( |
---|
| 782 | {e_{2u}}_{i+i_p+1/2}^{k} \;\ \ {A_{e}}_{i+i_p+1/2}^{k} |
---|
| 783 | \ \ \ { _{i+i_p+1/2}^k \mathbb{R}_{-i_p}^{k_p} } \quad \delta_{k+k_p}[T_{i+i_p+1/2}] |
---|
| 784 | \right) \; \delta_{i+1/2}[T^{k}] \\ |
---|
| 785 | - &\left( |
---|
| 786 | {e_{2u}}_i^{k+k_p+1/2} \ \ {A_{e}}_i^{k+k_p+1/2} |
---|
| 787 | \ \ { _i^{k+k_p+1/2} \mathbb{R}_{i_p}^{-k_p} } \ \ \delta_{i+i_p}[T^{k+k_p+1/2}] |
---|
| 788 | \right) \; \delta_{k+1/2}[T_{i}] \ \Biggr\} |
---|
[2282] | 789 | \end{align*} |
---|
| 790 | Expending the summation on $i_p$ and $k_p$, it becomes: |
---|
| 791 | \begin{align*} |
---|
[10414] | 792 | \begin{matrix} |
---|
| 793 | &\sum\limits_{i,k} \Bigl\{ |
---|
| 794 | &+{e_{2u}}_{i+1}^{k} &{A_{e}}_{i+1 }^{k} |
---|
| 795 | &\ {_{i+1}^k \mathbb{R}_{- 1/2}^{-1/2}} &\delta_{k-1/2}[T_{i+1}] &\delta_{i+1/2}[T^{k}] &\\ |
---|
| 796 | &&+{e_{2u}}_i^{k\ \ \ \:} &{A_{e}}_{i}^{k\ \ \ \:} |
---|
| 797 | &\ {\ \ \;_i^k \mathbb{R}_{+1/2}^{-1/2}} &\delta_{k-1/2}[T_{i\ \ \ \;}] &\delta_{i+1/2}[T^{k}] &\\ |
---|
| 798 | &&+{e_{2u}}_{i+1}^{k} &{A_{e}}_{i+1 }^{k} |
---|
| 799 | &\ {_{i+1}^k \mathbb{R}_{- 1/2}^{+1/2}} &\delta_{k+1/2}[T_{i+1}] &\delta_{i+1/2}[T^{k}] &\\ |
---|
| 800 | &&+{e_{2u}}_i^{k\ \ \ \:} &{A_{e}}_{i}^{k\ \ \ \:} |
---|
[2282] | 801 | &\ {\ \ \;_i^k \mathbb{R}_{+1/2}^{+1/2}} &\delta_{k+1/2}[T_{i\ \ \ \;}] &\delta_{i+1/2}[T^{k}] &\\ |
---|
[10414] | 802 | % |
---|
| 803 | &&-{e_{2u}}_i^{k+1} &{A_{e}}_i^{k+1} |
---|
| 804 | &{_i^{k+1} \mathbb{R}_{-1/2}^{- 1/2}} &\delta_{i-1/2}[T^{k+1}] &\delta_{k+1/2}[T_{i}] &\\ |
---|
| 805 | &&-{e_{2u}}_i^{k\ \ \ \:} &{A_{e}}_i^{k\ \ \ \:} |
---|
| 806 | &{\ \ \;_i^k \mathbb{R}_{-1/2}^{+1/2}} &\delta_{i-1/2}[T^{k\ \ \ \:}] &\delta_{k+1/2}[T_{i}] &\\ |
---|
| 807 | &&-{e_{2u}}_i^{k+1 } &{A_{e}}_i^{k+1} |
---|
| 808 | &{_i^{k+1} \mathbb{R}_{+1/2}^{- 1/2}} &\delta_{i+1/2}[T^{k+1}] &\delta_{k+1/2}[T_{i}] &\\ |
---|
| 809 | &&-{e_{2u}}_i^{k\ \ \ \:} &{A_{e}}_i^{k\ \ \ \:} |
---|
| 810 | &{\ \ \;_i^k \mathbb{R}_{+1/2}^{+1/2}} &\delta_{i+1/2}[T^{k\ \ \ \:}] &\delta_{k+1/2}[T_{i}] |
---|
| 811 | &\Bigr\} \\ |
---|
[11543] | 812 | \end{matrix} |
---|
[2282] | 813 | \end{align*} |
---|
[10354] | 814 | The two terms associated with the triad ${_i^k \mathbb{R}_{+1/2}^{+1/2}}$ are the same but of opposite signs, |
---|
[11543] | 815 | they cancel out. |
---|
[10354] | 816 | Exactly the same thing occurs for the triad ${_i^k \mathbb{R}_{-1/2}^{-1/2}}$. |
---|
| 817 | The two terms associated with the triad ${_i^k \mathbb{R}_{+1/2}^{-1/2}}$ are the same but both of opposite signs and |
---|
| 818 | shifted by 1 in $k$ direction. |
---|
| 819 | When summing over $k$ they cancel out with the neighbouring grid points. |
---|
| 820 | Exactly the same thing occurs for the triad ${_i^k \mathbb{R}_{-1/2}^{+1/2}}$ in the $i$ direction. |
---|
| 821 | Therefore the sum over the domain is zero, |
---|
[11435] | 822 | \ie\ the variance of the tracer is preserved by the discretisation of the skew fluxes. |
---|
[2282] | 823 | |
---|
[11584] | 824 | \onlyinsubfile{\input{../../global/epilogue}} |
---|
[10414] | 825 | |
---|
[6997] | 826 | \end{document} |
---|