Changeset 1224 for trunk/DOC/TexFiles/Chapters/Chap_TRA.tex
- Timestamp:
- 2008-11-26T14:52:28+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/TexFiles/Chapters/Chap_TRA.tex
r998 r1224 14 14 %STEVEN : is the use of the word "positive" to describe a scheme enough, or should it be "positive definite"? I added a comment to this effect on some instances of this below 15 15 16 \newpage 17 $\ $\newline % force a new ligne 16 %\newpage 17 \vspace{2.cm} 18 %$\ $\newline % force a new ligne 18 19 19 20 Using the representation described in Chap.~\ref{DOM}, several semi-discrete … … 37 38 Bottom Boundary Condition), the contribution from the bottom boundary Layer 38 39 (BBL) parametrisation, and an internal damping (DMP) term. The terms QSR, 39 BBC, BBL and DMP are optional. The external forcings and parameteri zations40 BBC, BBL and DMP are optional. The external forcings and parameterisations 40 41 require complex inputs and complex calculations (e.g. bulk formulae, estimation 41 42 of mixing coefficients) that are carried out in the SBC, LDF and ZDF modules and … … 54 55 55 56 The different options available to the user are managed by namelist logical or 56 CPP keys. For each equation term ttt, the namelist logicals are \textit{ln\_trattt\_xxx},57 CPP keys. For each equation term \textit{ttt}, the namelist logicals are \textit{ln\_trattt\_xxx}, 57 58 where \textit{xxx} is a 3 or 4 letter acronym accounting for each optional scheme. 58 59 The CPP key (when it exists) is \textbf{key\_trattt}. The corresponding code can be … … 62 63 equation for output (\key{trdtra} is defined), as described in Chap.~\ref{MISC}. 63 64 65 $\ $\newline % force a new ligne 64 66 % ================================================================ 65 67 % Tracer Advection … … 75 77 fluxes. Its discrete expression is given by : 76 78 \begin{equation} \label{Eq_tra_adv} 77 ADV_\tau =-\frac{1}{e_{1T} {\kern 1pt}e_{2T} {\kern 1pt}e_{3T} }\left( 78 {\;\delta _i \left[ {e_{2u} {\kern 1pt}e_{3u} {\kern 1pt}\;u\;\tau _u } 79 \right]+\delta _j \left[ {e_{1v} {\kern 1pt}e_{3v} {\kern 1pt}v\;\tau _v } 80 \right]\;} \right)-\frac{1}{\mathop e\nolimits_{3T} }\delta _k \left[ 81 {w\;\tau _w } \right] 82 \end{equation} 83 where $\tau$ is either T or S. In pure $z$-coordinate (\key{zco} is defined), 84 it reduces to : 79 ADV_\tau =-\frac{1}{b_T} \left( 80 \;\delta _i \left[ e_{2u}\,e_{3u} \; u\; \tau _u \right] 81 +\delta _j \left[ e_{1v}\,e_{3v} \; v\; \tau _v \right] \; \right) 82 -\frac{1}{e_{3T}} \;\delta _k \left[ w\; \tau _w \right] 83 \end{equation} 84 where $\tau$ is either T or S, and $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. 85 In pure $z$-coordinate (\key{zco} is defined), it reduces to : 85 86 \begin{equation} \label{Eq_tra_adv_zco} 86 87 ADV_\tau =-\frac{1}{e_{1T} {\kern 1pt}e_{2T} {\kern 1pt}}\left( {\;\delta _i … … 89 90 e\nolimits_{3T} }\delta _k \left[ {w\;\tau _w } \right] 90 91 \end{equation} 91 since the vertical scale factors are functions of $k$ only, and thus $e_{3u}92 =e_{3v} =e_{3T} $. 93 94 The flux form in \eqref{Eq_tra_adv} requires implicitly the use of the continuity equation:95 $\nabla \cdot \left( \vect{U}\,T \right)=\vect{U} \cdot \nabla T$96 (using $\nabla \cdot \vect{U}=0)$ or $\partial _t e_3 + e_3\;\nabla \cdot \vect{U}=0$ 97 in variable volume case ($i.e.$ \key{vvl} defined). Therefore it is of98 paramount importance to design the discrete analogue of the advection99 tendency so that it is consistent with the continuity equation in order to92 since the vertical scale factors are functions of $k$ only, and thus 93 $e_{3u} =e_{3v} =e_{3T} $. The flux form in \eqref{Eq_tra_adv} 94 requires implicitly the use of the continuity equation. Indeed, it is obtained 95 by using the following equality : $\nabla \cdot \left( \vect{U}\,T \right)=\vect{U} \cdot \nabla T$ 96 which results from the use of the continuity equation, $\nabla \cdot \vect{U}=0$ or 97 $\partial _t e_3 + e_3\;\nabla \cdot \vect{U}=0$ in constant (default option) 98 or variable (\key{vvl} defined) volume case, respectively. 99 Therefore it is of paramount importance to design the discrete analogue of the 100 advection tendency so that it is consistent with the continuity equation in order to 100 101 enforce the conservation properties of the continuous equations. In other words, 101 102 by substituting $\tau$ by 1 in (\ref{Eq_tra_adv}) we recover the discrete form of … … 192 193 produce a sensible solution. The associated time-stepping is performed using 193 194 a leapfrog scheme in conjunction with an Asselin time-filter, so $T$ in 194 (\ref{Eq_tra_adv_cen2}) is the \textit{now} tracer value. 195 (\ref{Eq_tra_adv_cen2}) is the \textit{now} tracer value. The centered second 196 order advection is computed in the \mdl{traadv\_cen2} module. In this module, 197 it is also proposed to combine the \textit{cen2} scheme with an upstream scheme 198 in specific areas which requires a strong diffusion in order to avoid the generation 199 of false extrema. These areas are the vicinity of large river mouths, some straits 200 with coarse resolution, and the vicinity of ice cover area ($i.e.$ when the ocean 201 temperature is close to the freezing point). 195 202 196 203 Note that using the cen2 scheme, the overall tracer advection is of second 197 204 order accuracy since both (\ref{Eq_tra_adv}) and (\ref{Eq_tra_adv_cen2}) 198 have this order of accuracy. 205 have this order of accuracy. Note also that 199 206 200 207 % ------------------------------------------------------------------------------------------------------------- … … 223 230 224 231 A direct consequence of the pseudo-fourth order nature of the scheme is that 225 it is not non-diffusive, i.e. the global variance of a tracer is not 226 preserved using \textit{cen4}. Furthermore, it must be used in conjunction with an227 explicit diffusion operator to produce a sensible solution. The228 time-stepping is also performed using a leapfrog scheme in conjunction with229 an Asselin time-filter,so $T$ in (\ref{Eq_tra_adv_cen4}) is the \textit{now} tracer.232 it is not non-diffusive, i.e. the global variance of a tracer is not preserved using 233 \textit{cen4}. Furthermore, it must be used in conjunction with an explicit 234 diffusion operator to produce a sensible solution. The time-stepping is also 235 performed using a leapfrog scheme in conjunction with an Asselin time-filter, 236 so $T$ in (\ref{Eq_tra_adv_cen4}) is the \textit{now} tracer. 230 237 231 238 At a $T$-grid cell adjacent to a boundary (coastline, bottom and surface), an … … 244 251 245 252 In the Total Variance Dissipation (TVD) formulation, the tracer at velocity 246 points is evaluated using a combination of an upstream and a centred scheme. For247 example, in the $i$-direction :253 points is evaluated using a combination of an upstream and a centred scheme. 254 For example, in the $i$-direction : 248 255 \begin{equation} \label{Eq_tra_adv_tvd} 249 256 \begin{split} … … 256 263 \end{split} 257 264 \end{equation} 258 where $c_u$ is a flux limiter function taking values between 0 and 1. There259 exist many ways to define $c_u$, each correcponding to a different total260 variance decreasing scheme. The one chosen in \NEMO is described in265 where $c_u$ is a flux limiter function taking values between 0 and 1. 266 There exist many ways to define $c_u$, each correcponding to a different 267 total variance decreasing scheme. The one chosen in \NEMO is described in 261 268 \citet{Zalesak1979}. $c_u$ only departs from $1$ when the advective term 262 269 produces a local extremum in the tracer field. The resulting scheme is quite … … 264 271 This scheme is tested and compared with MUSCL and the MPDATA scheme in 265 272 \citet{Levy2001}; note that in this paper it is referred to as "FCT" (Flux corrected 266 transport) rather than TVD. 273 transport) rather than TVD. The TVD scheme is computed in the \mdl{traadv\_tvd} module. 267 274 268 275 For stability reasons (see \S\ref{DOM_nxt}), in (\ref{Eq_tra_adv_tvd}) … … 302 309 (\np{ln\_traadv\_muscl2}=.true.). Note that the latter choice does not ensure 303 310 the \textit{positive} character of the scheme. Only the former can be used 304 on both active and passive tracers. 311 on both active and passive tracers. The two MUSCL schemes are computed 312 in the \mdl{traadv\_tvd} and \mdl{traadv\_tvd2} modules. 305 313 306 314 % ------------------------------------------------------------------------------------------------------------- … … 325 333 326 334 This results in a dissipatively dominant (i.e. hyper-diffusive) truncation 327 error \citep{Sacha2005}. The overall performance of the 328 advectionscheme is similar to that reported in \cite{Farrow1995}.329 It is a relatively good compromise between accuracy and smoothness. It is330 not a \emph{positive} scheme, meaning that false extrema are permitted, but the331 amplitude of such are significantly reduced over the centred second order332 method. Nevertheless it is not recommended that it should be applied to a passive333 t racer that requires positivity.335 error \citep{Sacha2005}. The overall performance of the advection 336 scheme is similar to that reported in \cite{Farrow1995}. 337 It is a relatively good compromise between accuracy and smoothness. 338 It is not a \emph{positive} scheme, meaning that false extrema are permitted, 339 but the amplitude of such are significantly reduced over the centred second 340 order method. Nevertheless it is not recommended that it should be applied 341 to a passive tracer that requires positivity. 334 342 335 343 The intrinsic diffusion of UBS makes its use risky in the vertical direction 336 344 where the control of artificial diapycnal fluxes is of paramount importance. 337 Therefore the vertical flux is evaluated using the TVD 338 scheme when\np{ln\_traadv\_ubs}=.true..345 Therefore the vertical flux is evaluated using the TVD scheme when 346 \np{ln\_traadv\_ubs}=.true.. 339 347 340 348 For stability reasons (see \S\ref{DOM_nxt}), in \eqref{Eq_tra_adv_ubs}, … … 343 351 second term (which is the diffusive part of the scheme), is 344 352 evaluated using the \textit{before} tracer (forward in time). 345 This is discussed by \citet{Webb1998} in the context of the Quick 346 advection scheme. UBS and QUICK 347 schemes only differ by one coefficient. Replacing 1/6 with 1/8 in 348 \eqref{Eq_tra_adv_ubs} leads to the QUICK advection scheme 349 \citep{Webb1998}. This option is not available through a namelist 350 parameter, since the 1/6 coefficient is hard coded. Nevertheless 351 it is quite easy to make the substitution in the \mdl{traadv\_ubs} module 352 and obtain a QUICK scheme. 353 This choice is discussed by \citet{Webb1998} in the context of the 354 QUICK advection scheme. UBS and QUICK schemes only differ 355 by one coefficient. Replacing 1/6 with 1/8 in \eqref{Eq_tra_adv_ubs} 356 leads to the QUICK advection scheme \citep{Webb1998}. 357 This option is not available through a namelist parameter, since the 358 1/6 coefficient is hard coded. Nevertheless it is quite easy to make the 359 substitution in the \mdl{traadv\_ubs} module and obtain a QUICK scheme. 353 360 354 361 Note that : 355 362 356 (1) :When a high vertical resolution $O(1m)$ is used, the model stability can363 (1) When a high vertical resolution $O(1m)$ is used, the model stability can 357 364 be controlled by vertical advection (not vertical diffusion which is usually 358 365 solved using an implicit scheme). Computer time can be saved by using a 359 time-splitting technique on vertical advection. This case has been360 implemented and validated in ORCA05 with 301 levels. It is not available in the361 current reference version.362 363 (2) :In a forthcoming release four options will be available for the vertical366 time-splitting technique on vertical advection. Such a technique has been 367 implemented and validated in ORCA05 with 301 levels. It is not available 368 in the current reference version. 369 370 (2) In a forthcoming release four options will be available for the vertical 364 371 component used in the UBS scheme. $\tau _w^{ubs}$ will be evaluated 365 using either \textit{(a)} a centred $2^{nd}$ order scheme 372 using either \textit{(a)} a centred $2^{nd}$ order scheme, or \textit{(b)} 366 373 a TVD scheme, or \textit{(c)} an interpolation based on conservative 367 374 parabolic splines following the \citet{Sacha2005} implementation of UBS … … 369 376 similar to an eighth-order accurate conventional scheme. 370 377 371 following \citet{Sacha2005} implementation of UBS in ROMS, or \textit{(d)} 372 an UBS. The $3^{rd}$ case has dispersion properties similar to an 373 eight-order accurate conventional scheme. 374 375 (3) : It is straightforward to rewrite \eqref{Eq_tra_adv_ubs} as follows: 376 \begin{equation} \label{Eq_tra_adv_ubs2} 377 \tau _u^{ubs} = \left\{ \begin{aligned} 378 & \tau _u^{cen4} + \frac{1}{12} \tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ 379 & \tau _u^{cen4} - \frac{1}{12} \tau"_{i+1} & \quad \text{if }\ u_{i+1/2} < 0 380 \end{aligned} \right. 378 (3) It is straightforward to rewrite \eqref{Eq_tra_adv_ubs} as follows: 379 \begin{equation} \label{Eq_traadv_ubs2} 380 \tau _u^{ubs} = \tau _u^{cen4} + \frac{1}{12} \left\{ 381 \begin{aligned} 382 & + \tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ 383 & - \tau"_{i+1} & \quad \text{if }\ u_{i+1/2} < 0 384 \end{aligned} \right. 381 385 \end{equation} 382 386 or equivalently 383 \begin{equation} \label{Eq_tra _adv_ubs2b}387 \begin{equation} \label{Eq_traadv_ubs2b} 384 388 u_{i+1/2} \ \tau _u^{ubs} 385 389 =u_{i+1/2} \ \overline{ T - \frac{1}{6}\,\delta _i\left[ \delta_{i+1/2}[T] \,\right] }^{\,i+1/2} 386 390 - \frac{1}{2} |u|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] 387 391 \end{equation} 388 \eqref{Eq_tra_adv_ubs2} has several advantages. Firstly, it clearly reveals 392 393 \eqref{Eq_traadv_ubs2} has several advantages. Firstly, it clearly reveals 389 394 that the UBS scheme is based on the fourth order scheme to which an 390 395 upstream-biased diffusion term is added. Secondly, this emphasises that the … … 394 399 coefficient which is simply proportional to the velocity: 395 400 $A_u^{lm}= - \frac{1}{12}\,{e_{1u}}^3\,|u|$. Note that NEMO v2.3 still uses 396 \eqref{Eq_tra_adv_ubs}, not \eqref{Eq_tra _adv_ubs2}. This should be401 \eqref{Eq_tra_adv_ubs}, not \eqref{Eq_traadv_ubs2}. This should be 397 402 changed in forthcoming release. 398 403 %%% … … 411 416 is the third order Godunov scheme. It is associated with the ULTIMATE QUICKEST 412 417 limiter \citep{Leonard1991}. It has been implemented in NEMO by G. Reffray 413 (MERCATOR-ocean). 414 The resulting scheme is quite expensive but \emph{positive}. It can be used on both active and passive tracers. Nevertheless, the intrinsic diffusion of QCK makes its use 415 risky in the vertical direction where the control of artificial diapycnal fluxes is of 416 paramount importance. Therefore the vertical flux is evaluated using the CEN2 417 scheme. This no more ensure the positivity of the scheme. The use of TVD in the 418 vertical direction as for the UBS case should be implemented to maintain the property. 418 (MERCATOR-ocean) and can be found in the \mdl{traadv\_qck} module. 419 The resulting scheme is quite expensive but \emph{positive}. 420 It can be used on both active and passive tracers. 421 Nevertheless, the intrinsic diffusion of QCK makes its use risky in the vertical 422 direction where the control of artificial diapycnal fluxes is of paramount importance. 423 Therefore the vertical flux is evaluated using the CEN2 scheme. 424 This no more ensure the positivity of the scheme. The use of TVD in the vertical 425 direction as for the UBS case should be implemented to maintain the property. 419 426 420 427 … … 430 437 with the ULTIMATE QUICKEST limiter \citep{Leonard1991}. It has been implemented 431 438 in \NEMO by G. Reffray (MERCATOR-ocean) but is not yet offered in the reference 432 version 2.3.439 version 3.0. 433 440 434 441 % ================================================================ … … 447 454 coefficients (either constant or variable in space and time) as well as the 448 455 computation of the slope along which the operators act, are performed in the 449 \mdl{ldftra} and \mdl{ldfslp} modules, respectively. This is described in Chap.~\ref{LDF}. The lateral diffusion of tracers is evaluated using a forward scheme, 456 \mdl{ldftra} and \mdl{ldfslp} modules, respectively. This is described in Chap.~\ref{LDF}. 457 The lateral diffusion of tracers is evaluated using a forward scheme, 450 458 $i.e.$ the tracers appearing in its expression are the \textit{before} tracers in time, 451 459 except for the pure vertical component that appears when a rotation tensor … … 456 464 % Iso-level laplacian operator 457 465 % ------------------------------------------------------------------------------------------------------------- 458 \subsection [Iso-level laplacian operator ( \textit{traldf\_lap} -\np{ln\_traldf\_lap})]459 {Iso-level laplacian operator ( \mdl{traldf\_lap} -\np{ln\_traldf\_lap}=.true.) }466 \subsection [Iso-level laplacian operator (lap) (\np{ln\_traldf\_lap})] 467 {Iso-level laplacian operator (lap) (\np{ln\_traldf\_lap}=.true.) } 460 468 \label{TRA_ldf_lap} 461 469 462 A laplacian diffusion operator ( i.e.a harmonic operator) acting along the model470 A laplacian diffusion operator ($i.e.$ a harmonic operator) acting along the model 463 471 surfaces is given by: 464 472 \begin{equation} \label{Eq_tra_ldf_lap} 465 \begin{split} 466 D_T^{lT} =\frac{1}{e_{1T} \; e_{2T}\; e_{3T} } &\left[ {\quad \delta _i 467 \left[ {A_u^{lT} \left( {\frac{e_{2u} e_{3u} }{e_{1u} }\;\delta _{i+1/2} 468 \left[ T \right]} \right)} \right]} \right. 469 \\ 470 &\ \left. {+\; \delta _j \left[ 471 {A_v^{lT} \left( {\frac{e_{1v} e_{3v} }{e_{2v} }\;\delta _{j+1/2} \left[ T 472 \right]} \right)} \right]\quad } \right] 473 \end{split} 474 \end{equation} 475 476 This lateral operator is a \emph{horizontal} one ($i.e.$ acting along 477 geopotential surfaces) in the $z$-coordinate with or without partial step, 478 but is simply an iso-level operator in the $s$-coordinate. 473 D_T^{lT} =\frac{1}{b_T} \left( \; 474 \delta _{i}\left[ A_u^{lT} \; \frac{e_{2u}\,e_{3u}}{e_{1u}} \;\delta _{i+1/2} [T] \right] 475 + \delta _{j}\left[ A_v^{lT} \; \frac{e_{1v}\,e_{3v}}{e_{2v}} \;\delta _{j+1/2} [T] \right] \;\right) 476 \end{equation} 477 where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. 478 It can be found in the \mdl{traadv\_lap} module. 479 480 This lateral operator is computed in \mdl{traldf\_lap}. It is a \emph{horizontal} 481 operator ($i.e.$ acting along geopotential surfaces) in the $z$-coordinate with 482 or without partial step, but is simply an iso-level operator in the $s$-coordinate. 479 483 It is thus used when, in addition to \np{ln\_traldf\_lap}=.true., we have 480 \np{ln\_traldf\_level}=.true., or both \np{ln\_traldf\_hor}=.true. and481 \np{ln\_zco}=.false.. In both cases, it significantly contributes to482 diapycnal mixing.It is therefore not recommended.484 \np{ln\_traldf\_level}=.true., or \np{ln\_traldf\_hor}=\np{ln\_zco}=.true.. 485 In both cases, it significantly contributes to diapycnal mixing. 486 It is therefore not recommended. 483 487 484 488 Note that 485 ( 1) In pure $z$-coordinate (\key{zco} is defined), $e_{3u}=e_{3v}=e_{3T}$, so486 that the vertical scale factors disappear from (\ref{Eq_tra_ldf_lap}).487 ( 2) In partial step $z$-coordinate (\np{ln\_zps}=.true.), tracers in horizontally489 (a) In pure $z$-coordinate (\key{zco} is defined), $e_{3u}=e_{3v}=e_{3T}$, 490 so that the vertical scale factors disappear from (\ref{Eq_tra_ldf_lap}) ; 491 (b) In partial step $z$-coordinate (\np{ln\_zps}=.true.), tracers in horizontally 488 492 adjacent cells are located at different depths in the vicinity of the bottom. 489 493 In this case, horizontal derivatives in (\ref{Eq_tra_ldf_lap}) at the bottom level … … 494 498 % Rotated laplacian operator 495 499 % ------------------------------------------------------------------------------------------------------------- 496 \subsection [Rotated laplacian operator ( \textit{traldf\_iso} -\np{ln\_traldf\_lap})]497 {Rotated laplacian operator ( \mdl{traldf\_iso} -\np{ln\_traldf\_lap}=.true.)}500 \subsection [Rotated laplacian operator (iso) (\np{ln\_traldf\_lap})] 501 {Rotated laplacian operator (iso) (\np{ln\_traldf\_lap}=.true.)} 498 502 \label{TRA_ldf_iso} 499 503 … … 501 505 (\ref{Eq_PE_zdf}) takes the following semi-discrete space form in $z$- and 502 506 $s$-coordinates: 503 504 507 \begin{equation} \label{Eq_tra_ldf_iso} 505 508 \begin{split} 506 D_T^{lT} =& \frac{1}{e_{1T}\,e_{2T}\,e_{3T} } 507 \\ 508 & \left\{ {\delta _i \left[ {A_u^{lT} \left( 509 {\frac{e_{2u} \; e_{3u} }{e_{1u} } \,\delta _{i+1/2}[T] 510 -e_{2u} \; r_{1u} \,\overline{\overline {\delta _{k+1/2}[T]}}^{\,i+1/2,k}} 511 \right)} \right]} \right. 512 \\ 513 & +\delta 514 _j \left[ {A_v^{lT} \left( {\frac{e_{1v}\,e_{3v} }{e_{2v} 515 }\,\delta _{j+1/2} \left[ T \right]-e_{1v}\,r_{2v} 516 \,\overline{\overline {\delta _{k+1/2} \left[ T \right]}} ^{\,j+1/2,k}} 517 \right)} \right] 518 \\ 519 & +\delta 520 _k \left[ {A_w^{lT} \left( 521 -e_{2w}\,r_{1w} \,\overline{\overline {\delta _{i+1/2} \left[ T \right]}} ^{\,i,k+1/2} 522 \right.} \right. 523 \\ 509 D_T^{lT} = \frac{1}{b_T} & \left\{ \,\;\delta_i \left[ A_u^{lT} \left( 510 \frac{e_{2u}\;e_{3u}}{e_{1u}} \,\delta_{i+1/2}[T] 511 - e_{2u}\;r_{1u} \,\overline{\overline{ \delta_{k+1/2}[T] }}^{\,i+1/2,k} 512 \right) \right] \right. \\ 513 & +\delta_j \left[ A_v^{lT} \left( 514 \frac{e_{1v}\,e_{3v}}{e_{2v}} \,\delta_{j+1/2} [T] 515 - e_{1v}\,r_{2v} \,\overline{\overline{ \delta_{k+1/2} [T] }}^{\,j+1/2,k} 516 \right) \right] \\ 517 & +\delta_k \left[ A_w^{lT} \left( 518 -\;e_{2w}\,r_{1w} \,\overline{\overline{ \delta_{i+1/2} [T] }}^{\,i,k+1/2} 519 \right. \right. \\ 524 520 & \qquad \qquad \quad 525 -e_{1w}\,r_{2w} \,\overline{\overline {\delta _{j+1/2} \left[ T \right]}} ^{\,j,k+1/2} 526 \\ 527 & \left. {\left. { 528 \quad \quad \quad \left. {{\kern 529 1pt}+\frac{e_{1w}\,e_{2w} }{e_{3w} }\,\left( {r_{1w} ^2+r_{2w} ^2} 530 \right)\,\delta _{k+1/2} \left[ T \right]} \right)} \right]\;\;\;} \right\} 521 - e_{1w}\,r_{2w} \,\overline{\overline{ \delta_{j+1/2} [T] }}^{\,j,k+1/2} \\ 522 & \left. {\left. { \qquad \qquad \ \ \ \left. { 523 +\;\frac{e_{1w}\,e_{2w}}{e_{3w}} \,\left( r_{1w}^2 + r_{2w}^2 \right) 524 \,\delta_{k+1/2} [T] } \right) } \right] \quad } \right\} 531 525 \end{split} 532 526 \end{equation} 533 where $r_1$ and $r_2$ are the slopes between the surface of computation 527 where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells, 528 $r_1$ and $r_2$ are the slopes between the surface of computation 534 529 ($z$- or $s$-surfaces) and the surface along which the diffusion operator 535 530 acts ($i.e.$ horizontal or iso-neutral surfaces). It is thus used when, 536 in addition to \np{ln\_traldf\_lap}= .true., we have \np{ln\_traldf\_iso}=.true.,531 in addition to \np{ln\_traldf\_lap}= .true., we have \np{ln\_traldf\_iso}=.true., 537 532 or both \np{ln\_traldf\_hor}=.true. and \np{ln\_zco}=.true.. The way these 538 533 slopes are evaluated is given in \S\ref{LDF_slp}. At the surface, bottom … … 544 539 be solved using the same implicit time scheme as that used in the vertical 545 540 physics (see \S\ref{TRA_zdf}). For computer efficiency reasons, this term 546 is not computed in the \mdl{traldf } module, but in the \mdl{trazdf} module541 is not computed in the \mdl{traldf\_iso} module, but in the \mdl{trazdf} module 547 542 where, if iso-neutral mixing is used, the vertical mixing coefficient is simply 548 543 increased by $\frac{e_{1w}\,e_{2w} }{e_{3w} }\ \left( {r_{1w} ^2+r_{2w} ^2} \right)$. … … 552 547 (see \S\ref{LDF}) allows the model to run safely without any additional 553 548 background horizontal diffusion \citep{Guily2001}. An alternative scheme 554 \citep{Griffies1998} which preserves both tracer and its variance is currently 555 been tested in \NEMO. 549 developed by \cite{Griffies1998} which preserves both tracer and its variance 550 is currently been tested in \NEMO. It should be available in a forthcoming 551 release. 556 552 557 553 Note that in the partial step $z$-coordinate (\np{ln\_zps}=.true.), the horizontal … … 562 558 % Iso-level bilaplacian operator 563 559 % ------------------------------------------------------------------------------------------------------------- 564 \subsection [Iso-level bilaplacian operator ( \textit{traldf\_bilap} -\np{ln\_traldf\_bilap})]565 {Iso-level bilaplacian operator ( \mdl{traldf\_bilap} -\np{ln\_traldf\_bilap}=.true.)}560 \subsection [Iso-level bilaplacian operator (bilap) (\np{ln\_traldf\_bilap})] 561 {Iso-level bilaplacian operator (bilap) (\np{ln\_traldf\_bilap}=.true.)} 566 562 \label{TRA_ldf_bilap} 567 563 … … 569 565 applying (\ref{Eq_tra_ldf_lap}) twice. It requires an additional assumption 570 566 on boundary conditions: the first and third derivative terms normal to the 571 coast are set to zero. 572 573 It is used when, in addition to \np{ln\_traldf\_bilap}=.true., we have 574 \np{ln\_traldf\_level}=.true., or both \np{ln\_traldf\_hor}=.true. and 567 coast are set to zero. It is used when, in addition to \np{ln\_traldf\_bilap}=.true., 568 we have \np{ln\_traldf\_level}=.true., or both \np{ln\_traldf\_hor}=.true. and 575 569 \np{ln\_zco}=.false.. In both cases, it can contribute diapycnal mixing, 576 570 although less than in the laplacian case. It is therefore not recommended. 577 571 578 572 Note that in the code, the bilaplacian routine does not call the laplacian 579 routine twice but is rather a separate routine. This is due to the fact that we 580 introduce the eddy diffusivity coefficient, A, in the operator as: $\nabla 581 \cdot \nabla \left( {A\nabla \cdot \nabla T} \right)$, instead of 582 $-\nabla \cdot a\nabla \left( {\nabla \cdot a\nabla T} \right)$ where 583 $a=\sqrt{|A|}$ and $A<0$. This was a mistake: both formulations 584 ensure the total variance decrease, but the former requires a larger number 585 of code-lines. It will be corrected in a forthcoming release. 573 routine twice but is rather a separate routine that can be found in the 574 \mdl{traldf\_bilap} module. This is due to the fact that we introduce the 575 eddy diffusivity coefficient, A, in the operator as: 576 $\nabla \cdot \nabla \left( {A\nabla \cdot \nabla T} \right)$, 577 instead of 578 $-\nabla \cdot a\nabla \left( {\nabla \cdot a\nabla T} \right)$ 579 where $a=\sqrt{|A|}$ and $A<0$. This was a mistake: both formulations 580 ensure the total variance decrease, but the former requires a larger 581 number of code-lines. It will be corrected in a forthcoming release. 586 582 587 583 % ------------------------------------------------------------------------------------------------------------- 588 584 % Rotated bilaplacian operator 589 585 % ------------------------------------------------------------------------------------------------------------- 590 \subsection [Rotated bilaplacian operator ( \textit{traldf\_bilapg} -\np{ln\_traldf\_bilap})]591 {Rotated bilaplacian operator ( \mdl{traldf\_bilapg} -\np{ln\_traldf\_bilap}=.true.)}586 \subsection [Rotated bilaplacian operator (bilapg) (\np{ln\_traldf\_bilap})] 587 {Rotated bilaplacian operator (bilapg) (\np{ln\_traldf\_bilap}=.true.)} 592 588 \label{TRA_ldf_bilapg} 593 589 … … 595 591 applying (\ref{Eq_tra_ldf_iso}) twice. It requires an additional assumption 596 592 on boundary conditions: first and third derivative terms normal to the 597 coast, the bottom and the surface are set to zero. 598 599 It is used when, in addition to \np{ln\_traldf\_bilap}=T, we have 600 \np{ln\_traldf\_iso}=T, or both \np{ln\_traldf\_hor}=T and \np{ln\_zco}=T. 593 coast, the bottom and the surface are set to zero. It can be found in the 594 \mdl{traldf\_bilapg}. 595 596 It is used when, in addition to \np{ln\_traldf\_bilap}=.true., we have 597 \np{ln\_traldf\_iso}= .true, or both \np{ln\_traldf\_hor}=.true. and \np{ln\_zco}=.true.. 601 598 Nevertheless, this rotated bilaplacian operator has never been seriously 602 599 tested. No warranties that it is neither free of bugs or correctly formulated. … … 619 616 The vertical diffusion operator given by (\ref{Eq_PE_zdf}) takes the 620 617 following semi-discrete space form: 621 (\ref{Eq_PE_zdf}) takes the following semi-discrete space form:622 618 \begin{equation} \label{Eq_tra_zdf} 623 619 \begin{split} 624 D^{vT}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ 625 \frac{A^{vT}_w}{e_{3w}} \delta_{k+1/2}[T] \right] 620 D^{vT}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ \;\frac{A^{vT}_w}{e_{3w}} \delta_{k+1/2}[T] \;\right] 626 621 \\ 627 D^{vS}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ 628 \frac{A^{vS}_w}{e_{3w}} \delta_{k+1/2}[S] \right] 622 D^{vS}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ \;\frac{A^{vS}_w}{e_{3w}} \delta_{k+1/2}[S] \;\right] 629 623 \end{split} 630 624 \end{equation} 631 632 625 where $A_w^{vT}$ and $A_w^{vS}$ are the vertical eddy diffusivity 633 coefficients on Temperature and Salinity, respectively. Generally,626 coefficients on temperature and salinity, respectively. Generally, 634 627 $A_w^{vT}=A_w^{vS}$ except when double diffusive mixing is 635 parameterised ( \key{zdfddm} is defined). The way these coefficients628 parameterised ($i.e.$ \key{zdfddm} is defined). The way these coefficients 636 629 are evaluated is given in \S\ref{ZDF} (ZDF). Furthermore, when 637 630 iso-neutral mixing is used, both mixing coefficients are increased … … 640 633 641 634 At the surface and bottom boundaries, the turbulent fluxes of 642 momentum, heat and salt must be specified. At the surface they643 are prescribed from the surface forcing(see \S\ref{TRA_sbc}),635 heat and salt must be specified. At the surface they are prescribed 636 from the surface forcing and added in a dedicated routine (see \S\ref{TRA_sbc}), 644 637 whilst at the bottom they are set to zero for heat and salt unless 645 638 a geothermal flux forcing is prescribed as a bottom boundary 646 condition ( \S\ref{TRA_bbc}).639 condition (see \S\ref{TRA_bbc}). 647 640 648 641 The large eddy coefficient found in the mixed layer together with high … … 712 705 \end{aligned} 713 706 \end{equation} 714 715 707 where EMP is the freshwater budget (evaporation minus precipitation 716 708 minus river runoff) which forces the ocean volume, $Q_{ns}$ is the … … 722 714 (except for the effect of the Asselin filter). 723 715 724 %AMT note: the ice-ocean flux had been forgotten in the first release of the key_vvl option, has this been corrected in the code? 716 %AMT note: the ice-ocean flux had been forgotten in the first release of the key_vvl option, has this been corrected in the code? ===> gm : NO to be added at NOCS 725 717 726 718 In the second case (linear free surface), the vertical scale factors are … … 729 721 temperature of precipitation and runoffs, $F_{wf}^e +F_{wf}^i =0$ 730 722 for temperature. The resulting forcing term for temperature is: 731 732 723 \begin{equation} \label{Eq_tra_forcing_q} 733 724 F^T=\frac{Q_{ns} }{\rho _o \;C_p \,e_{3T} } … … 779 770 \end{equation} 780 771 781 where $I$ is the downward irradiance. The additional term in \eqref{Eq_PE_qsr} is discretized as follows: 772 where $I$ is the downward irradiance. The additional term in \eqref{Eq_PE_qsr} 773 is discretized as follows: 782 774 \begin{equation} \label{Eq_tra_qsr} 783 775 \frac{1}{\rho_o\, C_p \,e_3} \; \frac{\partial I}{\partial k} \equiv \frac{1}{\rho_o\, C_p\, e_{3T}} \delta_k \left[ I_w \right] … … 796 788 \gmcomment : Jerlov reference to be added 797 789 % 798 classification: $\xi_1 = 0.35 m$, $\xi_2 = 0.23m$ and $R = 0.58$790 classification: $\xi_1 = 0.35~m$, $\xi_2 = 23~m$ and $R = 0.58$ 799 791 (corresponding to \np{xsi1}, \np{xsi2} and \np{rabs} namelist parameters, 800 792 respectively). $I$ is masked (no flux through the ocean bottom), … … 837 829 \begin{figure}[!t] \label{Fig_geothermal} \begin{center} 838 830 \includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_TRA_geoth.pdf} 839 \caption{Geothermal Heat flux (in $mW.m^{-2}$) as inferred from the age840 of the sea floor and the formulae of \citet{Stein1992}.}831 \caption{Geothermal Heat flux (in $mW.m^{-2}$) used by \cite{Emile-Geay_Madec_OSD08}. 832 It is inferred from the age of the sea floor and the formulae of \citet{Stein1992}.} 841 833 \end{center} \end{figure} 842 834 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 845 837 the ocean bottom, $i.e.$ a no flux boundary condition is applied on active 846 838 tracers at the bottom. This is the default option in \NEMO, and it is 847 implemented using the masking technique. Ho ever, there is a839 implemented using the masking technique. However, there is a 848 840 non-zero heat flux across the seafloor that is associated with solid 849 841 earth cooling. This flux is weak compared to surface fluxes (a mean 850 842 global value of $\sim0.1\;W/m^2$ \citep{Stein1992}), but it is 851 systematically positive and acts on the densest water masses. Taking852 this flux into account in a global ocean model increases853 the deepest overturning cell ( i.e.the one associated with the Antarctic854 Bottom Water) by a few Sverdrups .843 systematically positive and acts on the densest water masses. 844 Taking this flux into account in a global ocean model increases 845 the deepest overturning cell ($i.e.$ the one associated with the Antarctic 846 Bottom Water) by a few Sverdrups \citep{Emile-Geay_Madec_OSD08}. 855 847 856 848 The presence or not of geothermal heating is controlled by the namelist … … 886 878 a sill \citep{Willebrand2001}, and the thickness of the plume is not resolved. 887 879 888 The idea of the bottom boundary layer (BBL) parameteri zation first introduced by880 The idea of the bottom boundary layer (BBL) parameterisation first introduced by 889 881 \citet{BeckDos1998} is to allow a direct communication between 890 882 two adjacent bottom cells at different levels, whenever the densest water is … … 933 925 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 934 926 \begin{figure}[!t] \label{Fig_bbl} \begin{center} 935 \includegraphics[width= 1.0\textwidth]{./TexFiles/Figures/Fig_BBL_adv.pdf}927 \includegraphics[width=0.8\textwidth]{./TexFiles/Figures/Fig_BBL_adv.pdf} 936 928 \caption{Advective Bottom Boundary Layer.} 937 929 \end{center} \end{figure} … … 1047 1039 \end{split} 1048 1040 \end{equation} 1049 1050 1041 where $\text{RHS}_T$ is the right hand side of the temperature equation, 1051 1042 the subscript $f$ denotes filtered values and $\gamma$ is the Asselin … … 1093 1084 the practical salinity (another \NEMO variable) and the pressure (assuming no 1094 1085 pressure variation along geopotential surfaces, i.e. the pressure in decibars is 1095 approximated by the depth in meters). Both the \citet{UNESCO1983} and \citet{JackMcD1995} equations of state have exactly the same except that 1086 approximated by the depth in meters). Both the \citet{UNESCO1983} and 1087 \citet{JackMcD1995} equations of state have exactly the same except that 1096 1088 the values of the various coefficients have been adjusted by \citet{JackMcD1995} 1097 1089 in order to directly use the \textit{potential} temperature instead of the … … 1194 1186 \begin{equation} \label{Eq_tra_eos_fzp} 1195 1187 \begin{split} 1196 T_f (S,p) &= \left( -0.0575 + 1.710523 \;10^{-3} \, \sqrt{S}1188 T_f (S,p) = \left( -0.0575 + 1.710523 \;10^{-3} \, \sqrt{S} 1197 1189 - 2.154996 \;10^{-4} \,S \right) \ S \\ 1198 & - 7.53\,10^{-3}\,p1190 - 7.53\,10^{-3} \ \ p 1199 1191 \end{split} 1200 1192 \end{equation}
Note: See TracChangeset
for help on using the changeset viewer.