Changeset 10368 for NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/doc/latex/NEMO/subfiles/annex_E.tex
- Timestamp:
- 2018-12-03T12:45:01+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/doc/latex/NEMO/subfiles/annex_E.tex
r9407 r10368 10 10 \newpage 11 11 $\ $\newline % force a new ligne 12 13 This appendix some on going consideration on algorithms used or planned to be used 14 in \NEMO. 12 13 This appendix some on going consideration on algorithms used or planned to be used in \NEMO. 15 14 16 15 $\ $\newline % force a new ligne … … 22 21 \label{sec:TRA_adv_ubs} 23 22 24 The UBS advection scheme is an upstream biased third order scheme based on 25 an upstream-biased parabolic interpolation. It is also known as Cell Averaged26 QUICK scheme (Quadratic Upstream Interpolation for Convective 27 Kinematics). For example, in the $i$-direction:23 The UBS advection scheme is an upstream biased third order scheme based on 24 an upstream-biased parabolic interpolation. 25 It is also known as Cell Averaged QUICK scheme (Quadratic Upstream Interpolation for Convective Kinematics). 26 For example, in the $i$-direction: 28 27 \begin{equation} \label{eq:tra_adv_ubs2} 29 28 \tau _u^{ubs} = \left\{ \begin{aligned} … … 38 37 - \frac{1}{2}\, |U|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] 39 38 \end{equation} 40 where $U_{i+1/2} = e_{1u}\,e_{3u}\,u_{i+1/2}$ and 41 $\tau "_i =\delta _i \left[ {\delta _{i+1/2} \left[ \tau \right]} \right]$. 42 By choosing this expression for $\tau "$ we consider a fourth order approximation 43 of $\partial_i^2$ with a constant i-grid spacing ($\Delta i=1$). 39 where $U_{i+1/2} = e_{1u}\,e_{3u}\,u_{i+1/2}$ and 40 $\tau "_i =\delta _i \left[ {\delta _{i+1/2} \left[ \tau \right]} \right]$. 41 By choosing this expression for $\tau "$ we consider a fourth order approximation of $\partial_i^2$ with 42 a constant i-grid spacing ($\Delta i=1$). 44 43 45 44 Alternative choice: introduce the scale factors: … … 47 46 48 47 49 This results in a dissipatively dominant (i.e. hyper-diffusive) truncation 50 error \citep{Shchepetkin_McWilliams_OM05}. The overall performance of the 51 advection scheme is similar to that reported in \cite{Farrow1995}. 52 It is a relatively good compromise between accuracy and smoothness. It is 53 not a \emph{positive} scheme meaning false extrema are permitted but the 54 amplitude of such are significantly reduced over the centred second order 55 method. Nevertheless it is not recommended to apply it to a passive tracer 56 that requires positivity. 57 58 The intrinsic diffusion of UBS makes its use risky in the vertical direction 59 where the control of artificial diapycnal fluxes is of paramount importance. 60 It has therefore been preferred to evaluate the vertical flux using the TVD 61 scheme when \np{ln\_traadv\_ubs}\forcode{ = .true.}. 62 63 For stability reasons, in \autoref{eq:tra_adv_ubs}, the first term which corresponds 64 to a second order centred scheme is evaluated using the \textit{now} velocity 65 (centred in time) while the second term which is the diffusive part of the scheme, 66 is evaluated using the \textit{before} velocity (forward in time. This is discussed 67 by \citet{Webb_al_JAOT98} in the context of the Quick advection scheme. UBS and QUICK 68 schemes only differ by one coefficient. Substituting 1/6 with 1/8 in 69 (\autoref{eq:tra_adv_ubs}) leads to the QUICK advection scheme \citep{Webb_al_JAOT98}. 70 This option is not available through a namelist parameter, since the 1/6 71 coefficient is hard coded. Nevertheless it is quite easy to make the 72 substitution in \mdl{traadv\_ubs} module and obtain a QUICK scheme 73 74 NB 1: When a high vertical resolution $O(1m)$ is used, the model stability can 75 be controlled by vertical advection (not vertical diffusion which is usually 76 solved using an implicit scheme). Computer time can be saved by using a 77 time-splitting technique on vertical advection. This possibility have been 78 implemented and validated in ORCA05-L301. It is not currently offered in the 79 current reference version. 80 81 NB 2 : In a forthcoming release four options will be proposed for the 82 vertical component used in the UBS scheme. $\tau _w^{ubs}$ will be 83 evaluated using either \textit{(a)} a centred $2^{nd}$ order scheme , 84 or \textit{(b)} a TVD scheme, or \textit{(c)} an interpolation based on conservative 85 parabolic splines following \citet{Shchepetkin_McWilliams_OM05} implementation of UBS in ROMS, 86 or \textit{(d)} an UBS. The $3^{rd}$ case has dispersion properties similar to an 87 eight-order accurate conventional scheme. 88 89 NB 3 : It is straight forward to rewrite \autoref{eq:tra_adv_ubs} as follows: 48 This results in a dissipatively dominant (i.e. hyper-diffusive) truncation error 49 \citep{Shchepetkin_McWilliams_OM05}. 50 The overall performance of the advection scheme is similar to that reported in \cite{Farrow1995}. 51 It is a relatively good compromise between accuracy and smoothness. 52 It is not a \emph{positive} scheme meaning false extrema are permitted but 53 the amplitude of such are significantly reduced over the centred second order method. 54 Nevertheless it is not recommended to apply it to a passive tracer that requires positivity. 55 56 The intrinsic diffusion of UBS makes its use risky in the vertical direction where 57 the control of artificial diapycnal fluxes is of paramount importance. 58 It has therefore been preferred to evaluate the vertical flux using the TVD scheme when 59 \np{ln\_traadv\_ubs}\forcode{ = .true.}. 60 61 For stability reasons, in \autoref{eq:tra_adv_ubs}, the first term which corresponds to 62 a second order centred scheme is evaluated using the \textit{now} velocity (centred in time) while 63 the second term which is the diffusive part of the scheme, is evaluated using the \textit{before} velocity 64 (forward in time). 65 This is discussed by \citet{Webb_al_JAOT98} in the context of the Quick advection scheme. 66 UBS and QUICK schemes only differ by one coefficient. 67 Substituting 1/6 with 1/8 in (\autoref{eq:tra_adv_ubs}) leads to the QUICK advection scheme \citep{Webb_al_JAOT98}. 68 This option is not available through a namelist parameter, since the 1/6 coefficient is hard coded. 69 Nevertheless it is quite easy to make the substitution in \mdl{traadv\_ubs} module and obtain a QUICK scheme. 70 71 NB 1: When a high vertical resolution $O(1m)$ is used, the model stability can be controlled by vertical advection 72 (not vertical diffusion which is usually solved using an implicit scheme). 73 Computer time can be saved by using a time-splitting technique on vertical advection. 74 This possibility have been implemented and validated in ORCA05-L301. 75 It is not currently offered in the current reference version. 76 77 NB 2: In a forthcoming release four options will be proposed for the vertical component used in the UBS scheme. 78 $\tau _w^{ubs}$ will be evaluated using either \textit{(a)} a centered $2^{nd}$ order scheme, 79 or \textit{(b)} a TVD scheme, or \textit{(c)} an interpolation based on conservative parabolic splines following 80 \citet{Shchepetkin_McWilliams_OM05} implementation of UBS in ROMS, or \textit{(d)} an UBS. 81 The $3^{rd}$ case has dispersion properties similar to an eight-order accurate conventional scheme. 82 83 NB 3: It is straight forward to rewrite \autoref{eq:tra_adv_ubs} as follows: 90 84 \begin{equation} \label{eq:tra_adv_ubs2} 91 85 \tau _u^{ubs} = \left\{ \begin{aligned} … … 102 96 \end{split} 103 97 \end{equation} 104 \autoref{eq:tra_adv_ubs2} has several advantages. First it clearly evidence that105 the UBS scheme is based on the fourth order scheme to which is added an 106 upstream biased diffusive term. Second, this emphasises that the $4^{th}$ order 107 part have to be evaluated at \emph{now} time step, not only the $2^{th}$ order 108 part as stated above using \autoref{eq:tra_adv_ubs}. Third, the diffusive term is 109 in fact a biharmonic operator with a eddy coefficient with is simply proportional 110 to the velocity.98 \autoref{eq:tra_adv_ubs2} has several advantages. 99 First it clearly evidences that the UBS scheme is based on the fourth order scheme to which 100 is added an upstream biased diffusive term. 101 Second, this emphasises that the $4^{th}$ order part have to be evaluated at \emph{now} time step, 102 not only the $2^{th}$ order part as stated above using \autoref{eq:tra_adv_ubs}. 103 Third, the diffusive term is in fact a biharmonic operator with a eddy coefficient which 104 is simply proportional to the velocity. 111 105 112 106 laplacian diffusion: … … 135 129 with ${A_u^{lT}}^2 = \frac{1}{12} {e_{1u}}^3\ |u|$, 136 130 $i.e.$ $A_u^{lT} = \frac{1}{\sqrt{12}} \,e_{1u}\ \sqrt{ e_{1u}\,|u|\,}$ 137 it comes 131 it comes: 138 132 \begin{equation} \label{eq:tra_ldf_lap} 139 133 \begin{split} … … 163 157 \end{split} 164 158 \end{equation} 165 if the velocity is uniform ($i.e.$ $|u|=cst$) and 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]$ 159 if the velocity is uniform ($i.e.$ $|u|=cst$) and 160 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]$ 166 161 167 162 sol 1 coefficient at T-point ( add $e_{1u}$ and $e_{1T}$ on both side of first $\delta$): … … 191 186 \label{sec:LF} 192 187 193 We adopt the following semi-discrete notation for time derivative. Given the values of a variable $q$ at successive time step, the time derivation and averaging operators at the mid time step are: 188 We adopt the following semi-discrete notation for time derivative. 189 Given the values of a variable $q$ at successive time step, 190 the time derivation and averaging operators at the mid time step are: 194 191 \begin{subequations} \label{eq:dt_mt} 195 192 \begin{align} … … 198 195 \end{align} 199 196 \end{subequations} 200 As for space operator, the adjoint of the derivation and averaging time operators are201 $\delta_t^*=\delta_{t+\rdt/2}$ and $\overline{\cdot}^{\,t\,*}= \overline{\cdot}^{\,t+\Delta/2}$ 202 , respectively. 197 As for space operator, 198 the adjoint of the derivation and averaging time operators are $\delta_t^*=\delta_{t+\rdt/2}$ and 199 $\overline{\cdot}^{\,t\,*}= \overline{\cdot}^{\,t+\Delta/2}$, respectively. 203 200 204 201 The Leap-frog time stepping given by \autoref{eq:DOM_nxt} can be defined as: … … 208 205 = \frac{q^{t+\rdt}-q^{t-\rdt}}{2\rdt} 209 206 \end{equation} 210 Note that \autoref{chap:LF} shows that the leapfrog time step is $\rdt$, not $2\rdt$211 as it can be found sometime in literature. 212 The leap-Frog time stepping is a second order centered scheme. As such it respects213 the quadratic invariant in integral forms, $i.e.$ the following continuous property,207 Note that \autoref{chap:LF} shows that the leapfrog time step is $\rdt$, 208 not $2\rdt$ as it can be found sometimes in literature. 209 The leap-Frog time stepping is a second order centered scheme. 210 As such it respects the quadratic invariant in integral forms, $i.e.$ the following continuous property, 214 211 \begin{equation} \label{eq:Energy} 215 212 \int_{t_0}^{t_1} {q\, \frac{\partial q}{\partial t} \;dt} … … 217 214 = \frac{1}{2} \left( {q_{t_1}}^2 - {q_{t_0}}^2 \right) , 218 215 \end{equation} 219 is satisfied in discrete form. Indeed, 216 is satisfied in discrete form. 217 Indeed, 220 218 \begin{equation} \begin{split} 221 219 \int_{t_0}^{t_1} {q\, \frac{\partial q}{\partial t} \;dt} … … 228 226 \equiv \frac{1}{2} \left( {q_{t_1}}^2 - {q_{t_0}}^2 \right) 229 227 \end{split} \end{equation} 230 NB here pb of boundary condition when applying the adjoin ! In space, setting to 0231 the quantity in land area is sufficient to get rid of the boundary condition232 (equivalently of the boundary value of the integration by part). In time this boundary233 condition is not physical and \textbf{add something here!!!}228 NB here pb of boundary condition when applying the adjoint! 229 In space, setting to 0 the quantity in land area is sufficient to get rid of the boundary condition 230 (equivalently of the boundary value of the integration by part). 231 In time this boundary condition is not physical and \textbf{add something here!!!} 234 232 235 233 … … 249 247 \subsection{Griffies iso-neutral diffusion operator} 250 248 251 Let try to define a scheme that get its inspiration from the \citet{Griffies_al_JPO98} 252 scheme, but is formulated within the \NEMO framework ($i.e.$ using scale 253 factors rather than grid-size and having a position of $T$-points that is not 254 necessary in the middle of vertical velocity points, see \autoref{fig:zgr_e3}). 255 256 In the formulation \autoref{eq:tra_ldf_iso} introduced in 1995 in OPA, the ancestor of \NEMO, 257 the off-diagonal terms of the small angle diffusion tensor contain several double 258 spatial averages of a gradient, for example $\overline{\overline{\delta_k \cdot}}^{\,i,k}$. 259 It is apparent that the combination of a $k$ average and a $k$ derivative of the tracer 260 allows for the presence of grid point oscillation structures that will be invisible 261 to the operator. These structures are \textit{computational modes}. They 262 will not be damped by the iso-neutral operator, and even possibly amplified by it. 263 In other word, the operator applied to a tracer does not warranties the decrease of 264 its global average variance. To circumvent this, we have introduced a smoothing of 265 the slopes of the iso-neutral surfaces (see \autoref{chap:LDF}). Nevertheless, this technique 266 works fine for $T$ and $S$ as they are active tracers ($i.e.$ they enter the computation 267 of density), but it does not work for a passive tracer. \citep{Griffies_al_JPO98} introduce 268 a different way to discretise the off-diagonal terms that nicely solve the problem. 269 The idea is to get rid of combinations of an averaged in one direction combined 270 with a derivative in the same direction by considering triads. For example in the 271 (\textbf{i},\textbf{k}) plane, the four triads are defined at the $(i,k)$ $T$-point as follows: 249 Let try to define a scheme that get its inspiration from the \citet{Griffies_al_JPO98} scheme, 250 but is formulated within the \NEMO framework 251 ($i.e.$ using scale factors rather than grid-size and having a position of $T$-points that 252 is not necessary in the middle of vertical velocity points, see \autoref{fig:zgr_e3}). 253 254 In the formulation \autoref{eq:tra_ldf_iso} introduced in 1995 in OPA, the ancestor of \NEMO, 255 the off-diagonal terms of the small angle diffusion tensor contain several double spatial averages of a gradient, 256 for example $\overline{\overline{\delta_k \cdot}}^{\,i,k}$. 257 It is apparent that the combination of a $k$ average and a $k$ derivative of the tracer allows for 258 the presence of grid point oscillation structures that will be invisible to the operator. 259 These structures are \textit{computational modes}. 260 They will not be damped by the iso-neutral operator, and even possibly amplified by it. 261 In other word, the operator applied to a tracer does not warranties the decrease of its global average variance. 262 To circumvent this, we have introduced a smoothing of the slopes of the iso-neutral surfaces 263 (see \autoref{chap:LDF}). 264 Nevertheless, this technique works fine for $T$ and $S$ as they are active tracers 265 ($i.e.$ they enter the computation of density), but it does not work for a passive tracer. 266 \citep{Griffies_al_JPO98} introduce a different way to discretise the off-diagonal terms that 267 nicely solve the problem. 268 The idea is to get rid of combinations of an averaged in one direction combined with 269 a derivative in the same direction by considering triads. 270 For example in the (\textbf{i},\textbf{k}) plane, the four triads are defined at the $(i,k)$ $T$-point as follows: 272 271 \begin{equation} \label{eq:Gf_triads} 273 272 _i^k \mathbb{T}_{i_p}^{k_p} (T) … … 277 276 \right) 278 277 \end{equation} 279 where the indices $i_p$ and $k_p$ define the four triads and take the following value: 280 $i_p = -1/2$ or $1/2$ and $k_p = -1/2$ or $1/2$, 281 $b_u= e_{1u}\,e_{2u}\,e_{3u}$ is the volume of $u$-cells, 278 where the indices $i_p$ and $k_p$ define the four triads and take the following value: 279 $i_p = -1/2$ or $1/2$ and $k_p = -1/2$ or $1/2$, 280 $b_u= e_{1u}\,e_{2u}\,e_{3u}$ is the volume of $u$-cells, 282 281 $A_i^k$ is the lateral eddy diffusivity coefficient defined at $T$-point, 283 and $_i^k \mathbb{R}_{i_p}^{k_p}$ is the slope associated with each triad 282 and $_i^k \mathbb{R}_{i_p}^{k_p}$ is the slope associated with each triad: 284 283 \begin{equation} \label{eq:Gf_slopes} 285 284 _i^k \mathbb{R}_{i_p}^{k_p} … … 288 287 {\left(\alpha / \beta \right)_i^k \ \delta_{k+k_p}[T^i ] - \delta_{k+k_p}[S^i ] } 289 288 \end{equation} 290 Note that in \autoref{eq:Gf_slopes} we use the ratio $\alpha / \beta$ instead of 291 multiplying the temperature derivative by $\alpha$ and the salinity derivative 292 by $\beta$. This is more efficient as the ratio $\alpha / \beta$ can to be 293 evaluated directly. 294 295 Note that in \autoref{eq:Gf_triads}, we chose to use ${b_u}_{\,i+i_p}^{\,k}$ instead of 296 ${b_{uw}}_{\,i+i_p}^{\,k+k_p}$. This choice has been motivated by the decrease 297 of tracer variance and the presence of partial cell at the ocean bottom 298 (see \autoref{apdx:Gf_operator}). 289 Note that in \autoref{eq:Gf_slopes} we use the ratio $\alpha / \beta$ instead of 290 multiplying the temperature derivative by $\alpha$ and the salinity derivative by $\beta$. 291 This is more efficient as the ratio $\alpha / \beta$ can to be evaluated directly. 292 293 Note that in \autoref{eq:Gf_triads}, we chose to use ${b_u}_{\,i+i_p}^{\,k}$ instead of ${b_{uw}}_{\,i+i_p}^{\,k+k_p}$. 294 This choice has been motivated by the decrease of tracer variance and 295 the presence of partial cell at the ocean bottom (see \autoref{apdx:Gf_operator}). 299 296 300 297 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 301 298 \begin{figure}[!ht] \begin{center} 302 299 \includegraphics[width=0.70\textwidth]{Fig_ISO_triad} 303 \caption{ \protect\label{fig:ISO_triad} 304 Triads used in the Griffies's like iso-neutral diffision scheme for 305 $u$-component (upper panel) and $w$-component (lower panel).}300 \caption{ \protect\label{fig:ISO_triad} 301 Triads used in the Griffies's like iso-neutral diffision scheme for 302 $u$-component (upper panel) and $w$-component (lower panel).} 306 303 \end{center} 307 304 \end{figure} … … 309 306 310 307 The four iso-neutral fluxes associated with the triads are defined at $T$-point. 311 They take the following expression 308 They take the following expression: 312 309 \begin{flalign} \label{eq:Gf_fluxes} 313 310 \begin{split} … … 320 317 \end{flalign} 321 318 322 The resulting iso-neutral fluxes at $u$- and $w$-points are then given by the323 sum of the fluxes that cross the $u$- and $w$-face (\autoref{fig:ISO_triad}):319 The resulting iso-neutral fluxes at $u$- and $w$-points are then given by 320 the sum of the fluxes that cross the $u$- and $w$-face (\autoref{fig:ISO_triad}): 324 321 \begin{flalign} \label{eq:iso_flux} 325 322 \textbf{F}_{iso}(T) … … 350 347 % \end{pmatrix} 351 348 \end{flalign} 352 resulting in a iso-neutral diffusion tendency on temperature given by the divergence353 of the sum of all the four triad fluxes:349 resulting in a iso-neutral diffusion tendency on temperature given by 350 the divergence of the sum of all the four triad fluxes: 354 351 \begin{equation} \label{eq:Gf_operator} 355 352 D_l^T = \frac{1}{b_T} \sum_{\substack{i_p,\,k_p}} \left\{ … … 359 356 where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. 360 357 361 This expression of the iso-neutral diffusion has been chosen in order to satisfy 362 the following six properties: 358 This expression of the iso-neutral diffusion has been chosen in order to satisfy the following six properties: 363 359 \begin{description} 364 \item[$\bullet$ horizontal diffusion] The discretization of the diffusion operator 365 recovers the traditional five-point Laplacian in the limit of flat iso-neutral direction : 360 \item[$\bullet$ horizontal diffusion] 361 The discretization of the diffusion operator recovers the traditional five-point Laplacian in 362 the limit of flat iso-neutral direction: 366 363 \begin{equation} \label{eq:Gf_property1a} 367 364 D_l^T = \frac{1}{b_T} \ \delta_{i} … … 371 368 \end{equation} 372 369 373 \item[$\bullet$ implicit treatment in the vertical] In the diagonal term associated374 with the vertical divergence of the iso-neutral fluxes (i.e. the term associated 375 with a second order vertical derivative) appears only tracer values associated 376 with a single water column. This is of paramount importance since it means 377 that the implicit in time algorithm for solving the vertical diffusion equation can 378 be used to evaluate this term. It is a necessity since the vertical eddy diffusivity 379 associated with this term,370 \item[$\bullet$ implicit treatment in the vertical] 371 In the diagonal term associated with the vertical divergence of the iso-neutral fluxes 372 (i.e. the term associated with a second order vertical derivative) 373 appears only tracer values associated with a single water column. 374 This is of paramount importance since it means that 375 the implicit in time algorithm for solving the vertical diffusion equation can be used to evaluate this term. 376 It is a necessity since the vertical eddy diffusivity associated with this term, 380 377 \begin{equation} 381 378 \sum_{\substack{i_p, \,k_p}} \left\{ … … 385 382 can be quite large. 386 383 387 \item[$\bullet$ pure iso-neutral operator] The iso-neutral flux of locally referenced388 potential density is zero, $i.e.$384 \item[$\bullet$ pure iso-neutral operator] 385 The iso-neutral flux of locally referenced potential density is zero, $i.e.$ 389 386 \begin{align} \label{eq:Gf_property2} 390 387 \begin{matrix} … … 397 394 \end{matrix} 398 395 \end{align} 399 This result is trivially obtained using the \autoref{eq:Gf_triads} applied to $T$ and $S$ 400 andthe definition of the triads' slopes \autoref{eq:Gf_slopes}.401 402 \item[$\bullet$ conservation of tracer] The iso-neutral diffusion term conserve the403 total tracer content, $i.e.$396 This result is trivially obtained using the \autoref{eq:Gf_triads} applied to $T$ and $S$ and 397 the definition of the triads' slopes \autoref{eq:Gf_slopes}. 398 399 \item[$\bullet$ conservation of tracer] 400 The iso-neutral diffusion term conserve the total tracer content, $i.e.$ 404 401 \begin{equation} \label{eq:Gf_property1} 405 402 \sum_{i,j,k} \left\{ D_l^T \ b_T \right\} = 0 406 403 \end{equation} 407 This property is trivially satisfied since the iso-neutral diffusive operator 408 is written in flux form. 409 410 \item[$\bullet$ decrease of tracer variance] The iso-neutral diffusion term does 411 not increase the total tracer variance, $i.e.$ 404 This property is trivially satisfied since the iso-neutral diffusive operator is written in flux form. 405 406 \item[$\bullet$ decrease of tracer variance] 407 The iso-neutral diffusion term does not increase the total tracer variance, $i.e.$ 412 408 \begin{equation} \label{eq:Gf_property1} 413 409 \sum_{i,j,k} \left\{ T \ D_l^T \ b_T \right\} \leq 0 414 410 \end{equation} 415 The property is demonstrated in the \autoref{apdx:Gf_operator}. It is a 416 key property for a diffusion term. It means that the operator is also a dissipation 417 term, $i.e.$ it is a sink term for the square of the quantity on which it is applied. 418 It therfore ensure that, when the diffusivity coefficient is large enough, the field 419 on which it is applied become free of grid-point noise. 420 421 \item[$\bullet$ self-adjoint operator] The iso-neutral diffusion operator is self-adjoint, 422 $i.e.$ 411 The property is demonstrated in the \autoref{apdx:Gf_operator}. 412 It is a key property for a diffusion term. 413 It means that the operator is also a dissipation term, 414 $i.e.$ it is a sink term for the square of the quantity on which it is applied. 415 It therfore ensures that, when the diffusivity coefficient is large enough, 416 the field on which it is applied become free of grid-point noise. 417 418 \item[$\bullet$ self-adjoint operator] 419 The iso-neutral diffusion operator is self-adjoint, $i.e.$ 423 420 \begin{equation} \label{eq:Gf_property1} 424 421 \sum_{i,j,k} \left\{ S \ D_l^T \ b_T \right\} = \sum_{i,j,k} \left\{ D_l^S \ T \ b_T \right\} 425 422 \end{equation} 426 In other word, there is no needs to develop a specific routine from the adjoint of this 427 operator. We just have to apply the same routine. This properties can be demonstrated 428 quite easily in a similar way the "non increase of tracer variance" property has been 429 proved (see \autoref{apdx:Gf_operator}).423 In other word, there is no needs to develop a specific routine from the adjoint of this operator. 424 We just have to apply the same routine. 425 This properties can be demonstrated quite easily in a similar way the "non increase of tracer variance" property 426 has been proved (see \autoref{apdx:Gf_operator}). 430 427 \end{description} 431 428 … … 437 434 \subsection{Eddy induced velocity and skew flux formulation} 438 435 439 When Gent and McWilliams [1990] diffusion is used (\key{traldf\_eiv} defined), 440 an additional advection term is added. The associated velocity is the so called441 eddy induced velocity, the formulation of which depends on the slopes of iso- 442 neutral surfaces. Contrary to the case of iso-neutral mixing, the slopes used 443 here are referenced to the geopotential surfaces, $i.e.$ \autoref{eq:ldfslp_geo} 444 is used in $z$-coordinate, and the sum \autoref{eq:ldfslp_geo} 445 + \autoref{eq:ldfslp_iso} in $z^*$ or $s$-coordinates.436 When Gent and McWilliams [1990] diffusion is used (\key{traldf\_eiv} defined), 437 an additional advection term is added. 438 The associated velocity is the so called eddy induced velocity, 439 the formulation of which depends on the slopes of iso-neutral surfaces. 440 Contrary to the case of iso-neutral mixing, the slopes used here are referenced to the geopotential surfaces, 441 $i.e.$ \autoref{eq:ldfslp_geo} is used in $z$-coordinate, 442 and the sum \autoref{eq:ldfslp_geo} + \autoref{eq:ldfslp_iso} in $z^*$ or $s$-coordinates. 446 443 447 444 The eddy induced velocity is given by: … … 456 453 \end{split} 457 454 \end{equation} 458 where $A_{e}$ is the eddy induced velocity coefficient, and $r_i$ and $r_j$ the459 slopes between the iso-neutral and the geopotential surfaces.455 where $A_{e}$ is the eddy induced velocity coefficient, 456 and $r_i$ and $r_j$ the slopes between the iso-neutral and the geopotential surfaces. 460 457 %%gm wrong: to be modified with 2 2D streamfunctions 461 In other words, 462 the eddy induced velocity can be derived from a vector streamfuntion, $\phi$, which 463 is given by $\phi = A_e\,\textbf{r}$ as $\textbf{U}^* = \textbf{k} \times \nabla \phi$ 458 In other words, the eddy induced velocity can be derived from a vector streamfuntion, $\phi$, 459 which is given by $\phi = A_e\,\textbf{r}$ as $\textbf{U}^* = \textbf{k} \times \nabla \phi$. 464 460 %%end gm 465 461 466 A traditional way to implement this additional advection is to add it to the eulerian 467 velocity prior to compute the tracer advection. This allows us to take advantage of 468 all the advection schemes offered for the tracers (see \autoref{sec:TRA_adv}) and not just 469 a $2^{nd}$ order advection scheme. This is particularly useful for passive tracers 470 where \emph{positivity} of the advection scheme is of paramount importance. 462 A traditional way to implement this additional advection is to add it to the eulerian velocity prior to 463 compute the tracer advection. 464 This allows us to take advantage of all the advection schemes offered for the tracers 465 (see \autoref{sec:TRA_adv}) and not just a $2^{nd}$ order advection scheme. 466 This is particularly useful for passive tracers where 467 \emph{positivity} of the advection scheme is of paramount importance. 471 468 % give here the expression using the triads. It is different from the one given in \autoref{eq:ldfeiv} 472 469 % see just below a copy of this equation: … … 490 487 \end{equation} 491 488 492 \citep{Griffies_JPO98} introduces another way to implement the eddy induced advection, 493 the so-called skew form. It is based on a transformation of the advective fluxes 494 using the non-divergent nature of the eddy induced velocity. 495 For example in the (\textbf{i},\textbf{k}) plane, the tracer advective fluxes can be 496 transformed as follows: 489 \citep{Griffies_JPO98} introduces another way to implement the eddy induced advection, the so-called skew form. 490 It is based on a transformation of the advective fluxes using the non-divergent nature of the eddy induced velocity. 491 For example in the (\textbf{i},\textbf{k}) plane, the tracer advective fluxes can be transformed as follows: 497 492 \begin{flalign*} 498 493 \begin{split} … … 519 514 \end{split} 520 515 \end{flalign*} 521 and since the eddy induces velocity field is no-divergent, we end up with the skew522 form of the eddy induced advective fluxes:516 and since the eddy induces velocity field is no-divergent, 517 we end up with the skew form of the eddy induced advective fluxes: 523 518 \begin{equation} \label{eq:eiv_skew_continuous} 524 519 \textbf{F}_{eiv}^T = \begin{pmatrix} … … 527 522 \end{pmatrix} 528 523 \end{equation} 529 The tendency associated with eddy induced velocity is then simply the divergence 530 of the \autoref{eq:eiv_skew_continuous} fluxes. It naturally conserves the tracer 531 content, as it is expressed in flux form and, as the advective form, it preserve the 532 tracer variance. Another interesting property of \autoref{eq:eiv_skew_continuous} 533 form is that when $A=A_e$, a simplification occurs in the sum of the iso-neutral 534 diffusion and eddy induced velocity terms:524 The tendency associated with eddy induced velocity is then simply the divergence of 525 the \autoref{eq:eiv_skew_continuous} fluxes. 526 It naturally conserves the tracer content, as it is expressed in flux form and, 527 as the advective form, it preserves the tracer variance. 528 Another interesting property of \autoref{eq:eiv_skew_continuous} form is that when $A=A_e$, 529 a simplification occurs in the sum of the iso-neutral diffusion and eddy induced velocity terms: 535 530 \begin{flalign} \label{eq:eiv_skew+eiv_continuous} 536 531 \textbf{F}_{iso}^T + \textbf{F}_{eiv}^T &= … … 549 544 \end{pmatrix} 550 545 \end{flalign} 551 The horizontal component reduces to the one use for an horizontal laplacian 552 operator and the vertical one keep the same complexity, but not more. This property 553 has been used to reduce the computational time \citep{Griffies_JPO98}, but it is 554 not of practical use as usually $A \neq A_e$. Nevertheless this property can be used to 555 choose a discret form of \autoref{eq:eiv_skew_continuous} which is consistent with the 556 is o-neutral operator \autoref{eq:Gf_operator}. Using the slopes \autoref{eq:Gf_slopes}557 and defining $A_e$ at $T$-point($i.e.$ as $A$, the eddy diffusivity coefficient),558 the resulting discret form is given by:546 The horizontal component reduces to the one use for an horizontal laplacian operator and 547 the vertical one keeps the same complexity, but not more. 548 This property has been used to reduce the computational time \citep{Griffies_JPO98}, 549 but it is not of practical use as usually $A \neq A_e$. 550 Nevertheless this property can be used to choose a discret form of \autoref{eq:eiv_skew_continuous} which 551 is consistent with the iso-neutral operator \autoref{eq:Gf_operator}. 552 Using the slopes \autoref{eq:Gf_slopes} and defining $A_e$ at $T$-point($i.e.$ as $A$, 553 the eddy diffusivity coefficient), the resulting discret form is given by: 559 554 \begin{equation} \label{eq:eiv_skew} 560 555 \textbf{F}_{eiv}^T \equiv \frac{1}{4} \left( \begin{aligned} … … 569 564 \end{equation} 570 565 Note that \autoref{eq:eiv_skew} is valid in $z$-coordinate with or without partial cells. 571 In $z^*$ or $s$-coordinate, the slope between the level and the geopotential surfaces 572 must be added to$\mathbb{R}$ for the discret form to be exact.573 574 Such a choice of discretisation is consistent with the iso-neutral operator as it uses the575 same definition for the slopes. It also ensures the conservation of the tracer variance 576 (see Appendix \autoref{apdx:eiv_skew}), $i.e.$ it does not include a diffusive component 577 but is a "pure" advection term.566 In $z^*$ or $s$-coordinate, the slope between the level and the geopotential surfaces must be added to 567 $\mathbb{R}$ for the discret form to be exact. 568 569 Such a choice of discretisation is consistent with the iso-neutral operator as 570 it uses the same definition for the slopes. 571 It also ensures the conservation of the tracer variance (see Appendix \autoref{apdx:eiv_skew}), 572 $i.e.$ it does not include a diffusive component but is a "pure" advection term. 578 573 579 574 … … 591 586 This part will be moved in an Appendix. 592 587 593 The continuous property to be demonstrated is 588 The continuous property to be demonstrated is: 594 589 \begin{align*} 595 590 \int_D D_l^T \; T \;dv \leq 0 … … 642 637 % 643 638 \allowdisplaybreaks 644 \intertext{The summation is done over all $i$ and $k$ indices, it is therefore possible to introduce a shift of $-1$ either in $i$ or $k$ direction in order to regroup all the terms of the summation by triad at a ($i$,$k$) point. In other words, we regroup all the terms in the neighbourhood that contain a triad at the same ($i$,$k$) indices. It becomes: } 639 \intertext{The summation is done over all $i$ and $k$ indices, 640 it is therefore possible to introduce a shift of $-1$ either in $i$ or $k$ direction in order to 641 regroup all the terms of the summation by triad at a ($i$,$k$) point. 642 In other words, we regroup all the terms in the neighbourhood that contain a triad at the same ($i$,$k$) indices. 643 It becomes: } 645 644 % 646 645 &\equiv -\sum_{i,k} … … 672 671 % 673 672 \allowdisplaybreaks 674 \intertext{Then outing in factor the triad in each of the four terms of the summation and substituting the triads by their expression given in \autoref{eq:Gf_triads}. It becomes: } 673 \intertext{Then outing in factor the triad in each of the four terms of the summation and 674 substituting the triads by their expression given in \autoref{eq:Gf_triads}. 675 It becomes: } 675 676 % 676 677 &\equiv -\sum_{i,k} … … 710 711 The last inequality is obviously obtained as we succeed in obtaining a negative summation of square quantities. 711 712 712 Note that, if instead of multiplying $D_l^T$ by $T$, we were using another tracer field, let say $S$, then the previous demonstration would have let to: 713 Note that, if instead of multiplying $D_l^T$ by $T$, we were using another tracer field, let say $S$, 714 then the previous demonstration would have let to: 713 715 \begin{align*} 714 716 \int_D S \; D_l^T \;dv &\equiv \sum_{i,k} \left\{ S \ D_l^T \ b_T \right\} \\ … … 729 731 &\equiv \sum_{i,k} \left\{ D_l^S \ T \ b_T \right\} 730 732 \end{align*} 731 This means that the iso-neutral operator is self-adjoint. There is no need to develop a specific to obtain it. 733 This means that the iso-neutral operator is self-adjoint. 734 There is no need to develop a specific to obtain it. 732 735 733 736 … … 745 748 This have to be moved in an Appendix. 746 749 747 The continuous property to be demonstrated is 750 The continuous property to be demonstrated is: 748 751 \begin{align*} 749 752 \int_D \nabla \cdot \textbf{F}_{eiv}(T) \; T \;dv \equiv 0 … … 797 800 \end{matrix} 798 801 \end{align*} 799 The two terms associated with the triad ${_i^k \mathbb{R}_{+1/2}^{+1/2}}$ are the 800 same but of opposite signs,they cancel out.801 Exactly the same thing occurs for the triad ${_i^k \mathbb{R}_{-1/2}^{-1/2}}$. 802 The two terms associated with the triad ${_i^k \mathbb{R}_{+1/2}^{-1/2}}$ are the 803 s ame but both of opposite signs and shifted by 1 in $k$ direction. When summing over $k$804 they cancel out with the neighbouring grid points. 805 Exactly the same thing occurs for the triad ${_i^k \mathbb{R}_{-1/2}^{+1/2}}$ in the 806 $i$ direction. Therefore the sum over the domain is zero, $i.e.$ the variance of the 807 tracer is preserved by the discretisation of the skew fluxes.802 The two terms associated with the triad ${_i^k \mathbb{R}_{+1/2}^{+1/2}}$ are the same but of opposite signs, 803 they cancel out. 804 Exactly the same thing occurs for the triad ${_i^k \mathbb{R}_{-1/2}^{-1/2}}$. 805 The two terms associated with the triad ${_i^k \mathbb{R}_{+1/2}^{-1/2}}$ are the same but both of opposite signs and 806 shifted by 1 in $k$ direction. 807 When summing over $k$ they cancel out with the neighbouring grid points. 808 Exactly the same thing occurs for the triad ${_i^k \mathbb{R}_{-1/2}^{+1/2}}$ in the $i$ direction. 809 Therefore the sum over the domain is zero, 810 $i.e.$ the variance of the tracer is preserved by the discretisation of the skew fluxes. 808 811 809 812 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.