[10414] | 1 | \documentclass[../main/NEMO_manual]{subfiles} |
---|
| 2 | |
---|
[10442] | 3 | %% Local cmds |
---|
| 4 | \newcommand{\rML}[1][i]{\ensuremath{_{\mathrm{ML}\,#1}}} |
---|
| 5 | \newcommand{\rMLt}[1][i]{\tilde{r}_{\mathrm{ML}\,#1}} |
---|
[11187] | 6 | %% Move to ../../global/new_cmds.tex to avoid error with \listoffigures |
---|
| 7 | %\newcommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}} |
---|
[10442] | 8 | \newcommand{\triadd}[5]{\ensuremath{{}_{#1}^{#2}{\mathbb{#3}}_{#4}^{\,#5}}} |
---|
| 9 | \newcommand{\triadt}[5]{\ensuremath{{}_{#1}^{#2}{\tilde{\mathbb{#3}}}_{#4}^{\,#5}}} |
---|
| 10 | \newcommand{\rtriad}[2][]{\ensuremath{\triad[#1]{i}{k}{#2}{i_p}{k_p}}} |
---|
| 11 | \newcommand{\rtriadt}[1]{\ensuremath{\triadt{i}{k}{#1}{i_p}{k_p}}} |
---|
| 12 | |
---|
[6997] | 13 | \begin{document} |
---|
[11598] | 14 | |
---|
[10442] | 15 | \chapter{Iso-Neutral Diffusion and Eddy Advection using Triads} |
---|
[11543] | 16 | \label{apdx:TRIADS} |
---|
[10414] | 17 | |
---|
[11598] | 18 | \thispagestyle{plain} |
---|
| 19 | |
---|
[11435] | 20 | \chaptertoc |
---|
[10414] | 21 | |
---|
[11598] | 22 | \paragraph{Changes record} ~\\ |
---|
| 23 | |
---|
| 24 | {\footnotesize |
---|
| 25 | \begin{tabularx}{\textwidth}{l||X|X} |
---|
| 26 | Release & Author(s) & Modifications \\ |
---|
| 27 | \hline |
---|
| 28 | {\em 4.0} & {\em ...} & {\em ...} \\ |
---|
| 29 | {\em 3.6} & {\em ...} & {\em ...} \\ |
---|
| 30 | {\em 3.4} & {\em ...} & {\em ...} \\ |
---|
| 31 | {\em <=3.4} & {\em ...} & {\em ...} |
---|
| 32 | \end{tabularx} |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | \clearpage |
---|
| 36 | |
---|
[11597] | 37 | %% ================================================================================================= |
---|
[11577] | 38 | \section[Choice of \forcode{namtra\_ldf} namelist parameters]{Choice of \protect\nam{tra_ldf}{tra\_ldf} namelist parameters} |
---|
[10146] | 39 | |
---|
[10354] | 40 | Two scheme are available to perform the iso-neutral diffusion. |
---|
[11577] | 41 | If the namelist logical \np{ln_traldf_triad}{ln\_traldf\_triad} is set true, |
---|
[11435] | 42 | \NEMO\ updates both active and passive tracers using the Griffies triad representation of iso-neutral diffusion and |
---|
[10354] | 43 | the eddy-induced advective skew (GM) fluxes. |
---|
[11577] | 44 | If the namelist logical \np{ln_traldf_iso}{ln\_traldf\_iso} is set true, |
---|
[10354] | 45 | the filtered version of Cox's original scheme (the Standard scheme) is employed (\autoref{sec:LDF_slp}). |
---|
| 46 | In the present implementation of the Griffies scheme, |
---|
[11577] | 47 | the advective skew fluxes are implemented even if \np{ln_traldf_eiv}{ln\_traldf\_eiv} is false. |
---|
[6289] | 48 | |
---|
[10354] | 49 | Values of iso-neutral diffusivity and GM coefficient are set as described in \autoref{sec:LDF_coef}. |
---|
[11435] | 50 | Note that when GM fluxes are used, the eddy-advective (GM) velocities are output for diagnostic purposes using XIOS, |
---|
[6289] | 51 | even though the eddy advection is accomplished by means of the skew fluxes. |
---|
[2282] | 52 | |
---|
[3294] | 53 | The options specific to the Griffies scheme include: |
---|
[10442] | 54 | \begin{description} |
---|
[11598] | 55 | \item [{\np{ln_triad_iso}{ln\_triad\_iso}}] See \autoref{sec:TRIADS_taper}. |
---|
[10354] | 56 | If this is set false (the default), |
---|
| 57 | then `iso-neutral' mixing is accomplished within the surface mixed-layer along slopes linearly decreasing with |
---|
[11543] | 58 | depth from the value immediately below the mixed-layer to zero (flat) at the surface (\autoref{sec:TRIADS_lintaper}). |
---|
[10354] | 59 | This is the same treatment as used in the default implementation |
---|
[11543] | 60 | \autoref{subsec:LDF_slp_iso}; \autoref{fig:LDF_eiv_slp}. |
---|
[11577] | 61 | Where \np{ln_triad_iso}{ln\_triad\_iso} is set true, |
---|
[10354] | 62 | the vertical skew flux is further reduced to ensure no vertical buoyancy flux, |
---|
| 63 | giving an almost pure horizontal diffusive tracer flux within the mixed layer. |
---|
[11543] | 64 | This is similar to the tapering suggested by \citet{gerdes.koberle.ea_CD91}. See \autoref{subsec:TRIADS_Gerdes-taper} |
---|
[11598] | 65 | \item [{\np{ln_botmix_triad}{ln\_botmix\_triad}}] See \autoref{sec:TRIADS_iso_bdry}. |
---|
[6289] | 66 | If this is set false (the default) then the lateral diffusive fluxes |
---|
[11543] | 67 | associated with triads partly masked by topography are neglected. |
---|
| 68 | If it is set true, however, then these lateral diffusive fluxes are applied, |
---|
[6289] | 69 | giving smoother bottom tracer fields at the cost of introducing diapycnal mixing. |
---|
[11598] | 70 | \item [{\np{rn_sw_triad}{rn\_sw\_triad}}] blah blah to be added.... |
---|
[3294] | 71 | \end{description} |
---|
[6289] | 72 | The options shared with the Standard scheme include: |
---|
[10442] | 73 | \begin{description} |
---|
[11598] | 74 | \item [{\np{ln_traldf_msc}{ln\_traldf\_msc}}] blah blah to be added |
---|
| 75 | \item [{\np{rn_slpmax}{rn\_slpmax}}] blah blah to be added |
---|
[6289] | 76 | \end{description} |
---|
[9393] | 77 | |
---|
[11597] | 78 | %% ================================================================================================= |
---|
[3294] | 79 | \section{Triad formulation of iso-neutral diffusion} |
---|
[11543] | 80 | \label{sec:TRIADS_iso} |
---|
[10414] | 81 | |
---|
[11435] | 82 | We have implemented into \NEMO\ a scheme inspired by \citet{griffies.gnanadesikan.ea_JPO98}, |
---|
| 83 | but formulated within the \NEMO\ framework, using scale factors rather than grid-sizes. |
---|
[2282] | 84 | |
---|
[11597] | 85 | %% ================================================================================================= |
---|
[9393] | 86 | \subsection{Iso-neutral diffusion operator} |
---|
[10414] | 87 | |
---|
[10354] | 88 | The iso-neutral second order tracer diffusive operator for small angles between |
---|
[11543] | 89 | iso-neutral surfaces and geopotentials is given by \autoref{eq:TRIADS_iso_tensor_1}: |
---|
[10414] | 90 | \begin{subequations} |
---|
[11543] | 91 | \label{eq:TRIADS_iso_tensor_1} |
---|
[3294] | 92 | \begin{equation} |
---|
[10442] | 93 | D^{lT}=-\nabla \cdot\vect{f}^{lT}\equiv |
---|
[3294] | 94 | -\frac{1}{e_1e_2e_3}\left[\pd{i}\left (f_1^{lT}e_2e_3\right) + |
---|
| 95 | \pd{j}\left (f_2^{lT}e_2e_3\right) + \pd{k}\left (f_3^{lT}e_1e_2\right)\right], |
---|
| 96 | \end{equation} |
---|
| 97 | where the diffusive flux per unit area of physical space |
---|
| 98 | \begin{equation} |
---|
[10442] | 99 | \vect{f}^{lT}=-{A^{lT}}\Re\cdot\nabla T, |
---|
[3294] | 100 | \end{equation} |
---|
| 101 | \begin{equation} |
---|
[11543] | 102 | \label{eq:TRIADS_iso_tensor_2} |
---|
[3294] | 103 | \mbox{with}\quad \;\;\Re = |
---|
| 104 | \begin{pmatrix} |
---|
[10442] | 105 | 1 & 0 & -r_1 \rule[-.9 em]{0pt}{1.79 em} \\ |
---|
| 106 | 0 & 1 & -r_2 \rule[-.9 em]{0pt}{1.79 em} \\ |
---|
| 107 | -r_1 & -r_2 & r_1 ^2+r_2 ^2 \rule[-.9 em]{0pt}{1.79 em} |
---|
[3294] | 108 | \end{pmatrix} |
---|
[10442] | 109 | \quad \text{and} \quad\nabla T= |
---|
[3294] | 110 | \begin{pmatrix} |
---|
[10442] | 111 | \frac{1}{e_1} \pd[T]{i} \rule[-.9 em]{0pt}{1.79 em} \\ |
---|
| 112 | \frac{1}{e_2} \pd[T]{j} \rule[-.9 em]{0pt}{1.79 em} \\ |
---|
| 113 | \frac{1}{e_3} \pd[T]{k} \rule[-.9 em]{0pt}{1.79 em} |
---|
[10414] | 114 | \end{pmatrix} |
---|
| 115 | . |
---|
[3294] | 116 | \end{equation} |
---|
| 117 | \end{subequations} |
---|
| 118 | % \left( {{\begin{array}{*{20}c} |
---|
| 119 | % 1 \hfill & 0 \hfill & {-r_1 } \hfill \\ |
---|
| 120 | % 0 \hfill & 1 \hfill & {-r_2 } \hfill \\ |
---|
| 121 | % {-r_1 } \hfill & {-r_2 } \hfill & {r_1 ^2+r_2 ^2} \hfill \\ |
---|
| 122 | % \end{array} }} \right) |
---|
[11543] | 123 | Here \autoref{eq:MB_iso_slopes} |
---|
[2282] | 124 | \begin{align*} |
---|
| 125 | r_1 &=-\frac{e_3 }{e_1 } \left( \frac{\partial \rho }{\partial i} |
---|
[10414] | 126 | \right) |
---|
| 127 | \left( {\frac{\partial \rho }{\partial k}} \right)^{-1} \\ |
---|
| 128 | &=-\frac{e_3 }{e_1 } \left( -\alpha\frac{\partial T }{\partial i} + |
---|
| 129 | \beta\frac{\partial S }{\partial i} \right) \left( |
---|
| 130 | -\alpha\frac{\partial T }{\partial k} + \beta\frac{\partial S |
---|
| 131 | }{\partial k} \right)^{-1} |
---|
[2282] | 132 | \end{align*} |
---|
[10354] | 133 | is the $i$-component of the slope of the iso-neutral surface relative to the computational surface, |
---|
| 134 | and $r_2$ is the $j$-component. |
---|
[2282] | 135 | |
---|
[10354] | 136 | We will find it useful to consider the fluxes per unit area in $i,j,k$ space; we write |
---|
[10414] | 137 | \[ |
---|
[11543] | 138 | % \label{eq:TRIADS_Fijk} |
---|
[3294] | 139 | \vect{F}_{\mathrm{iso}}=\left(f_1^{lT}e_2e_3, f_2^{lT}e_1e_3, f_3^{lT}e_1e_2\right). |
---|
[10414] | 140 | \] |
---|
[10354] | 141 | Additionally, we will sometimes write the contributions towards the fluxes $\vect{f}$ and |
---|
| 142 | $\vect{F}_{\mathrm{iso}}$ from the component $R_{ij}$ of $\Re$ as $f_{ij}$, $F_{\mathrm{iso}\: ij}$, |
---|
| 143 | with $f_{ij}=R_{ij}e_i^{-1}\partial T/\partial x_i$ (no summation) etc. |
---|
[3294] | 144 | |
---|
| 145 | The off-diagonal terms of the small angle diffusion tensor |
---|
[11543] | 146 | \autoref{eq:TRIADS_iso_tensor_1}, \autoref{eq:TRIADS_iso_tensor_2} produce skew-fluxes along |
---|
[10354] | 147 | the $i$- and $j$-directions resulting from the vertical tracer gradient: |
---|
[3294] | 148 | \begin{align} |
---|
[11543] | 149 | \label{eq:TRIADS_i13c} |
---|
[10442] | 150 | f_{13}=&+{A^{lT}} r_1\frac{1}{e_3}\frac{\partial T}{\partial k},\qquad f_{23}=+{A^{lT}} r_2\frac{1}{e_3}\frac{\partial T}{\partial k}\\ |
---|
[10414] | 151 | \intertext{and in the k-direction resulting from the lateral tracer gradients} |
---|
[11543] | 152 | \label{eq:TRIADS_i31c} |
---|
[10442] | 153 | f_{31}+f_{32}=& {A^{lT}} r_1\frac{1}{e_1}\frac{\partial T}{\partial i}+{A^{lT}} r_2\frac{1}{e_1}\frac{\partial T}{\partial i} |
---|
[3294] | 154 | \end{align} |
---|
| 155 | |
---|
[10354] | 156 | The vertical diffusive flux associated with the $_{33}$ component of the small angle diffusion tensor is |
---|
[2282] | 157 | \begin{equation} |
---|
[11543] | 158 | \label{eq:TRIADS_i33c} |
---|
[10442] | 159 | f_{33}=-{A^{lT}}(r_1^2 +r_2^2) \frac{1}{e_3}\frac{\partial T}{\partial k}. |
---|
[2282] | 160 | \end{equation} |
---|
| 161 | |
---|
[10354] | 162 | Since there are no cross terms involving $r_1$ and $r_2$ in the above, |
---|
| 163 | we can consider the iso-neutral diffusive fluxes separately in the $i$-$k$ and $j$-$k$ planes, |
---|
| 164 | just adding together the vertical components from each plane. |
---|
| 165 | The following description will describe the fluxes on the $i$-$k$ plane. |
---|
[2282] | 166 | |
---|
[11543] | 167 | There is no natural discretization for the $i$-component of the skew-flux, \autoref{eq:TRIADS_i13c}, |
---|
[10354] | 168 | as although it must be evaluated at $u$-points, |
---|
| 169 | it involves vertical gradients (both for the tracer and the slope $r_1$), defined at $w$-points. |
---|
[11543] | 170 | Similarly, the vertical skew flux, \autoref{eq:TRIADS_i31c}, |
---|
[10354] | 171 | is evaluated at $w$-points but involves horizontal gradients defined at $u$-points. |
---|
[2282] | 172 | |
---|
[11597] | 173 | %% ================================================================================================= |
---|
[9393] | 174 | \subsection{Standard discretization} |
---|
[10414] | 175 | |
---|
[2282] | 176 | The straightforward approach to discretize the lateral skew flux |
---|
[11543] | 177 | \autoref{eq:TRIADS_i13c} from tracer cell $i,k$ to $i+1,k$, introduced in 1995 into OPA, |
---|
| 178 | \autoref{eq:TRA_ldf_iso}, is to calculate a mean vertical gradient at the $u$-point from |
---|
[10354] | 179 | the average of the four surrounding vertical tracer gradients, and multiply this by a mean slope at the $u$-point, |
---|
| 180 | calculated from the averaged surrounding vertical density gradients. |
---|
| 181 | The total area-integrated skew-flux (flux per unit area in $ijk$ space) from tracer cell $i,k$ to $i+1,k$, |
---|
| 182 | noting that the $e_{{3}_{i+1/2}^k}$ in the area $e{_{3}}_{i+1/2}^k{e_{2}}_{i+1/2}i^k$ at the $u$-point cancels out with |
---|
[11543] | 183 | the $1/{e_{3}}_{i+1/2}^k$ associated with the vertical tracer gradient, is then \autoref{eq:TRA_ldf_iso} |
---|
[10406] | 184 | \[ |
---|
[10442] | 185 | \left(F_u^{13} \right)_{i+\frac{1}{2}}^k = {A}_{i+\frac{1}{2}}^k |
---|
[3294] | 186 | {e_{2}}_{i+1/2}^k \overline{\overline |
---|
[2282] | 187 | r_1} ^{\,i,k}\,\overline{\overline{\delta_k T}}^{\,i,k}, |
---|
[10406] | 188 | \] |
---|
[2282] | 189 | where |
---|
[10406] | 190 | \[ |
---|
[2282] | 191 | \overline{\overline |
---|
[10414] | 192 | r_1} ^{\,i,k} = -\frac{{e_{3u}}_{i+1/2}^k}{{e_{1u}}_{i+1/2}^k} |
---|
[3294] | 193 | \frac{\delta_{i+1/2} [\rho]}{\overline{\overline{\delta_k \rho}}^{\,i,k}}, |
---|
[10406] | 194 | \] |
---|
[10442] | 195 | and here and in the following we drop the $^{lT}$ superscript from ${A^{lT}}$ for simplicity. |
---|
[10354] | 196 | Unfortunately the resulting combination $\overline{\overline{\delta_k\bullet}}^{\,i,k}$ of a $k$ average and |
---|
| 197 | a $k$ difference of the tracer reduces to $\bullet_{k+1}-\bullet_{k-1}$, |
---|
| 198 | so two-grid-point oscillations are invisible to this discretization of the iso-neutral operator. |
---|
| 199 | These \emph{computational modes} will not be damped by this operator, and may even possibly be amplified by it. |
---|
| 200 | Consequently, applying this operator to a tracer does not guarantee the decrease of its global-average variance. |
---|
| 201 | To correct this, we introduced a smoothing of the slopes of the iso-neutral surfaces (see \autoref{chap:LDF}). |
---|
| 202 | This technique works for $T$ and $S$ in so far as they are active tracers |
---|
[11435] | 203 | (\ie\ they enter the computation of density), but it does not work for a passive tracer. |
---|
[9393] | 204 | |
---|
[11597] | 205 | %% ================================================================================================= |
---|
[2282] | 206 | \subsection{Expression of the skew-flux in terms of triad slopes} |
---|
[10414] | 207 | |
---|
[11123] | 208 | \citep{griffies.gnanadesikan.ea_JPO98} introduce a different discretization of the off-diagonal terms that |
---|
[10354] | 209 | nicely solves the problem. |
---|
[3294] | 210 | % Instead of multiplying the mean slope calculated at the $u$-point by |
---|
| 211 | % the mean vertical gradient at the $u$-point, |
---|
[10414] | 212 | \begin{figure}[tb] |
---|
[11558] | 213 | \centering |
---|
[11690] | 214 | \includegraphics[width=0.66\textwidth]{TRIADS_GRIFF_triad_fluxes} |
---|
[11558] | 215 | \caption[Triads arrangement and tracer gradients to give lateral and vertical tracer fluxes]{ |
---|
| 216 | (a) Arrangement of triads $S_i$ and tracer gradients to |
---|
| 217 | give lateral tracer flux from box $i,k$ to $i+1,k$ |
---|
| 218 | (b) Triads $S'_i$ and tracer gradients to give vertical tracer flux from |
---|
| 219 | box $i,k$ to $i,k+1$.} |
---|
| 220 | \label{fig:TRIADS_ISO_triad} |
---|
[10414] | 221 | \end{figure} |
---|
[10354] | 222 | They get the skew flux from the products of the vertical gradients at each $w$-point surrounding the $u$-point with |
---|
| 223 | the corresponding `triad' slope calculated from the lateral density gradient across the $u$-point divided by |
---|
| 224 | the vertical density gradient at the same $w$-point as the tracer gradient. |
---|
[11543] | 225 | See \autoref{fig:TRIADS_ISO_triad}a, where the thick lines denote the tracer gradients, |
---|
[10354] | 226 | and the thin lines the corresponding triads, with slopes $s_1, \dotsc s_4$. |
---|
| 227 | The total area-integrated skew-flux from tracer cell $i,k$ to $i+1,k$ |
---|
[2282] | 228 | \begin{multline} |
---|
[11543] | 229 | \label{eq:TRIADS_i13} |
---|
[10442] | 230 | \left( F_u^{13} \right)_{i+\frac{1}{2}}^k = {A}_{i+1}^k a_1 s_1 |
---|
[10406] | 231 | \delta_{k+\frac{1}{2}} \left[ T^{i+1} |
---|
[10442] | 232 | \right]/e_{{3w}_{i+1}}^{k+\frac{1}{2}} + {A} _i^k a_2 s_2 \delta |
---|
[2282] | 233 | _{k+\frac{1}{2}} \left[ T^i |
---|
| 234 | \right]/e_{{3w}_{i+1}}^{k+\frac{1}{2}} \\ |
---|
[10442] | 235 | +{A} _{i+1}^k a_3 s_3 \delta_{k-\frac{1}{2}} \left[ T^{i+1} |
---|
| 236 | \right]/e_{{3w}_{i+1}}^{k+\frac{1}{2}} +{A} _i^k a_4 s_4 \delta |
---|
[2282] | 237 | _{k-\frac{1}{2}} \left[ T^i \right]/e_{{3w}_{i+1}}^{k+\frac{1}{2}}, |
---|
| 238 | \end{multline} |
---|
[10354] | 239 | where the contributions of the triad fluxes are weighted by areas $a_1, \dotsc a_4$, |
---|
[10442] | 240 | and ${A}$ is now defined at the tracer points rather than the $u$-points. |
---|
[10354] | 241 | This discretization gives a much closer stencil, and disallows the two-point computational modes. |
---|
[2282] | 242 | |
---|
[11543] | 243 | The vertical skew flux \autoref{eq:TRIADS_i31c} from tracer cell $i,k$ to $i,k+1$ at |
---|
| 244 | the $w$-point $i,k+\frac{1}{2}$ is constructed similarly (\autoref{fig:TRIADS_ISO_triad}b) by |
---|
[10354] | 245 | multiplying lateral tracer gradients from each of the four surrounding $u$-points by the appropriate triad slope: |
---|
[2282] | 246 | \begin{multline} |
---|
[11543] | 247 | \label{eq:TRIADS_i31} |
---|
[10442] | 248 | \left( F_w^{31} \right) _i ^{k+\frac{1}{2}} = {A}_i^{k+1} a_{1}' |
---|
[10406] | 249 | s_{1}' \delta_{i-\frac{1}{2}} \left[ T^{k+1} \right]/{e_{3u}}_{i-\frac{1}{2}}^{k+1} |
---|
[10442] | 250 | +{A}_i^{k+1} a_{2}' s_{2}' \delta_{i+\frac{1}{2}} \left[ T^{k+1} \right]/{e_{3u}}_{i+\frac{1}{2}}^{k+1} \\ |
---|
| 251 | + {A}_i^k a_{3}' s_{3}' \delta_{i-\frac{1}{2}} \left[ T^k\right]/{e_{3u}}_{i-\frac{1}{2}}^k |
---|
| 252 | +{A}_i^k a_{4}' s_{4}' \delta_{i+\frac{1}{2}} \left[ T^k \right]/{e_{3u}}_{i+\frac{1}{2}}^k. |
---|
[2282] | 253 | \end{multline} |
---|
[3294] | 254 | |
---|
| 255 | We notate the triad slopes $s_i$ and $s'_i$ in terms of the `anchor point' $i,k$ |
---|
[10354] | 256 | (appearing in both the vertical and lateral gradient), |
---|
| 257 | and the $u$- and $w$-points $(i+i_p,k)$, $(i,k+k_p)$ at the centres of the `arms' of the triad as follows |
---|
[11543] | 258 | (see also \autoref{fig:TRIADS_ISO_triad}): |
---|
[2282] | 259 | \begin{equation} |
---|
[11543] | 260 | \label{eq:TRIADS_R} |
---|
[3294] | 261 | _i^k \mathbb{R}_{i_p}^{k_p} |
---|
| 262 | =-\frac{ {e_{3w}}_{\,i}^{\,k+k_p}} { {e_{1u}}_{\,i+i_p}^{\,k}} |
---|
[2282] | 263 | \ |
---|
[3294] | 264 | \frac |
---|
[6289] | 265 | { \alpha_i^k \ \delta_{i+i_p}[T^k] - \beta_i^k \ \delta_{i+i_p}[S^k] } |
---|
| 266 | { \alpha_i^k \ \delta_{k+k_p}[T^i] - \beta_i^k \ \delta_{k+k_p}[S^i] }. |
---|
[2282] | 267 | \end{equation} |
---|
[10354] | 268 | In calculating the slopes of the local neutral surfaces, |
---|
| 269 | the expansion coefficients $\alpha$ and $\beta$ are evaluated at the anchor points of the triad, |
---|
[6289] | 270 | while the metrics are calculated at the $u$- and $w$-points on the arms. |
---|
[2282] | 271 | |
---|
[10414] | 272 | \begin{figure}[tb] |
---|
[11558] | 273 | \centering |
---|
[11690] | 274 | \includegraphics[width=0.66\textwidth]{TRIADS_GRIFF_qcells} |
---|
[11558] | 275 | \caption[Triad notation for quarter cells]{ |
---|
| 276 | Triad notation for quarter cells. |
---|
| 277 | $T$-cells are inside boxes, |
---|
| 278 | while the $i+\fractext{1}{2},k$ $u$-cell is shaded in green and |
---|
| 279 | the $i,k+\fractext{1}{2}$ $w$-cell is shaded in pink.} |
---|
| 280 | \label{fig:TRIADS_qcells} |
---|
[10414] | 281 | \end{figure} |
---|
[2282] | 282 | |
---|
[11543] | 283 | Each triad $\{_i^{k}\:_{i_p}^{k_p}\}$ is associated (\autoref{fig:TRIADS_qcells}) with the quarter cell that is |
---|
[10354] | 284 | the intersection of the $i,k$ $T$-cell, the $i+i_p,k$ $u$-cell and the $i,k+k_p$ $w$-cell. |
---|
[11543] | 285 | Expressing the slopes $s_i$ and $s'_i$ in \autoref{eq:TRIADS_i13} and \autoref{eq:TRIADS_i31} in this notation, |
---|
[11435] | 286 | we have \eg\ \ $s_1=s'_1={\:}_i^k \mathbb{R}_{1/2}^{1/2}$. |
---|
[10354] | 287 | Each triad slope $_i^k\mathbb{R}_{i_p}^{k_p}$ is used once (as an $s$) to |
---|
| 288 | calculate the lateral flux along its $u$-arm, at $(i+i_p,k)$, |
---|
| 289 | and then again as an $s'$ to calculate the vertical flux along its $w$-arm at $(i,k+k_p)$. |
---|
| 290 | Each vertical area $a_i$ used to calculate the lateral flux and horizontal area $a'_i$ used to |
---|
| 291 | calculate the vertical flux can also be identified as the area across the $u$- and $w$-arms of a unique triad, |
---|
| 292 | and we notate these areas, similarly to the triad slopes, |
---|
| 293 | as $_i^k{\mathbb{A}_u}_{i_p}^{k_p}$, $_i^k{\mathbb{A}_w}_{i_p}^{k_p}$, |
---|
[11543] | 294 | where \eg\ in \autoref{eq:TRIADS_i13} $a_{1}={\:}_i^k{\mathbb{A}_u}_{1/2}^{1/2}$, |
---|
| 295 | and in \autoref{eq:TRIADS_i31} $a'_{1}={\:}_i^k{\mathbb{A}_w}_{1/2}^{1/2}$. |
---|
[2282] | 296 | |
---|
[11597] | 297 | %% ================================================================================================= |
---|
[9393] | 298 | \subsection{Full triad fluxes} |
---|
[10414] | 299 | |
---|
[10354] | 300 | A key property of iso-neutral diffusion is that it should not affect the (locally referenced) density. |
---|
| 301 | In particular there should be no lateral or vertical density flux. |
---|
| 302 | The lateral density flux disappears so long as the area-integrated lateral diffusive flux from |
---|
| 303 | tracer cell $i,k$ to $i+1,k$ coming from the $_{11}$ term of the diffusion tensor takes the form |
---|
[2282] | 304 | \begin{equation} |
---|
[11543] | 305 | \label{eq:TRIADS_i11} |
---|
[2282] | 306 | \left( F_u^{11} \right) _{i+\frac{1}{2}} ^{k} = |
---|
[10442] | 307 | - \left( {A}_i^{k+1} a_{1} + {A}_i^{k+1} a_{2} + {A}_i^k |
---|
| 308 | a_{3} + {A}_i^k a_{4} \right) |
---|
[10406] | 309 | \frac{\delta_{i+1/2} \left[ T^k\right]}{{e_{1u}}_{\,i+1/2}^{\,k}}, |
---|
[2282] | 310 | \end{equation} |
---|
[11543] | 311 | where the areas $a_i$ are as in \autoref{eq:TRIADS_i13}. |
---|
| 312 | In this case, separating the total lateral flux, the sum of \autoref{eq:TRIADS_i13} and \autoref{eq:TRIADS_i11}, |
---|
[10354] | 313 | into triad components, a lateral tracer flux |
---|
[2282] | 314 | \begin{equation} |
---|
[11543] | 315 | \label{eq:TRIADS_latflux-triad} |
---|
[10442] | 316 | _i^k {\mathbb{F}_u}_{i_p}^{k_p} (T) = - {A}_i^k{ \:}_i^k{\mathbb{A}_u}_{i_p}^{k_p} |
---|
[2282] | 317 | \left( |
---|
| 318 | \frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 319 | -\ {_i^k\mathbb{R}_{i_p}^{k_p}} \ |
---|
| 320 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 321 | \right) |
---|
| 322 | \end{equation} |
---|
[10354] | 323 | can be identified with each triad. |
---|
| 324 | Then, because the same metric factors ${e_{3w}}_{\,i}^{\,k+k_p}$ and ${e_{1u}}_{\,i+i_p}^{\,k}$ are employed for both |
---|
| 325 | the density gradients in $ _i^k \mathbb{R}_{i_p}^{k_p}$ and the tracer gradients, |
---|
| 326 | the lateral density flux associated with each triad separately disappears. |
---|
[2282] | 327 | \begin{equation} |
---|
[11543] | 328 | \label{eq:TRIADS_latflux-rho} |
---|
[2282] | 329 | {\mathbb{F}_u}_{i_p}^{k_p} (\rho)=-\alpha _i^k {\:}_i^k {\mathbb{F}_u}_{i_p}^{k_p} (T) + \beta_i^k {\:}_i^k {\mathbb{F}_u}_{i_p}^{k_p} (S)=0 |
---|
| 330 | \end{equation} |
---|
[10354] | 331 | Thus the total flux $\left( F_u^{31} \right) ^i _{i,k+\frac{1}{2}} + \left( F_u^{11} \right) ^i _{i,k+\frac{1}{2}}$ from |
---|
| 332 | tracer cell $i,k$ to $i+1,k$ must also vanish since it is a sum of four such triad fluxes. |
---|
[2282] | 333 | |
---|
[11543] | 334 | The squared slope $r_1^2$ in the expression \autoref{eq:TRIADS_i33c} for the $_{33}$ component is also expressed in |
---|
[10354] | 335 | terms of area-weighted squared triad slopes, |
---|
| 336 | so the area-integrated vertical flux from tracer cell $i,k$ to $i,k+1$ resulting from the $r_1^2$ term is |
---|
[2282] | 337 | \begin{equation} |
---|
[11543] | 338 | \label{eq:TRIADS_i33} |
---|
[2282] | 339 | \left( F_w^{33} \right) _i^{k+\frac{1}{2}} = |
---|
[10442] | 340 | - \left( {A}_i^{k+1} a_{1}' s_{1}'^2 |
---|
| 341 | + {A}_i^{k+1} a_{2}' s_{2}'^2 |
---|
| 342 | + {A}_i^k a_{3}' s_{3}'^2 |
---|
| 343 | + {A}_i^k a_{4}' s_{4}'^2 \right)\delta_{k+\frac{1}{2}} \left[ T^{i+1} \right], |
---|
[2282] | 344 | \end{equation} |
---|
[11543] | 345 | where the areas $a'$ and slopes $s'$ are the same as in \autoref{eq:TRIADS_i31}. |
---|
| 346 | Then, separating the total vertical flux, the sum of \autoref{eq:TRIADS_i31} and \autoref{eq:TRIADS_i33}, |
---|
[10354] | 347 | into triad components, a vertical flux |
---|
[2282] | 348 | \begin{align} |
---|
[11543] | 349 | \label{eq:TRIADS_vertflux-triad} |
---|
[2282] | 350 | _i^k {\mathbb{F}_w}_{i_p}^{k_p} (T) |
---|
[10442] | 351 | &= {A}_i^k{\: }_i^k{\mathbb{A}_w}_{i_p}^{k_p} |
---|
[10414] | 352 | \left( |
---|
[2282] | 353 | {_i^k\mathbb{R}_{i_p}^{k_p}}\frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 354 | -\ \left({_i^k\mathbb{R}_{i_p}^{k_p}}\right)^2 \ |
---|
| 355 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
[10414] | 356 | \right) \\ |
---|
[2282] | 357 | &= - \left(\left.{ }_i^k{\mathbb{A}_w}_{i_p}^{k_p}\right/{ }_i^k{\mathbb{A}_u}_{i_p}^{k_p}\right) |
---|
[11543] | 358 | {_i^k\mathbb{R}_{i_p}^{k_p}}{\: }_i^k{\mathbb{F}_u}_{i_p}^{k_p} (T) \label{eq:TRIADS_vertflux-triad2} |
---|
[2282] | 359 | \end{align} |
---|
[10354] | 360 | may be associated with each triad. |
---|
| 361 | Each vertical density flux $_i^k {\mathbb{F}_w}_{i_p}^{k_p} (\rho)$ associated with a triad then |
---|
| 362 | separately disappears (because the lateral flux $_i^k{\mathbb{F}_u}_{i_p}^{k_p} (\rho)$ disappears). |
---|
| 363 | Consequently the total vertical density flux |
---|
| 364 | $\left( F_w^{31} \right)_i ^{k+\frac{1}{2}} + \left( F_w^{33} \right)_i^{k+\frac{1}{2}}$ from |
---|
| 365 | tracer cell $i,k$ to $i,k+1$ must also vanish since it is a sum of four such triad fluxes. |
---|
[2282] | 366 | |
---|
[11543] | 367 | We can explicitly identify (\autoref{fig:TRIADS_qcells}) the triads associated with the $s_i$, $a_i$, |
---|
| 368 | and $s'_i$, $a'_i$ used in the definition of the $u$-fluxes and $w$-fluxes in \autoref{eq:TRIADS_i31}, |
---|
| 369 | \autoref{eq:TRIADS_i13}, \autoref{eq:TRIADS_i11} \autoref{eq:TRIADS_i33} and \autoref{fig:TRIADS_ISO_triad} to write out |
---|
[10354] | 370 | the iso-neutral fluxes at $u$- and $w$-points as sums of the triad fluxes that cross the $u$- and $w$-faces: |
---|
[11543] | 371 | %(\autoref{fig:TRIADS_ISO_triad}): |
---|
[10414] | 372 | \begin{flalign} |
---|
[11543] | 373 | \label{eq:TRIADS_iso_flux} \vect{F}_{\mathrm{iso}}(T) &\equiv |
---|
[2282] | 374 | \sum_{\substack{i_p,\,k_p}} |
---|
| 375 | \begin{pmatrix} |
---|
[10414] | 376 | {_{i+1/2-i_p}^k {\mathbb{F}_u}_{i_p}^{k_p} } (T) \\ \\ |
---|
| 377 | {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p} } (T) \\ |
---|
[2282] | 378 | \end{pmatrix}. |
---|
| 379 | \end{flalign} |
---|
[9393] | 380 | |
---|
[11597] | 381 | %% ================================================================================================= |
---|
[3294] | 382 | \subsection{Ensuring the scheme does not increase tracer variance} |
---|
[11543] | 383 | \label{subsec:TRIADS_variance} |
---|
[2282] | 384 | |
---|
[10354] | 385 | We now require that this operator should not increase the globally-integrated tracer variance. |
---|
[2282] | 386 | %This changes according to |
---|
| 387 | % \begin{align*} |
---|
| 388 | % &\int_D D_l^T \; T \;dv \equiv \sum_{i,k} \left\{ T \ D_l^T \ b_T \right\} \\ |
---|
[3294] | 389 | % &\equiv + \sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
| 390 | % \delta_{i} \left[{_{i+1/2-i_p}^k {\mathbb{F}_u }_{i_p}^{k_p}} \right] |
---|
[2282] | 391 | % + \delta_{k} \left[ {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p}} \right] \ T \right\} \\ |
---|
[3294] | 392 | % &\equiv - \sum_{i,k} \sum_{\substack{i_p,\,k_p}} \left\{ |
---|
[2282] | 393 | % {_{i+1/2-i_p}^k {\mathbb{F}_u }_{i_p}^{k_p}} \ \delta_{i+1/2} [T] |
---|
| 394 | % + {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p}} \ \delta_{k+1/2} [T] \right\} \\ |
---|
| 395 | % \end{align*} |
---|
[10354] | 396 | Each triad slope $_i^k\mathbb{R}_{i_p}^{k_p}$ drives a lateral flux $_i^k{\mathbb{F}_u}_{i_p}^{k_p} (T)$ across |
---|
| 397 | the $u$-point $i+i_p,k$ and a vertical flux $_i^k{\mathbb{F}_w}_{i_p}^{k_p} (T)$ across the $w$-point $i,k+k_p$. |
---|
| 398 | The lateral flux drives a net rate of change of variance, |
---|
[10442] | 399 | summed over the two $T$-points $i+i_p-\fractext{1}{2},k$ and $i+i_p+\fractext{1}{2},k$, of |
---|
[2282] | 400 | \begin{multline} |
---|
| 401 | {b_T}_{i+i_p-1/2}^k\left(\frac{\partial T}{\partial t}T\right)_{i+i_p-1/2}^k+ |
---|
| 402 | \quad {b_T}_{i+i_p+1/2}^k\left(\frac{\partial T}{\partial |
---|
| 403 | t}T\right)_{i+i_p+1/2}^k \\ |
---|
[10414] | 404 | \begin{aligned} |
---|
| 405 | &= -T_{i+i_p-1/2}^k{\;} _i^k{\mathbb{F}_u}_{i_p}^{k_p} (T) \quad + \quad T_{i+i_p+1/2}^k |
---|
| 406 | {\;}_i^k{\mathbb{F}_u}_{i_p}^{k_p} (T) \\ |
---|
[11543] | 407 | &={\;} _i^k{\mathbb{F}_u}_{i_p}^{k_p} (T)\,\delta_{i+ i_p}[T^k], \label{eq:TRIADS_dvar_iso_i} |
---|
[10414] | 408 | \end{aligned} |
---|
[2282] | 409 | \end{multline} |
---|
[10354] | 410 | while the vertical flux similarly drives a net rate of change of variance summed over |
---|
[10442] | 411 | the $T$-points $i,k+k_p-\fractext{1}{2}$ (above) and $i,k+k_p+\fractext{1}{2}$ (below) of |
---|
[2282] | 412 | \begin{equation} |
---|
[11543] | 413 | \label{eq:TRIADS_dvar_iso_k} |
---|
[2282] | 414 | _i^k{\mathbb{F}_w}_{i_p}^{k_p} (T) \,\delta_{k+ k_p}[T^i]. |
---|
| 415 | \end{equation} |
---|
[10354] | 416 | The total variance tendency driven by the triad is the sum of these two. |
---|
| 417 | Expanding $_i^k{\mathbb{F}_u}_{i_p}^{k_p} (T)$ and $_i^k{\mathbb{F}_w}_{i_p}^{k_p} (T)$ with |
---|
[11543] | 418 | \autoref{eq:TRIADS_latflux-triad} and \autoref{eq:TRIADS_vertflux-triad}, it is |
---|
[2282] | 419 | \begin{multline*} |
---|
[10442] | 420 | -{A}_i^k\left \{ |
---|
[10414] | 421 | { } _i^k{\mathbb{A}_u}_{i_p}^{k_p} |
---|
| 422 | \left( |
---|
| 423 | \frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 424 | - {_i^k\mathbb{R}_{i_p}^{k_p}} \ |
---|
| 425 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} }\right)\,\delta_{i+ i_p}[T^k] \right.\\ |
---|
| 426 | - \left. { } _i^k{\mathbb{A}_w}_{i_p}^{k_p} |
---|
| 427 | \left( |
---|
| 428 | \frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 429 | -{\:}_i^k\mathbb{R}_{i_p}^{k_p} |
---|
| 430 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 431 | \right) {\,}_i^k\mathbb{R}_{i_p}^{k_p}\delta_{k+ k_p}[T^i] |
---|
| 432 | \right \}. |
---|
[2282] | 433 | \end{multline*} |
---|
[10354] | 434 | The key point is then that if we require $_i^k{\mathbb{A}_u}_{i_p}^{k_p}$ and $_i^k{\mathbb{A}_w}_{i_p}^{k_p}$ to |
---|
| 435 | be related to a triad volume $_i^k\mathbb{V}_{i_p}^{k_p}$ by |
---|
[2282] | 436 | \begin{equation} |
---|
[11543] | 437 | \label{eq:TRIADS_V-A} |
---|
[2282] | 438 | _i^k\mathbb{V}_{i_p}^{k_p} |
---|
| 439 | ={\;}_i^k{\mathbb{A}_u}_{i_p}^{k_p}\,{e_{1u}}_{\,i + i_p}^{\,k} |
---|
| 440 | ={\;}_i^k{\mathbb{A}_w}_{i_p}^{k_p}\,{e_{3w}}_{\,i}^{\,k + k_p}, |
---|
| 441 | \end{equation} |
---|
| 442 | the variance tendency reduces to the perfect square |
---|
| 443 | \begin{equation} |
---|
[11543] | 444 | \label{eq:TRIADS_perfect-square} |
---|
[10442] | 445 | -{A}_i^k{\:} _i^k\mathbb{V}_{i_p}^{k_p} |
---|
[2282] | 446 | \left( |
---|
| 447 | \frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 448 | -{\:}_i^k\mathbb{R}_{i_p}^{k_p} |
---|
| 449 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 450 | \right)^2\leq 0. |
---|
| 451 | \end{equation} |
---|
[11543] | 452 | Thus, the constraint \autoref{eq:TRIADS_V-A} ensures that the fluxes |
---|
| 453 | (\autoref{eq:TRIADS_latflux-triad}, \autoref{eq:TRIADS_vertflux-triad}) associated with |
---|
[10354] | 454 | a given slope triad $_i^k\mathbb{R}_{i_p}^{k_p}$ do not increase the net variance. |
---|
| 455 | Since the total fluxes are sums of such fluxes from the various triads, this constraint, applied to all triads, |
---|
| 456 | is sufficient to ensure that the globally integrated variance does not increase. |
---|
[2282] | 457 | |
---|
[11543] | 458 | The expression \autoref{eq:TRIADS_V-A} can be interpreted as a discretization of the global integral |
---|
[2282] | 459 | \begin{equation} |
---|
[11543] | 460 | \label{eq:TRIADS_cts-var} |
---|
[10442] | 461 | \frac{\partial}{\partial t}\int\!\fractext{1}{2} T^2\, dV = |
---|
[3294] | 462 | \int\!\mathbf{F}\cdot\nabla T\, dV, |
---|
[2282] | 463 | \end{equation} |
---|
[10354] | 464 | where, within each triad volume $_i^k\mathbb{V}_{i_p}^{k_p}$, the lateral and vertical fluxes/unit area |
---|
[2282] | 465 | \[ |
---|
[10414] | 466 | \mathbf{F}=\left( |
---|
| 467 | \left.{}_i^k{\mathbb{F}_u}_{i_p}^{k_p} (T)\right/{}_i^k{\mathbb{A}_u}_{i_p}^{k_p}, |
---|
| 468 | \left.{\:}_i^k{\mathbb{F}_w}_{i_p}^{k_p} (T)\right/{}_i^k{\mathbb{A}_w}_{i_p}^{k_p} |
---|
| 469 | \right) |
---|
[2282] | 470 | \] |
---|
| 471 | and the gradient |
---|
[10414] | 472 | \[ |
---|
| 473 | \nabla T = \left( |
---|
| 474 | \left.\delta_{i+ i_p}[T^k] \right/ {e_{1u}}_{\,i + i_p}^{\,k}, |
---|
| 475 | \left.\delta_{k+ k_p}[T^i] \right/ {e_{3w}}_{\,i}^{\,k + k_p} |
---|
| 476 | \right) |
---|
[2282] | 477 | \] |
---|
[9393] | 478 | |
---|
[11597] | 479 | %% ================================================================================================= |
---|
[2282] | 480 | \subsection{Triad volumes in Griffes's scheme and in \NEMO} |
---|
[10414] | 481 | |
---|
[10354] | 482 | To complete the discretization we now need only specify the triad volumes $_i^k\mathbb{V}_{i_p}^{k_p}$. |
---|
[11123] | 483 | \citet{griffies.gnanadesikan.ea_JPO98} identifies these $_i^k\mathbb{V}_{i_p}^{k_p}$ as the volumes of the quarter cells, |
---|
[10354] | 484 | defined in terms of the distances between $T$, $u$,$f$ and $w$-points. |
---|
[11543] | 485 | This is the natural discretization of \autoref{eq:TRIADS_cts-var}. |
---|
[11435] | 486 | The \NEMO\ model, however, operates with scale factors instead of grid sizes, |
---|
[10354] | 487 | and scale factors for the quarter cells are not defined. |
---|
| 488 | Instead, therefore we simply choose |
---|
[2282] | 489 | \begin{equation} |
---|
[11543] | 490 | \label{eq:TRIADS_V-NEMO} |
---|
[10442] | 491 | _i^k\mathbb{V}_{i_p}^{k_p}=\fractext{1}{4} {b_u}_{i+i_p}^k, |
---|
[2282] | 492 | \end{equation} |
---|
[10354] | 493 | as a quarter of the volume of the $u$-cell inside which the triad quarter-cell lies. |
---|
| 494 | This has the nice property that when the slopes $\mathbb{R}$ vanish, |
---|
| 495 | the lateral flux from tracer cell $i,k$ to $i+1,k$ reduces to the classical form |
---|
[2282] | 496 | \begin{equation} |
---|
[11543] | 497 | \label{eq:TRIADS_lat-normal} |
---|
[10442] | 498 | -\overline{A}_{\,i+1/2}^k\; |
---|
[10414] | 499 | \frac{{b_u}_{i+1/2}^k}{{e_{1u}}_{\,i + i_p}^{\,k}} |
---|
| 500 | \;\frac{\delta_{i+ 1/2}[T^k] }{{e_{1u}}_{\,i + i_p}^{\,k}} |
---|
[10442] | 501 | = -\overline{A}_{\,i+1/2}^k\;\frac{{e_{1w}}_{\,i + 1/2}^{\,k}\:{e_{1v}}_{\,i + 1/2}^{\,k}\;\delta_{i+ 1/2}[T^k]}{{e_{1u}}_{\,i + 1/2}^{\,k}}. |
---|
[2282] | 502 | \end{equation} |
---|
[10354] | 503 | In fact if the diffusive coefficient is defined at $u$-points, |
---|
[10442] | 504 | so that we employ ${A}_{i+i_p}^k$ instead of ${A}_i^k$ in the definitions of the triad fluxes |
---|
[11543] | 505 | \autoref{eq:TRIADS_latflux-triad} and \autoref{eq:TRIADS_vertflux-triad}, |
---|
[2282] | 506 | we can replace $\overline{A}_{\,i+1/2}^k$ by $A_{i+1/2}^k$ in the above. |
---|
| 507 | |
---|
[11597] | 508 | %% ================================================================================================= |
---|
[2282] | 509 | \subsection{Summary of the scheme} |
---|
[10414] | 510 | |
---|
[10354] | 511 | The iso-neutral fluxes at $u$- and $w$-points are the sums of the triad fluxes that |
---|
[11543] | 512 | cross the $u$- and $w$-faces \autoref{eq:TRIADS_iso_flux}: |
---|
[10414] | 513 | \begin{subequations} |
---|
[11543] | 514 | % \label{eq:TRIADS_alltriadflux} |
---|
[10414] | 515 | \begin{flalign*} |
---|
[11543] | 516 | % \label{eq:TRIADS_vect_isoflux} |
---|
[9364] | 517 | \vect{F}_{\mathrm{iso}}(T) &\equiv |
---|
[3294] | 518 | \sum_{\substack{i_p,\,k_p}} |
---|
| 519 | \begin{pmatrix} |
---|
[10414] | 520 | {_{i+1/2-i_p}^k {\mathbb{F}_u}_{i_p}^{k_p} } (T) \\ \\ |
---|
| 521 | {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p} } (T) |
---|
[3294] | 522 | \end{pmatrix}, |
---|
[10414] | 523 | \end{flalign*} |
---|
[11543] | 524 | where \autoref{eq:TRIADS_latflux-triad}: |
---|
[3294] | 525 | \begin{align} |
---|
[11543] | 526 | \label{eq:TRIADS_triadfluxu} |
---|
[10442] | 527 | _i^k {\mathbb{F}_u}_{i_p}^{k_p} (T) &= - {A}_i^k{ |
---|
[10414] | 528 | \:}\frac{{{}_i^k\mathbb{V}}_{i_p}^{k_p}}{{e_{1u}}_{\,i + i_p}^{\,k}} |
---|
| 529 | \left( |
---|
| 530 | \frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 531 | -\ {_i^k\mathbb{R}_{i_p}^{k_p}} \ |
---|
| 532 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 533 | \right),\\ |
---|
[3294] | 534 | \intertext{and} |
---|
| 535 | _i^k {\mathbb{F}_w}_{i_p}^{k_p} (T) |
---|
[10442] | 536 | &= {A}_i^k{\: }\frac{{{}_i^k\mathbb{V}}_{i_p}^{k_p}}{{e_{3w}}_{\,i}^{\,k+k_p}} |
---|
[10414] | 537 | \left( |
---|
| 538 | {_i^k\mathbb{R}_{i_p}^{k_p}}\frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 539 | -\ \left({_i^k\mathbb{R}_{i_p}^{k_p}}\right)^2 \ |
---|
| 540 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
[11543] | 541 | \right),\label{eq:TRIADS_triadfluxw} |
---|
[3294] | 542 | \end{align} |
---|
[11543] | 543 | with \autoref{eq:TRIADS_V-NEMO} |
---|
[10414] | 544 | \[ |
---|
[11543] | 545 | % \label{eq:TRIADS_V-NEMO2} |
---|
[10442] | 546 | _i^k{\mathbb{V}}_{i_p}^{k_p}=\fractext{1}{4} {b_u}_{i+i_p}^k. |
---|
[10414] | 547 | \] |
---|
[3294] | 548 | \end{subequations} |
---|
| 549 | |
---|
[11543] | 550 | The divergence of the expression \autoref{eq:TRIADS_iso_flux} for the fluxes gives the iso-neutral diffusion tendency at |
---|
[2282] | 551 | each tracer point: |
---|
[10414] | 552 | \[ |
---|
[11543] | 553 | % \label{eq:TRIADS_iso_operator} |
---|
[10414] | 554 | D_l^T = \frac{1}{b_T} |
---|
[2282] | 555 | \sum_{\substack{i_p,\,k_p}} \left\{ \delta_{i} \left[{_{i+1/2-i_p}^k |
---|
| 556 | {\mathbb{F}_u }_{i_p}^{k_p}} \right] + \delta_{k} \left[ |
---|
| 557 | {_i^{k+1/2-k_p} {\mathbb{F}_w}_{i_p}^{k_p}} \right] \right\} |
---|
[10414] | 558 | \] |
---|
[2282] | 559 | where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. |
---|
| 560 | The diffusion scheme satisfies the following six properties: |
---|
[11598] | 561 | |
---|
[2282] | 562 | \begin{description} |
---|
[11598] | 563 | \item [Horizontal diffusion] The discretization of the diffusion operator recovers the traditional five-point Laplacian |
---|
[11543] | 564 | \autoref{eq:TRIADS_lat-normal} in the limit of flat iso-neutral direction: |
---|
[10414] | 565 | \[ |
---|
[11543] | 566 | % \label{eq:TRIADS_iso_property0} |
---|
[10414] | 567 | D_l^T = \frac{1}{b_T} \ |
---|
[2282] | 568 | \delta_{i} \left[ \frac{e_{2u}\,e_{3u}}{e_{1u}} \; |
---|
[10442] | 569 | \overline{A}^{\,i} \; \delta_{i+1/2}[T] \right] \qquad |
---|
[2282] | 570 | \text{when} \quad { _i^k \mathbb{R}_{i_p}^{k_p} }=0 |
---|
[10414] | 571 | \] |
---|
[11598] | 572 | \item [Implicit treatment in the vertical] Only tracer values associated with a single water column appear in the expression \autoref{eq:TRIADS_i33} for |
---|
[10354] | 573 | the $_{33}$ fluxes, vertical fluxes driven by vertical gradients. |
---|
| 574 | This is of paramount importance since it means that a time-implicit algorithm can be used to |
---|
| 575 | solve the vertical diffusion equation. |
---|
| 576 | This is necessary since the vertical eddy diffusivity associated with this term, |
---|
[10414] | 577 | \[ |
---|
[3294] | 578 | \frac{1}{b_w}\sum_{\substack{i_p, \,k_p}} \left\{ |
---|
[10442] | 579 | {\:}_i^k\mathbb{V}_{i_p}^{k_p} \: {A}_i^k \: \left(_i^k \mathbb{R}_{i_p}^{k_p}\right)^2 |
---|
[3294] | 580 | \right\} = |
---|
| 581 | \frac{1}{4b_w}\sum_{\substack{i_p, \,k_p}} \left\{ |
---|
[10442] | 582 | {b_u}_{i+i_p}^k\: {A}_i^k \: \left(_i^k \mathbb{R}_{i_p}^{k_p}\right)^2 |
---|
[2282] | 583 | \right\}, |
---|
[10414] | 584 | \] |
---|
[2282] | 585 | (where $b_w= e_{1w}\,e_{2w}\,e_{3w}$ is the volume of $w$-cells) can be quite large. |
---|
[11598] | 586 | \item [Pure iso-neutral operator] The iso-neutral flux of locally referenced potential density is zero. |
---|
[11543] | 587 | See \autoref{eq:TRIADS_latflux-rho} and \autoref{eq:TRIADS_vertflux-triad2}. |
---|
[11598] | 588 | \item [Conservation of tracer] The iso-neutral diffusion conserves tracer content, \ie |
---|
[10414] | 589 | \[ |
---|
[11543] | 590 | % \label{eq:TRIADS_iso_property1} |
---|
[10414] | 591 | \sum_{i,j,k} \left\{ D_l^T \ b_T \right\} = 0 |
---|
| 592 | \] |
---|
[10354] | 593 | This property is trivially satisfied since the iso-neutral diffusive operator is written in flux form. |
---|
[11598] | 594 | \item [No increase of tracer variance] The iso-neutral diffusion does not increase the tracer variance, \ie |
---|
[10414] | 595 | \[ |
---|
[11543] | 596 | % \label{eq:TRIADS_iso_property2} |
---|
[10414] | 597 | \sum_{i,j,k} \left\{ T \ D_l^T \ b_T \right\} \leq 0 |
---|
| 598 | \] |
---|
[11543] | 599 | The property is demonstrated in \autoref{subsec:TRIADS_variance} above. |
---|
[10354] | 600 | It is a key property for a diffusion term. |
---|
| 601 | It means that it is also a dissipation term, |
---|
[11435] | 602 | \ie\ it dissipates the square of the quantity on which it is applied. |
---|
[10354] | 603 | It therefore ensures that, when the diffusivity coefficient is large enough, |
---|
| 604 | the field on which it is applied becomes free of grid-point noise. |
---|
[11598] | 605 | \item [Self-adjoint operator] The iso-neutral diffusion operator is self-adjoint, \ie |
---|
[10414] | 606 | \begin{equation} |
---|
[11543] | 607 | \label{eq:TRIADS_iso_property3} |
---|
[10414] | 608 | \sum_{i,j,k} \left\{ S \ D_l^T \ b_T \right\} = \sum_{i,j,k} \left\{ D_l^S \ T \ b_T \right\} |
---|
[2282] | 609 | \end{equation} |
---|
[10354] | 610 | In other word, there is no need to develop a specific routine from the adjoint of this operator. |
---|
| 611 | We just have to apply the same routine. |
---|
| 612 | This property can be demonstrated similarly to the proof of the `no increase of tracer variance' property. |
---|
[11543] | 613 | The contribution by a single triad towards the left hand side of \autoref{eq:TRIADS_iso_property3}, |
---|
| 614 | can be found by replacing $\delta[T]$ by $\delta[S]$ in \autoref{eq:TRIADS_dvar_iso_i} and \autoref{eq:TRIADS_dvar_iso_k}. |
---|
| 615 | This results in a term similar to \autoref{eq:TRIADS_perfect-square}, |
---|
[10414] | 616 | \[ |
---|
[11543] | 617 | % \label{eq:TRIADS_TScovar} |
---|
[10442] | 618 | - {A}_i^k{\:} _i^k\mathbb{V}_{i_p}^{k_p} |
---|
[10414] | 619 | \left( |
---|
| 620 | \frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 621 | -{\:}_i^k\mathbb{R}_{i_p}^{k_p} |
---|
| 622 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 623 | \right) |
---|
| 624 | \left( |
---|
| 625 | \frac{ \delta_{i+ i_p}[S^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} } |
---|
| 626 | -{\:}_i^k\mathbb{R}_{i_p}^{k_p} |
---|
| 627 | \frac{ \delta_{k+k_p} [S^i] }{{e_{3w}}_{\,i}^{\,k+k_p} } |
---|
| 628 | \right). |
---|
| 629 | \] |
---|
[10354] | 630 | This is symmetrical in $T $ and $S$, so exactly the same term arises from |
---|
[11543] | 631 | the discretization of this triad's contribution towards the RHS of \autoref{eq:TRIADS_iso_property3}. |
---|
[2282] | 632 | \end{description} |
---|
[9393] | 633 | |
---|
[11597] | 634 | %% ================================================================================================= |
---|
[10414] | 635 | \subsection{Treatment of the triads at the boundaries} |
---|
[11543] | 636 | \label{sec:TRIADS_iso_bdry} |
---|
[10414] | 637 | |
---|
[10354] | 638 | The triad slope can only be defined where both the grid boxes centred at the end of the arms exist. |
---|
| 639 | Triads that would poke up through the upper ocean surface into the atmosphere, |
---|
| 640 | or down into the ocean floor, must be masked out. |
---|
[11543] | 641 | See \autoref{fig:TRIADS_bdry_triads}. |
---|
[10442] | 642 | Surface layer triads \triad{i}{1}{R}{1/2}{-1/2} (magenta) and \triad{i+1}{1}{R}{-1/2}{-1/2} (blue) that |
---|
[11543] | 643 | require density to be specified above the ocean surface are masked (\autoref{fig:TRIADS_bdry_triads}a): |
---|
[10354] | 644 | this ensures that lateral tracer gradients produce no flux through the ocean surface. |
---|
| 645 | However, to prevent surface noise, it is customary to retain the $_{11}$ contributions towards |
---|
[10442] | 646 | the lateral triad fluxes \triad[u]{i}{1}{F}{1/2}{-1/2} and \triad[u]{i+1}{1}{F}{-1/2}{-1/2}; |
---|
[10354] | 647 | this drives diapycnal tracer fluxes. |
---|
[11543] | 648 | Similar comments apply to triads that would intersect the ocean floor (\autoref{fig:TRIADS_bdry_triads}b). |
---|
[10442] | 649 | Note that both near bottom triad slopes \triad{i}{k}{R}{1/2}{1/2} and \triad{i+1}{k}{R}{-1/2}{1/2} are masked when |
---|
[11435] | 650 | either of the $i,k+1$ or $i+1,k+1$ tracer points is masked, \ie\ the $i,k+1$ $u$-point is masked. |
---|
[11582] | 651 | The associated lateral fluxes (grey-black dashed line) are masked if \np[=.false.]{ln_botmix_triad}{ln\_botmix\_triad}, |
---|
| 652 | but left unmasked, giving bottom mixing, if \np[=.true.]{ln_botmix_triad}{ln\_botmix\_triad}. |
---|
[2282] | 653 | |
---|
[11582] | 654 | The default option \np[=.false.]{ln_botmix_triad}{ln\_botmix\_triad} is suitable when the bbl mixing option is enabled |
---|
| 655 | (\np[=.true.]{ln_trabbl}{ln\_trabbl}, with \np[=1]{nn_bbl_ldf}{nn\_bbl\_ldf}), or for simple idealized problems. |
---|
| 656 | For setups with topography without bbl mixing, \np[=.true.]{ln_botmix_triad}{ln\_botmix\_triad} may be necessary. |
---|
[10414] | 657 | \begin{figure}[h] |
---|
[11558] | 658 | \centering |
---|
[11690] | 659 | \includegraphics[width=0.66\textwidth]{TRIADS_GRIFF_bdry_triads} |
---|
[11558] | 660 | \caption[Boundary triads]{ |
---|
| 661 | (a) Uppermost model layer $k=1$ with $i,1$ and $i+1,1$ tracer points (black dots), |
---|
| 662 | and $i+1/2,1$ $u$-point (blue square). |
---|
| 663 | Triad slopes \triad{i}{1}{R}{1/2}{-1/2} (magenta) and |
---|
| 664 | \triad{i+1}{1}{R}{-1/2}{-1/2} (blue) poking through the ocean surface are masked |
---|
| 665 | (faded in figure). |
---|
| 666 | However, |
---|
| 667 | the lateral $_{11}$ contributions towards \triad[u]{i}{1}{F}{1/2}{-1/2} and |
---|
| 668 | \triad[u]{i+1}{1}{F}{-1/2}{-1/2} (yellow line) are still applied, |
---|
| 669 | giving diapycnal diffusive fluxes. |
---|
| 670 | \newline |
---|
| 671 | (b) Both near bottom triad slopes \triad{i}{k}{R}{1/2}{1/2} and |
---|
| 672 | \triad{i+1}{k}{R}{-1/2}{1/2} are masked when |
---|
| 673 | either of the $i,k+1$ or $i+1,k+1$ tracer points is masked, |
---|
| 674 | \ie\ the $i,k+1$ $u$-point is masked. |
---|
| 675 | The associated lateral fluxes (grey-black dashed line) are masked if |
---|
[11582] | 676 | \protect\np[=.false.]{ln_botmix_triad}{ln\_botmix\_triad}, but left unmasked, |
---|
| 677 | giving bottom mixing, if \protect\np[=.true.]{ln_botmix_triad}{ln\_botmix\_triad}} |
---|
[11558] | 678 | \label{fig:TRIADS_bdry_triads} |
---|
[10414] | 679 | \end{figure} |
---|
[9393] | 680 | |
---|
[11597] | 681 | %% ================================================================================================= |
---|
[10414] | 682 | \subsection{ Limiting of the slopes within the interior} |
---|
[11543] | 683 | \label{sec:TRIADS_limit} |
---|
[10414] | 684 | |
---|
[10354] | 685 | As discussed in \autoref{subsec:LDF_slp_iso}, |
---|
| 686 | iso-neutral slopes relative to geopotentials must be bounded everywhere, |
---|
[11123] | 687 | both for consistency with the small-slope approximation and for numerical stability \citep{cox_OM87, griffies_bk04}. |
---|
[11435] | 688 | The bound chosen in \NEMO\ is applied to each component of the slope separately and |
---|
[10354] | 689 | has a value of $1/100$ in the ocean interior. |
---|
[3294] | 690 | %, ramping linearly down above 70~m depth to zero at the surface |
---|
[10354] | 691 | It is of course relevant to the iso-neutral slopes $\tilde{r}_i=r_i+\sigma_i$ relative to geopotentials |
---|
| 692 | (here the $\sigma_i$ are the slopes of the coordinate surfaces relative to geopotentials) |
---|
[11543] | 693 | \autoref{eq:MB_slopes_eiv} rather than the slope $r_i$ relative to coordinate surfaces, so we require |
---|
[10406] | 694 | \[ |
---|
[3294] | 695 | |\tilde{r}_i|\leq \tilde{r}_\mathrm{max}=0.01. |
---|
[10406] | 696 | \] |
---|
[3294] | 697 | and then recalculate the slopes $r_i$ relative to coordinates. |
---|
| 698 | Each individual triad slope |
---|
[10354] | 699 | \begin{equation} |
---|
[11543] | 700 | \label{eq:TRIADS_Rtilde} |
---|
[10354] | 701 | _i^k\tilde{\mathbb{R}}_{i_p}^{k_p} = {}_i^k\mathbb{R}_{i_p}^{k_p} + \frac{\delta_{i+i_p}[z_T^k]}{{e_{1u}}_{\,i + i_p}^{\,k}} |
---|
| 702 | \end{equation} |
---|
| 703 | is limited like this and then the corresponding $_i^k\mathbb{R}_{i_p}^{k_p} $ are recalculated and |
---|
| 704 | combined to form the fluxes. |
---|
| 705 | Note that where the slopes have been limited, there is now a non-zero iso-neutral density flux that |
---|
| 706 | drives dianeutral mixing. |
---|
| 707 | In particular this iso-neutral density flux is always downwards, |
---|
| 708 | and so acts to reduce gravitational potential energy. |
---|
[9393] | 709 | |
---|
[11597] | 710 | %% ================================================================================================= |
---|
[10414] | 711 | \subsection{Tapering within the surface mixed layer} |
---|
[11543] | 712 | \label{sec:TRIADS_taper} |
---|
[10414] | 713 | |
---|
[10354] | 714 | Additional tapering of the iso-neutral fluxes is necessary within the surface mixed layer. |
---|
| 715 | When the Griffies triads are used, we offer two options for this. |
---|
[9393] | 716 | |
---|
[11597] | 717 | %% ================================================================================================= |
---|
[10414] | 718 | \subsubsection{Linear slope tapering within the surface mixed layer} |
---|
[11543] | 719 | \label{sec:TRIADS_lintaper} |
---|
[10414] | 720 | |
---|
[11582] | 721 | This is the option activated by the default choice \np[=.false.]{ln_triad_iso}{ln\_triad\_iso}. |
---|
[10354] | 722 | Slopes $\tilde{r}_i$ relative to geopotentials are tapered linearly from their value immediately below |
---|
[11543] | 723 | the mixed layer to zero at the surface, as described in option (c) of \autoref{fig:LDF_eiv_slp}, to values |
---|
[10414] | 724 | \begin{equation} |
---|
[11543] | 725 | \label{eq:TRIADS_rmtilde} |
---|
[10414] | 726 | \rMLt = -\frac{z}{h}\left.\tilde{r}_i\right|_{z=-h}\quad \text{ for } z>-h, |
---|
| 727 | \end{equation} |
---|
| 728 | and then the $r_i$ relative to vertical coordinate surfaces are appropriately adjusted to |
---|
| 729 | \[ |
---|
[11543] | 730 | % \label{eq:TRIADS_rm} |
---|
[10414] | 731 | \rML =\rMLt -\sigma_i \quad \text{ for } z>-h. |
---|
| 732 | \] |
---|
[3294] | 733 | Thus the diffusion operator within the mixed layer is given by: |
---|
[10414] | 734 | \[ |
---|
[11543] | 735 | % \label{eq:TRIADS_iso_tensor_ML} |
---|
[11151] | 736 | D^{lT}=\nabla {\mathrm {\mathbf .}}\left( {A^{lT}\;\Re \;\nabla T} \right) \qquad |
---|
[10414] | 737 | \mbox{with}\quad \;\;\Re =\left( {{ |
---|
| 738 | \begin{array}{*{20}c} |
---|
| 739 | 1 \hfill & 0 \hfill & {-\rML[1]}\hfill \\ |
---|
| 740 | 0 \hfill & 1 \hfill & {-\rML[2]} \hfill \\ |
---|
| 741 | {-\rML[1]}\hfill & {-\rML[2]} \hfill & {\rML[1]^2+\rML[2]^2} \hfill |
---|
| 742 | \end{array} |
---|
| 743 | }} \right) |
---|
| 744 | \] |
---|
[3294] | 745 | |
---|
[10354] | 746 | This slope tapering gives a natural connection between tracer in the mixed-layer and |
---|
| 747 | in isopycnal layers immediately below, in the thermocline. |
---|
| 748 | It is consistent with the way the $\tilde{r}_i$ are tapered within the mixed layer |
---|
[11543] | 749 | (see \autoref{sec:TRIADS_taperskew} below) so as to ensure a uniform GM eddy-induced velocity throughout the mixed layer. |
---|
[10354] | 750 | However, it gives a downwards density flux and so acts so as to reduce potential energy in the same way as |
---|
[11543] | 751 | does the slope limiting discussed above in \autoref{sec:TRIADS_limit}. |
---|
| 752 | |
---|
| 753 | As in \autoref{sec:TRIADS_limit} above, the tapering \autoref{eq:TRIADS_rmtilde} is applied separately to |
---|
[10354] | 754 | each triad $_i^k\tilde{\mathbb{R}}_{i_p}^{k_p}$, and the $_i^k\mathbb{R}_{i_p}^{k_p}$ adjusted. |
---|
| 755 | For clarity, we assume $z$-coordinates in the following; |
---|
| 756 | the conversion from $\mathbb{R}$ to $\tilde{\mathbb{R}}$ and back to $\mathbb{R}$ follows exactly as |
---|
[11543] | 757 | described above by \autoref{eq:TRIADS_Rtilde}. |
---|
[3294] | 758 | \begin{enumerate} |
---|
[11596] | 759 | \item Mixed-layer depth is defined so as to avoid including regions of weak vertical stratification in |
---|
[10354] | 760 | the slope definition. |
---|
[11543] | 761 | At each $i,j$ (simplified to $i$ in \autoref{fig:TRIADS_MLB_triad}), |
---|
[10354] | 762 | we define the mixed-layer by setting the vertical index of the tracer point immediately below the mixed layer, |
---|
| 763 | $k_{\mathrm{ML}}$, as the maximum $k$ (shallowest tracer point) such that |
---|
| 764 | the potential density ${\rho_0}_{i,k}>{\rho_0}_{i,k_{10}}+\Delta\rho_c$, |
---|
| 765 | where $i,k_{10}$ is the tracer gridbox within which the depth reaches 10~m. |
---|
[11543] | 766 | See the left side of \autoref{fig:TRIADS_MLB_triad}. |
---|
[11435] | 767 | We use the $k_{10}$-gridbox instead of the surface gridbox to avoid problems \eg\ with thin daytime mixed-layers. |
---|
[10354] | 768 | Currently we use the same $\Delta\rho_c=0.01\;\mathrm{kg\:m^{-3}}$ for ML triad tapering as is used to |
---|
| 769 | output the diagnosed mixed-layer depth $h_{\mathrm{ML}}=|z_{W}|_{k_{\mathrm{ML}}+1/2}$, |
---|
| 770 | the depth of the $w$-point above the $i,k_{\mathrm{ML}}$ tracer point. |
---|
[11596] | 771 | \item We define `basal' triad slopes ${\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p}$ as |
---|
[10354] | 772 | the slopes of those triads whose vertical `arms' go down from the $i,k_{\mathrm{ML}}$ tracer point to |
---|
| 773 | the $i,k_{\mathrm{ML}}-1$ tracer point below. |
---|
| 774 | This is to ensure that the vertical density gradients associated with |
---|
| 775 | these basal triad slopes ${\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p}$ are representative of the thermocline. |
---|
[11543] | 776 | The four basal triads defined in the bottom part of \autoref{fig:TRIADS_MLB_triad} are then |
---|
[10414] | 777 | \begin{align*} |
---|
| 778 | {\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p} &= |
---|
| 779 | {\:}^{k_{\mathrm{ML}}-k_p-1/2}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p}, |
---|
[11543] | 780 | % \label{eq:TRIADS_Rbase} |
---|
[10414] | 781 | \\ |
---|
[11435] | 782 | \intertext{with \eg\ the green triad} |
---|
[10414] | 783 | {\:}_i{\mathbb{R}_{\mathrm{base}}}_{1/2}^{-1/2}&= |
---|
| 784 | {\:}^{k_{\mathrm{ML}}}_i{\mathbb{R}_{\mathrm{base}}}_{\,1/2}^{-1/2}. |
---|
| 785 | \end{align*} |
---|
[10354] | 786 | The vertical flux associated with each of these triads passes through |
---|
| 787 | the $w$-point $i,k_{\mathrm{ML}}-1/2$ lying \emph{below} the $i,k_{\mathrm{ML}}$ tracer point, so it is this depth |
---|
[10414] | 788 | \[ |
---|
[11543] | 789 | % \label{eq:TRIADS_zbase} |
---|
[3294] | 790 | {z_\mathrm{base}}_{\,i}={z_{w}}_{k_\mathrm{ML}-1/2} |
---|
[10414] | 791 | \] |
---|
[10354] | 792 | one gridbox deeper than the diagnosed ML depth $z_{\mathrm{ML}})$ that sets the $h$ used to taper the slopes in |
---|
[11543] | 793 | \autoref{eq:TRIADS_rmtilde}. |
---|
[11596] | 794 | \item Finally, we calculate the adjusted triads ${\:}_i^k{\mathbb{R}_{\mathrm{ML}}}_{\,i_p}^{k_p}$ within |
---|
[10354] | 795 | the mixed layer, by multiplying the appropriate ${\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p}$ by |
---|
| 796 | the ratio of the depth of the $w$-point ${z_w}_{k+k_p}$ to ${z_{\mathrm{base}}}_{\,i}$. |
---|
| 797 | For instance the green triad centred on $i,k$ |
---|
[10414] | 798 | \begin{align*} |
---|
| 799 | {\:}_i^k{\mathbb{R}_{\mathrm{ML}}}_{\,1/2}^{-1/2} &= |
---|
| 800 | \frac{{z_w}_{k-1/2}}{{z_{\mathrm{base}}}_{\,i}}{\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,1/2}^{-1/2} \\ |
---|
| 801 | \intertext{and more generally} |
---|
| 802 | {\:}_i^k{\mathbb{R}_{\mathrm{ML}}}_{\,i_p}^{k_p} &= |
---|
| 803 | \frac{{z_w}_{k+k_p}}{{z_{\mathrm{base}}}_{\,i}}{\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p}. |
---|
[11543] | 804 | % \label{eq:TRIADS_RML} |
---|
[10414] | 805 | \end{align*} |
---|
[3294] | 806 | \end{enumerate} |
---|
| 807 | |
---|
| 808 | \begin{figure}[h] |
---|
[11558] | 809 | \centering |
---|
[11690] | 810 | \includegraphics[width=0.66\textwidth]{TRIADS_GRIFF_MLB_triads} |
---|
[11558] | 811 | \caption[Definition of mixed-layer depth and calculation of linearly tapered triads]{ |
---|
[10354] | 812 | Definition of mixed-layer depth and calculation of linearly tapered triads. |
---|
[11558] | 813 | The figure shows a water column at a given $i,j$ (simplified to $i$), |
---|
| 814 | with the ocean surface at the top. |
---|
[10354] | 815 | Tracer points are denoted by bullets, and black lines the edges of the tracer cells; |
---|
[10414] | 816 | $k$ increases upwards. |
---|
| 817 | \newline |
---|
[11558] | 818 | We define the mixed-layer by setting the vertical index of the tracer point immediately below |
---|
| 819 | the mixed layer, $k_{\mathrm{ML}}$, as the maximum $k$ (shallowest tracer point) such that |
---|
[10354] | 820 | ${\rho_0}_{i,k}>{\rho_0}_{i,k_{10}}+\Delta\rho_c$, |
---|
| 821 | where $i,k_{10}$ is the tracer gridbox within which the depth reaches 10~m. |
---|
| 822 | We calculate the triad slopes within the mixed layer by linearly tapering them from zero |
---|
| 823 | (at the surface) to the `basal' slopes, |
---|
| 824 | the slopes of the four triads passing through the $w$-point $i,k_{\mathrm{ML}}-1/2$ (blue square), |
---|
| 825 | ${\:}_i{\mathbb{R}_{\mathrm{base}}}_{\,i_p}^{k_p}$. |
---|
| 826 | Triads with different $i_p,k_p$, denoted by different colours, |
---|
[11435] | 827 | (\eg\ the green triad $i_p=1/2,k_p=-1/2$) are tapered to the appropriate basal triad.} |
---|
[11558] | 828 | \label{fig:TRIADS_MLB_triad} |
---|
[3294] | 829 | \end{figure} |
---|
| 830 | |
---|
[11597] | 831 | %% ================================================================================================= |
---|
[9393] | 832 | \subsubsection{Additional truncation of skew iso-neutral flux components} |
---|
[11543] | 833 | \label{subsec:TRIADS_Gerdes-taper} |
---|
[10414] | 834 | |
---|
[11577] | 835 | The alternative option is activated by setting \np{ln_triad_iso}{ln\_triad\_iso} = true. |
---|
[10354] | 836 | This retains the same tapered slope $\rML$ described above for the calculation of the $_{33}$ term of |
---|
| 837 | the iso-neutral diffusion tensor (the vertical tracer flux driven by vertical tracer gradients), |
---|
| 838 | but replaces the $\rML$ in the skew term by |
---|
[3294] | 839 | \begin{equation} |
---|
[11543] | 840 | \label{eq:TRIADS_rm*} |
---|
[3294] | 841 | \rML^*=\left.\rMLt^2\right/\tilde{r}_i-\sigma_i, |
---|
| 842 | \end{equation} |
---|
| 843 | giving a ML diffusive operator |
---|
[10414] | 844 | \[ |
---|
[11543] | 845 | % \label{eq:TRIADS_iso_tensor_ML2} |
---|
[11151] | 846 | D^{lT}=\nabla {\mathrm {\mathbf .}}\left( {A^{lT}\;\Re \;\nabla T} \right) \qquad |
---|
[10414] | 847 | \mbox{with}\quad \;\;\Re =\left( {{ |
---|
| 848 | \begin{array}{*{20}c} |
---|
| 849 | 1 \hfill & 0 \hfill & {-\rML[1]^*}\hfill \\ |
---|
| 850 | 0 \hfill & 1 \hfill & {-\rML[2]^*} \hfill \\ |
---|
| 851 | {-\rML[1]^*}\hfill & {-\rML[2]^*} \hfill & {\rML[1]^2+\rML[2]^2} \hfill \\ |
---|
| 852 | \end{array} |
---|
| 853 | }} \right). |
---|
| 854 | \] |
---|
[3294] | 855 | This operator |
---|
[10354] | 856 | \footnote{ |
---|
| 857 | To ensure good behaviour where horizontal density gradients are weak, |
---|
[11123] | 858 | we in fact follow \citet{gerdes.koberle.ea_CD91} and |
---|
[10414] | 859 | set $\rML^*=\mathrm{sgn}(\tilde{r}_i)\min(|\rMLt^2/\tilde{r}_i|,|\tilde{r}_i|)-\sigma_i$. |
---|
| 860 | } |
---|
[10354] | 861 | then has the property it gives no vertical density flux, and so does not change the potential energy. |
---|
| 862 | This approach is similar to multiplying the iso-neutral diffusion coefficient by |
---|
| 863 | $\tilde{r}_{\mathrm{max}}^{-2}\tilde{r}_i^{-2}$ for steep slopes, |
---|
[11123] | 864 | as suggested by \citet{gerdes.koberle.ea_CD91} (see also \citet{griffies_bk04}). |
---|
[3294] | 865 | Again it is applied separately to each triad $_i^k\mathbb{R}_{i_p}^{k_p}$ |
---|
| 866 | |
---|
[10354] | 867 | In practice, this approach gives weak vertical tracer fluxes through the mixed-layer, |
---|
| 868 | as well as vanishing density fluxes. |
---|
| 869 | While it is theoretically advantageous that it does not change the potential energy, |
---|
| 870 | it may give a discontinuity between the fluxes within the mixed-layer (purely horizontal) and |
---|
| 871 | just below (along iso-neutral surfaces). |
---|
[3294] | 872 | % This may give strange looking results, |
---|
| 873 | % particularly where the mixed-layer depth varies strongly laterally. |
---|
[11597] | 874 | %% ================================================================================================= |
---|
[10414] | 875 | \section{Eddy induced advection formulated as a skew flux} |
---|
[11543] | 876 | \label{sec:TRIADS_skew-flux} |
---|
[2282] | 877 | |
---|
[11597] | 878 | %% ================================================================================================= |
---|
[10414] | 879 | \subsection{Continuous skew flux formulation} |
---|
[11543] | 880 | \label{sec:TRIADS_continuous-skew-flux} |
---|
[3294] | 881 | |
---|
[10354] | 882 | When Gent and McWilliams's [1990] diffusion is used, an additional advection term is added. |
---|
| 883 | The associated velocity is the so called eddy induced velocity, |
---|
| 884 | the formulation of which depends on the slopes of iso-neutral surfaces. |
---|
| 885 | Contrary to the case of iso-neutral mixing, the slopes used here are referenced to the geopotential surfaces, |
---|
[11543] | 886 | \ie\ \autoref{eq:LDF_slp_geo} is used in $z$-coordinate, |
---|
| 887 | and the sum \autoref{eq:LDF_slp_geo} + \autoref{eq:LDF_slp_iso} in $z^*$ or $s$-coordinates. |
---|
[2282] | 888 | |
---|
[3294] | 889 | The eddy induced velocity is given by: |
---|
[10414] | 890 | \begin{subequations} |
---|
[11543] | 891 | % \label{eq:TRIADS_eiv} |
---|
[10414] | 892 | \begin{equation} |
---|
[11543] | 893 | \label{eq:TRIADS_eiv_v} |
---|
[10414] | 894 | \begin{split} |
---|
| 895 | u^* & = - \frac{1}{e_{3}}\; \partial_i\psi_1, \\ |
---|
| 896 | v^* & = - \frac{1}{e_{3}}\; \partial_j\psi_2, \\ |
---|
| 897 | w^* & = \frac{1}{e_{1}e_{2}}\; \left\{ \partial_i \left( e_{2} \, \psi_1\right) |
---|
| 898 | + \partial_j \left( e_{1} \, \psi_2\right) \right\}, |
---|
| 899 | \end{split} |
---|
| 900 | \end{equation} |
---|
| 901 | where the streamfunctions $\psi_i$ are given by |
---|
| 902 | \begin{equation} |
---|
[11543] | 903 | \label{eq:TRIADS_eiv_psi} |
---|
[10414] | 904 | \begin{split} |
---|
| 905 | \psi_1 & = A_{e} \; \tilde{r}_1, \\ |
---|
| 906 | \psi_2 & = A_{e} \; \tilde{r}_2, |
---|
| 907 | \end{split} |
---|
| 908 | \end{equation} |
---|
[3294] | 909 | \end{subequations} |
---|
[10354] | 910 | with $A_{e}$ the eddy induced velocity coefficient, |
---|
| 911 | and $\tilde{r}_1$ and $\tilde{r}_2$ the slopes between the iso-neutral and the geopotential surfaces. |
---|
[2282] | 912 | |
---|
[10354] | 913 | The traditional way to implement this additional advection is to add it to the Eulerian velocity prior to |
---|
| 914 | computing the tracer advection. |
---|
[11435] | 915 | This is implemented if \texttt{traldf\_eiv?} is set in the default implementation, |
---|
[11577] | 916 | where \np{ln_traldf_triad}{ln\_traldf\_triad} is set false. |
---|
[10354] | 917 | This allows us to take advantage of all the advection schemes offered for the tracers |
---|
| 918 | (see \autoref{sec:TRA_adv}) and not just a $2^{nd}$ order advection scheme. |
---|
| 919 | This is particularly useful for passive tracers where |
---|
| 920 | \emph{positivity} of the advection scheme is of paramount importance. |
---|
[2282] | 921 | |
---|
[11577] | 922 | However, when \np{ln_traldf_triad}{ln\_traldf\_triad} is set true, |
---|
[11435] | 923 | \NEMO\ instead implements eddy induced advection according to the so-called skew form \citep{griffies_JPO98}. |
---|
[10354] | 924 | It is based on a transformation of the advective fluxes using the non-divergent nature of the eddy induced velocity. |
---|
| 925 | For example in the (\textbf{i},\textbf{k}) plane, |
---|
| 926 | the tracer advective fluxes per unit area in $ijk$ space can be transformed as follows: |
---|
[2282] | 927 | \begin{flalign*} |
---|
[10414] | 928 | \begin{split} |
---|
| 929 | \textbf{F}_{\mathrm{eiv}}^T = |
---|
| 930 | \begin{pmatrix} |
---|
| 931 | {e_{2}\,e_{3}\; u^*} \\ |
---|
| 932 | {e_{1}\,e_{2}\; w^*} |
---|
| 933 | \end{pmatrix} \; T |
---|
| 934 | &= |
---|
| 935 | \begin{pmatrix} |
---|
| 936 | { - \partial_k \left( e_{2} \,\psi_1 \right) \; T \;} \\ |
---|
| 937 | {+ \partial_i \left( e_{2} \, \psi_1 \right) \; T \;} |
---|
| 938 | \end{pmatrix} \\ |
---|
| 939 | &= |
---|
| 940 | \begin{pmatrix} |
---|
| 941 | { - \partial_k \left( e_{2} \, \psi_1 \; T \right) \;} \\ |
---|
| 942 | {+ \partial_i \left( e_{2} \,\psi_1 \; T \right) \;} |
---|
| 943 | \end{pmatrix} |
---|
| 944 | + |
---|
| 945 | \begin{pmatrix} |
---|
| 946 | {+ e_{2} \, \psi_1 \; \partial_k T} \\ |
---|
| 947 | { - e_{2} \, \psi_1 \; \partial_i T} |
---|
| 948 | \end{pmatrix} |
---|
| 949 | \end{split} |
---|
[2282] | 950 | \end{flalign*} |
---|
[10354] | 951 | and since the eddy induced velocity field is non-divergent, |
---|
| 952 | we end up with the skew form of the eddy induced advective fluxes per unit area in $ijk$ space: |
---|
[10414] | 953 | \begin{equation} |
---|
[11543] | 954 | \label{eq:TRIADS_eiv_skew_ijk} |
---|
[10414] | 955 | \textbf{F}_\mathrm{eiv}^T = |
---|
| 956 | \begin{pmatrix} |
---|
| 957 | {+ e_{2} \, \psi_1 \; \partial_k T} \\ |
---|
| 958 | { - e_{2} \, \psi_1 \; \partial_i T} |
---|
| 959 | \end{pmatrix} |
---|
[2282] | 960 | \end{equation} |
---|
[3294] | 961 | The total fluxes per unit physical area are then |
---|
[10414] | 962 | \begin{equation} |
---|
[11543] | 963 | \label{eq:TRIADS_eiv_skew_physical} |
---|
[10414] | 964 | \begin{split} |
---|
| 965 | f^*_1 & = \frac{1}{e_{3}}\; \psi_1 \partial_k T \\ |
---|
| 966 | f^*_2 & = \frac{1}{e_{3}}\; \psi_2 \partial_k T \\ |
---|
| 967 | f^*_3 & = -\frac{1}{e_{1}e_{2}}\; \left\{ e_{2} \psi_1 \partial_i T + e_{1} \psi_2 \partial_j T \right\}. |
---|
[3294] | 968 | \end{split} |
---|
| 969 | \end{equation} |
---|
[11543] | 970 | Note that \autoref{eq:TRIADS_eiv_skew_physical} takes the same form whatever the vertical coordinate, |
---|
| 971 | though of course the slopes $\tilde{r}_i$ which define the $\psi_i$ in \autoref{eq:TRIADS_eiv_psi} are relative to |
---|
[10354] | 972 | geopotentials. |
---|
| 973 | The tendency associated with eddy induced velocity is then simply the convergence of the fluxes |
---|
[11543] | 974 | (\autoref{eq:TRIADS_eiv_skew_ijk}, \autoref{eq:TRIADS_eiv_skew_physical}), so |
---|
[10414] | 975 | \[ |
---|
[11543] | 976 | % \label{eq:TRIADS_skew_eiv_conv} |
---|
[10414] | 977 | \frac{\partial T}{\partial t}= -\frac{1}{e_1 \, e_2 \, e_3 } \left[ |
---|
| 978 | \frac{\partial}{\partial i} \left( e_2 \psi_1 \partial_k T\right) |
---|
| 979 | + \frac{\partial}{\partial j} \left( e_1 \; |
---|
| 980 | \psi_2 \partial_k T\right) |
---|
| 981 | - \frac{\partial}{\partial k} \left( e_{2} \psi_1 \partial_i T |
---|
| 982 | + e_{1} \psi_2 \partial_j T \right) \right] |
---|
| 983 | \] |
---|
[10354] | 984 | It naturally conserves the tracer content, as it is expressed in flux form. |
---|
| 985 | Since it has the same divergence as the advective form it also preserves the tracer variance. |
---|
[2282] | 986 | |
---|
[11597] | 987 | %% ================================================================================================= |
---|
[9393] | 988 | \subsection{Discrete skew flux formulation} |
---|
[10414] | 989 | |
---|
[11543] | 990 | The skew fluxes in (\autoref{eq:TRIADS_eiv_skew_physical}, \autoref{eq:TRIADS_eiv_skew_ijk}), |
---|
| 991 | like the off-diagonal terms (\autoref{eq:TRIADS_i13c}, \autoref{eq:TRIADS_i31c}) of the small angle diffusion tensor, |
---|
| 992 | are best expressed in terms of the triad slopes, as in \autoref{fig:TRIADS_ISO_triad} and |
---|
| 993 | (\autoref{eq:TRIADS_i13}, \autoref{eq:TRIADS_i31}); |
---|
[10354] | 994 | but now in terms of the triad slopes $\tilde{\mathbb{R}}$ relative to geopotentials instead of |
---|
| 995 | the $\mathbb{R}$ relative to coordinate surfaces. |
---|
[11543] | 996 | The discrete form of \autoref{eq:TRIADS_eiv_skew_ijk} using the slopes \autoref{eq:TRIADS_R} and |
---|
[3294] | 997 | defining $A_e$ at $T$-points is then given by: |
---|
[2282] | 998 | |
---|
[10414] | 999 | \begin{subequations} |
---|
[11543] | 1000 | % \label{eq:TRIADS_allskewflux} |
---|
[10414] | 1001 | \begin{flalign*} |
---|
[11543] | 1002 | % \label{eq:TRIADS_vect_skew_flux} |
---|
[10414] | 1003 | \vect{F}_{\mathrm{eiv}}(T) &\equiv \sum_{\substack{i_p,\,k_p}} |
---|
[3294] | 1004 | \begin{pmatrix} |
---|
[10414] | 1005 | {_{i+1/2-i_p}^k {\mathbb{S}_u}_{i_p}^{k_p} } (T) \\ \\ |
---|
[3294] | 1006 | {_i^{k+1/2-k_p} {\mathbb{S}_w}_{i_p}^{k_p} } (T) \\ |
---|
| 1007 | \end{pmatrix}, |
---|
[10414] | 1008 | \end{flalign*} |
---|
[11543] | 1009 | where the skew flux in the $i$-direction associated with a given triad is (\autoref{eq:TRIADS_latflux-triad}, |
---|
| 1010 | \autoref{eq:TRIADS_triadfluxu}): |
---|
[3294] | 1011 | \begin{align} |
---|
[11543] | 1012 | \label{eq:TRIADS_skewfluxu} |
---|
[10442] | 1013 | _i^k {\mathbb{S}_u}_{i_p}^{k_p} (T) &= + \fractext{1}{4} {A_e}_i^k{ |
---|
[10414] | 1014 | \:}\frac{{b_u}_{i+i_p}^k}{{e_{1u}}_{\,i + i_p}^{\,k}} |
---|
| 1015 | \ {_i^k\tilde{\mathbb{R}}_{i_p}^{k_p}} \ |
---|
| 1016 | \frac{ \delta_{k+k_p} [T^i] }{{e_{3w}}_{\,i}^{\,k+k_p} }, \\ |
---|
| 1017 | \intertext{ |
---|
[11543] | 1018 | and \autoref{eq:TRIADS_triadfluxw} in the $k$-direction, changing the sign |
---|
| 1019 | to be consistent with \autoref{eq:TRIADS_eiv_skew_ijk}: |
---|
[10414] | 1020 | } |
---|
[3294] | 1021 | _i^k {\mathbb{S}_w}_{i_p}^{k_p} (T) |
---|
[10442] | 1022 | &= -\fractext{1}{4} {A_e}_i^k{\: }\frac{{b_u}_{i+i_p}^k}{{e_{3w}}_{\,i}^{\,k+k_p}} |
---|
[11543] | 1023 | {_i^k\tilde{\mathbb{R}}_{i_p}^{k_p}}\frac{ \delta_{i+ i_p}[T^k] }{ {e_{1u}}_{\,i + i_p}^{\,k} }.\label{eq:TRIADS_skewfluxw} |
---|
[3294] | 1024 | \end{align} |
---|
| 1025 | \end{subequations} |
---|
[2282] | 1026 | |
---|
[10354] | 1027 | Such a discretisation is consistent with the iso-neutral operator as it uses the same definition for the slopes. |
---|
| 1028 | It also ensures the following two key properties. |
---|
[9393] | 1029 | |
---|
[11597] | 1030 | %% ================================================================================================= |
---|
[3294] | 1031 | \subsubsection{No change in tracer variance} |
---|
[10414] | 1032 | |
---|
[11435] | 1033 | The discretization conserves tracer variance, \ie\ it does not include a diffusive component but is a `pure' advection term. |
---|
[10354] | 1034 | This can be seen %either from Appendix \autoref{apdx:eiv_skew} or |
---|
| 1035 | by considering the fluxes associated with a given triad slope $_i^k{\mathbb{R}}_{i_p}^{k_p} (T)$. |
---|
[11543] | 1036 | For, following \autoref{subsec:TRIADS_variance} and \autoref{eq:TRIADS_dvar_iso_i}, |
---|
[10354] | 1037 | the associated horizontal skew-flux $_i^k{\mathbb{S}_u}_{i_p}^{k_p} (T)$ drives a net rate of change of variance, |
---|
[10442] | 1038 | summed over the two $T$-points $i+i_p-\fractext{1}{2},k$ and $i+i_p+\fractext{1}{2},k$, of |
---|
[3294] | 1039 | \begin{equation} |
---|
[11543] | 1040 | \label{eq:TRIADS_dvar_eiv_i} |
---|
[3294] | 1041 | _i^k{\mathbb{S}_u}_{i_p}^{k_p} (T)\,\delta_{i+ i_p}[T^k], |
---|
| 1042 | \end{equation} |
---|
[10354] | 1043 | while the associated vertical skew-flux gives a variance change summed over |
---|
[10442] | 1044 | the $T$-points $i,k+k_p-\fractext{1}{2}$ (above) and $i,k+k_p+\fractext{1}{2}$ (below) of |
---|
[3294] | 1045 | \begin{equation} |
---|
[11543] | 1046 | \label{eq:TRIADS_dvar_eiv_k} |
---|
[3294] | 1047 | _i^k{\mathbb{S}_w}_{i_p}^{k_p} (T) \,\delta_{k+ k_p}[T^i]. |
---|
| 1048 | \end{equation} |
---|
[11543] | 1049 | Inspection of the definitions (\autoref{eq:TRIADS_skewfluxu}, \autoref{eq:TRIADS_skewfluxw}) shows that |
---|
| 1050 | these two variance changes (\autoref{eq:TRIADS_dvar_eiv_i}, \autoref{eq:TRIADS_dvar_eiv_k}) sum to zero. |
---|
[10354] | 1051 | Hence the two fluxes associated with each triad make no net contribution to the variance budget. |
---|
[2282] | 1052 | |
---|
[11597] | 1053 | %% ================================================================================================= |
---|
[3294] | 1054 | \subsubsection{Reduction in gravitational PE} |
---|
[10414] | 1055 | |
---|
[10354] | 1056 | The vertical density flux associated with the vertical skew-flux always has the same sign as |
---|
| 1057 | the vertical density gradient; |
---|
| 1058 | thus, so long as the fluid is stable (the vertical density gradient is negative) |
---|
| 1059 | the vertical density flux is negative (downward) and hence reduces the gravitational PE. |
---|
[2282] | 1060 | |
---|
[3294] | 1061 | For the change in gravitational PE driven by the $k$-flux is |
---|
| 1062 | \begin{align} |
---|
[11543] | 1063 | \label{eq:TRIADS_vert_densityPE} |
---|
[3294] | 1064 | g {e_{3w}}_{\,i}^{\,k+k_p}{\mathbb{S}_w}_{i_p}^{k_p} (\rho) |
---|
| 1065 | &=g {e_{3w}}_{\,i}^{\,k+k_p}\left[-\alpha _i^k {\:}_i^k |
---|
| 1066 | {\mathbb{S}_w}_{i_p}^{k_p} (T) + \beta_i^k {\:}_i^k |
---|
| 1067 | {\mathbb{S}_w}_{i_p}^{k_p} (S) \right]. \notag \\ |
---|
[11543] | 1068 | \intertext{Substituting ${\:}_i^k {\mathbb{S}_w}_{i_p}^{k_p}$ from \autoref{eq:TRIADS_skewfluxw}, gives} |
---|
[10414] | 1069 | % and separating out |
---|
| 1070 | % $\rtriadt{R}=\rtriad{R} + \delta_{i+i_p}[z_T^k]$, |
---|
| 1071 | % gives two terms. The |
---|
| 1072 | % first $\rtriad{R}$ term (the only term for $z$-coordinates) is: |
---|
[10442] | 1073 | &=-\fractext{1}{4} g{A_e}_i^k{\: }{b_u}_{i+i_p}^k {_i^k\tilde{\mathbb{R}}_{i_p}^{k_p}} |
---|
[10414] | 1074 | \frac{ -\alpha _i^k\delta_{i+ i_p}[T^k]+ \beta_i^k\delta_{i+ i_p}[S^k]} { {e_{1u}}_{\,i + i_p}^{\,k} } \notag \\ |
---|
[10442] | 1075 | &=+\fractext{1}{4} g{A_e}_i^k{\: }{b_u}_{i+i_p}^k |
---|
[10414] | 1076 | \left({_i^k\mathbb{R}_{i_p}^{k_p}}+\frac{\delta_{i+i_p}[z_T^k]}{{e_{1u}}_{\,i + i_p}^{\,k}}\right) {_i^k\mathbb{R}_{i_p}^{k_p}} |
---|
| 1077 | \frac{-\alpha_i^k \delta_{k+ k_p}[T^i]+ \beta_i^k\delta_{k+ k_p}[S^i]} {{e_{3w}}_{\,i}^{\,k+k_p}}, |
---|
[3294] | 1078 | \end{align} |
---|
[11543] | 1079 | using the definition of the triad slope $\rtriad{R}$, \autoref{eq:TRIADS_R} to |
---|
[10354] | 1080 | express $-\alpha _i^k\delta_{i+ i_p}[T^k]+\beta_i^k\delta_{i+ i_p}[S^k]$ in terms of |
---|
| 1081 | $-\alpha_i^k \delta_{k+ k_p}[T^i]+ \beta_i^k\delta_{k+ k_p}[S^i]$. |
---|
[2282] | 1082 | |
---|
[3294] | 1083 | Where the coordinates slope, the $i$-flux gives a PE change |
---|
| 1084 | \begin{multline} |
---|
[11543] | 1085 | \label{eq:TRIADS_lat_densityPE} |
---|
[10414] | 1086 | g \delta_{i+i_p}[z_T^k] |
---|
| 1087 | \left[ |
---|
| 1088 | -\alpha _i^k {\:}_i^k {\mathbb{S}_u}_{i_p}^{k_p} (T) + \beta_i^k {\:}_i^k {\mathbb{S}_u}_{i_p}^{k_p} (S) |
---|
| 1089 | \right] \\ |
---|
[10442] | 1090 | = +\fractext{1}{4} g{A_e}_i^k{\: }{b_u}_{i+i_p}^k |
---|
[10414] | 1091 | \frac{\delta_{i+i_p}[z_T^k]}{{e_{1u}}_{\,i + i_p}^{\,k}} |
---|
| 1092 | \left({_i^k\mathbb{R}_{i_p}^{k_p}}+\frac{\delta_{i+i_p}[z_T^k]}{{e_{1u}}_{\,i + i_p}^{\,k}}\right) |
---|
| 1093 | \frac{-\alpha_i^k \delta_{k+ k_p}[T^i]+ \beta_i^k\delta_{k+ k_p}[S^i]} {{e_{3w}}_{\,i}^{\,k+k_p}}, |
---|
[3294] | 1094 | \end{multline} |
---|
[11543] | 1095 | (using \autoref{eq:TRIADS_skewfluxu}) and so the total PE change \autoref{eq:TRIADS_vert_densityPE} + |
---|
| 1096 | \autoref{eq:TRIADS_lat_densityPE} associated with the triad fluxes is |
---|
[10414] | 1097 | \begin{multline*} |
---|
[11543] | 1098 | % \label{eq:TRIADS_tot_densityPE} |
---|
[3294] | 1099 | g{e_{3w}}_{\,i}^{\,k+k_p}{\mathbb{S}_w}_{i_p}^{k_p} (\rho) + |
---|
[10414] | 1100 | g\delta_{i+i_p}[z_T^k] {\:}_i^k {\mathbb{S}_u}_{i_p}^{k_p} (\rho) \\ |
---|
[10442] | 1101 | = +\fractext{1}{4} g{A_e}_i^k{\: }{b_u}_{i+i_p}^k |
---|
[10414] | 1102 | \left({_i^k\mathbb{R}_{i_p}^{k_p}}+\frac{\delta_{i+i_p}[z_T^k]}{{e_{1u}}_{\,i + i_p}^{\,k}}\right)^2 |
---|
| 1103 | \frac{-\alpha_i^k \delta_{k+ k_p}[T^i]+ \beta_i^k\delta_{k+ k_p}[S^i]} {{e_{3w}}_{\,i}^{\,k+k_p}}. |
---|
| 1104 | \end{multline*} |
---|
[3294] | 1105 | Where the fluid is stable, with $-\alpha_i^k \delta_{k+ k_p}[T^i]+ |
---|
| 1106 | \beta_i^k\delta_{k+ k_p}[S^i]<0$, this PE change is negative. |
---|
[2282] | 1107 | |
---|
[11597] | 1108 | %% ================================================================================================= |
---|
[10414] | 1109 | \subsection{Treatment of the triads at the boundaries} |
---|
[11543] | 1110 | \label{sec:TRIADS_skew_bdry} |
---|
[10414] | 1111 | |
---|
[11543] | 1112 | Triad slopes \rtriadt{R} used for the calculation of the eddy-induced skew-fluxes are masked at the boundaries |
---|
| 1113 | in exactly the same way as are the triad slopes \rtriad{R} used for the iso-neutral diffusive fluxes, |
---|
| 1114 | as described in \autoref{sec:TRIADS_iso_bdry} and \autoref{fig:TRIADS_bdry_triads}. |
---|
| 1115 | Thus surface layer triads $\triadt{i}{1}{R}{1/2}{-1/2}$ and $\triadt{i+1}{1}{R}{-1/2}{-1/2}$ are masked, |
---|
| 1116 | and both near bottom triad slopes $\triadt{i}{k}{R}{1/2}{1/2}$ and $\triadt{i+1}{k}{R}{-1/2}{1/2}$ are masked when |
---|
| 1117 | either of the $i,k+1$ or $i+1,k+1$ tracer points is masked, \ie\ the $i,k+1$ $u$-point is masked. |
---|
[11577] | 1118 | The namelist parameter \np{ln_botmix_triad}{ln\_botmix\_triad} has no effect on the eddy-induced skew-fluxes. |
---|
[2282] | 1119 | |
---|
[11597] | 1120 | %% ================================================================================================= |
---|
[10414] | 1121 | \subsection{Limiting of the slopes within the interior} |
---|
[11543] | 1122 | \label{sec:TRIADS_limitskew} |
---|
[10414] | 1123 | |
---|
[11543] | 1124 | Presently, the iso-neutral slopes $\tilde{r}_i$ relative to geopotentials are limited to be less than $1/100$, |
---|
| 1125 | exactly as in calculating the iso-neutral diffusion, \S \autoref{sec:TRIADS_limit}. |
---|
[10354] | 1126 | Each individual triad \rtriadt{R} is so limited. |
---|
[2282] | 1127 | |
---|
[11597] | 1128 | %% ================================================================================================= |
---|
[10414] | 1129 | \subsection{Tapering within the surface mixed layer} |
---|
[11543] | 1130 | \label{sec:TRIADS_taperskew} |
---|
[10414] | 1131 | |
---|
[11543] | 1132 | The slopes $\tilde{r}_i$ relative to geopotentials (and thus the individual triads \rtriadt{R}) |
---|
| 1133 | are always tapered linearly from their value immediately below the mixed layer to zero at the surface |
---|
| 1134 | \autoref{eq:TRIADS_rmtilde}, as described in \autoref{sec:TRIADS_lintaper}. |
---|
| 1135 | This is option (c) of \autoref{fig:LDF_eiv_slp}. |
---|
| 1136 | This linear tapering for the slopes used to calculate the eddy-induced fluxes is unaffected by |
---|
[11577] | 1137 | the value of \np{ln_triad_iso}{ln\_triad\_iso}. |
---|
[2282] | 1138 | |
---|
[10354] | 1139 | The justification for this linear slope tapering is that, for $A_e$ that is constant or varies only in |
---|
| 1140 | the horizontal (the most commonly used options in \NEMO: see \autoref{sec:LDF_coef}), |
---|
| 1141 | it is equivalent to a horizontal eiv (eddy-induced velocity) that is uniform within the mixed layer |
---|
[11543] | 1142 | \autoref{eq:TRIADS_eiv_v}. |
---|
[11123] | 1143 | This ensures that the eiv velocities do not restratify the mixed layer \citep{treguier.held.ea_JPO97,danabasoglu.ferrari.ea_JC08}. |
---|
[10354] | 1144 | Equivantly, in terms of the skew-flux formulation we use here, |
---|
| 1145 | the linear slope tapering within the mixed-layer gives a linearly varying vertical flux, |
---|
| 1146 | and so a tracer convergence uniform in depth |
---|
| 1147 | (the horizontal flux convergence is relatively insignificant within the mixed-layer). |
---|
[3294] | 1148 | |
---|
[11597] | 1149 | %% ================================================================================================= |
---|
[10414] | 1150 | \subsection{Streamfunction diagnostics} |
---|
[11543] | 1151 | \label{sec:TRIADS_sfdiag} |
---|
[10414] | 1152 | |
---|
[11582] | 1153 | Where the namelist parameter \np[=.true.]{ln_traldf_gdia}{ln\_traldf\_gdia}, |
---|
[10354] | 1154 | diagnosed mean eddy-induced velocities are output. |
---|
| 1155 | Each time step, streamfunctions are calculated in the $i$-$k$ and $j$-$k$ planes at |
---|
| 1156 | $uw$ (integer +1/2 $i$, integer $j$, integer +1/2 $k$) and $vw$ (integer $i$, integer +1/2 $j$, integer +1/2 $k$) |
---|
[11543] | 1157 | points (see Table \autoref{tab:DOM_cell}) respectively. |
---|
[11123] | 1158 | We follow \citep{griffies_bk04} and calculate the streamfunction at a given $uw$-point from |
---|
[10354] | 1159 | the surrounding four triads according to: |
---|
[10414] | 1160 | \[ |
---|
[11543] | 1161 | % \label{eq:TRIADS_sfdiagi} |
---|
[10442] | 1162 | {\psi_1}_{i+1/2}^{k+1/2}={\fractext{1}{4}}\sum_{\substack{i_p,\,k_p}} |
---|
[3294] | 1163 | {A_e}_{i+1/2-i_p}^{k+1/2-k_p}\:\triadd{i+1/2-i_p}{k+1/2-k_p}{R}{i_p}{k_p}. |
---|
[10414] | 1164 | \] |
---|
[3294] | 1165 | The streamfunction $\psi_1$ is calculated similarly at $vw$ points. |
---|
[11543] | 1166 | The eddy-induced velocities are then calculated from the straightforward discretisation of \autoref{eq:TRIADS_eiv_v}: |
---|
[10414] | 1167 | \[ |
---|
[11543] | 1168 | % \label{eq:TRIADS_eiv_v_discrete} |
---|
[10414] | 1169 | \begin{split} |
---|
| 1170 | {u^*}_{i+1/2}^{k} & = - \frac{1}{{e_{3u}}_{i}^{k}}\left({\psi_1}_{i+1/2}^{k+1/2}-{\psi_1}_{i+1/2}^{k+1/2}\right), \\ |
---|
| 1171 | {v^*}_{j+1/2}^{k} & = - \frac{1}{{e_{3v}}_{j}^{k}}\left({\psi_2}_{j+1/2}^{k+1/2}-{\psi_2}_{j+1/2}^{k+1/2}\right), \\ |
---|
| 1172 | {w^*}_{i,j}^{k+1/2} & = \frac{1}{e_{1t}e_{2t}}\; \left\{ |
---|
| 1173 | {e_{2u}}_{i+1/2}^{k+1/2} \,{\psi_1}_{i+1/2}^{k+1/2} - |
---|
| 1174 | {e_{2u}}_{i-1/2}^{k+1/2} \,{\psi_1}_{i-1/2}^{k+1/2} \right. + \\ |
---|
| 1175 | \phantom{=} & \qquad\qquad\left. {e_{2v}}_{j+1/2}^{k+1/2} \,{\psi_2}_{j+1/2}^{k+1/2} - {e_{2v}}_{j-1/2}^{k+1/2} \,{\psi_2}_{j-1/2}^{k+1/2} \right\}, |
---|
| 1176 | \end{split} |
---|
| 1177 | \] |
---|
| 1178 | |
---|
[11584] | 1179 | \onlyinsubfile{\input{../../global/epilogue}} |
---|
[10414] | 1180 | |
---|
[6997] | 1181 | \end{document} |
---|