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