Changeset 11597
- Timestamp:
- 2019-09-25T20:20:19+02:00 (5 years ago)
- Location:
- NEMO/trunk/doc/latex/NEMO/subfiles
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_DOMAINcfg.tex
r11596 r11597 8 8 \vfill 9 9 \begin{figure}[b] 10 %% ================================================================================================= 10 11 \subsubsection*{Changes record} 11 12 \begin{tabular}{m{0.08\linewidth}||m{0.32\linewidth}|m{0.6\linewidth}} … … 30 31 of those described elsewhere in this manual. 31 32 33 %% ================================================================================================= 32 34 \section{Choice of horizontal grid} 33 35 \label{sec:DOMCFG_hor} 34 36 35 %--------------------------------------------namdom-------------------------------------------------------36 37 37 38 \begin{listing} … … 40 41 \label{lst:namdom_domcfg} 41 42 \end{listing} 42 %--------------------------------------------------------------------------------------------------------------43 43 44 44 The user has three options available in defining a horizontal grid, which involve the … … 94 94 (and the number of grid points). 95 95 96 %% ================================================================================================= 96 97 \section{Vertical grid} 97 98 \label{sec:DOMCFG_vert} 98 99 100 %% ================================================================================================= 99 101 \subsection{Vertical reference coordinate} 100 102 \label{sec:DOMCFG_zref} … … 289 291 %% % Meter Bathymetry 290 292 %% % ------------------------------------------------------------------------------------------------------------- 293 %% ================================================================================================= 291 294 \subsection{Model bathymetry} 292 295 \label{subsec:DOMCFG_bathy} … … 317 320 \end{description} 318 321 322 %% ================================================================================================= 319 323 \subsection{Choice of vertical grid} 320 324 \label{sec:DOMCFG_vgrd} … … 337 341 %%% 338 342 343 %% ================================================================================================= 339 344 \subsubsection[$Z$-coordinate with uniform thickness levels (\forcode{ln_zco})]{$Z$-coordinate with uniform thickness levels (\protect\np{ln_zco}{ln\_zco})} 340 345 \label{subsec:DOMCFG_zco} … … 346 351 rarely used in modern simulations but it can be useful for testing purposes. 347 352 353 %% ================================================================================================= 348 354 \subsubsection[$Z$-coordinate with partial step (\forcode{ln_zps})]{$Z$-coordinate with partial step (\protect\np{ln_zps}{ln\_zps})} 349 355 \label{subsec:DOMCFG_zps} … … 373 379 the default thickness $e_{3t}(jk)$). 374 380 381 %% ================================================================================================= 375 382 \subsubsection[$S$-coordinate (\forcode{ln_sco})]{$S$-coordinate (\protect\np{ln_sco}{ln\_sco})} 376 383 \label{sec:DOMCFG_sco} 377 %------------------------------------------nam_zgr_sco---------------------------------------------------378 384 % 379 385 \begin{listing} … … 382 388 \label{lst:namzgr_sco_domcfg} 383 389 \end{listing} 384 %--------------------------------------------------------------------------------------------------------------385 390 Options are defined in \nam{zgr_sco}{zgr\_sco} (\texttt{DOMAINcfg} only). 386 391 In $s$-coordinate (\np[=.true.]{ln_sco}{ln\_sco}), the depth and thickness of the model levels are defined from … … 519 524 and is output as part of the model mesh file at the start of the run. 520 525 526 %% ================================================================================================= 521 527 \subsubsection[\zstar- or \sstar-coordinate (\forcode{ln_linssh})]{\zstar- or \sstar-coordinate (\protect\np{ln_linssh}{ln\_linssh})} 522 528 \label{subsec:DOMCFG_zgr_star} -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_algos.tex
r11596 r11597 9 9 This appendix some on going consideration on algorithms used or planned to be used in \NEMO. 10 10 11 %% ================================================================================================= 11 12 \section{Upstream Biased Scheme (UBS) (\protect\np[=.true.]{ln_traadv_ubs}{ln\_traadv\_ubs})} 12 13 \label{sec:ALGOS_tra_adv_ubs} … … 180 181 which leads to ${A_u^{lT}} = \frac{1}{12} {e_{1u}}^3\ |u|$ 181 182 183 %% ================================================================================================= 182 184 \section{Leapfrog energetic} 183 185 \label{sec:ALGOS_LF} … … 233 235 In time this boundary condition is not physical and \textbf{add something here!!!} 234 236 237 %% ================================================================================================= 235 238 \section{Lateral diffusion operator} 236 239 240 %% ================================================================================================= 237 241 \subsection{Griffies iso-neutral diffusion operator} 238 242 … … 426 430 \end{description} 427 431 432 %% ================================================================================================= 428 433 \subsection{Eddy induced velocity and skew flux formulation} 429 434 … … 579 584 580 585 $\ $\newpage %force an empty line 586 %% ================================================================================================= 581 587 \subsection{Discrete invariants of the iso-neutral diffrusion} 582 588 \label{subsec:ALGOS_Gf_operator} … … 741 747 There is no need to develop a specific to obtain it. 742 748 749 %% ================================================================================================= 743 750 \subsection{Discrete invariants of the skew flux formulation} 744 751 \label{subsec:ALGOS_eiv_skew} -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_diff_opers.tex
r11596 r11597 7 7 \chaptertoc 8 8 9 %% ================================================================================================= 9 10 \section{Horizontal/Vertical $2^{nd}$ order tracer diffusive operators} 10 11 \label{sec:DIFFOPERS_1} 11 12 13 %% ================================================================================================= 12 14 \subsubsection*{In z-coordinates} 13 15 … … 22 24 \end{align} 23 25 26 %% ================================================================================================= 24 27 \subsubsection*{In generalized vertical coordinates} 25 28 … … 148 151 %\addtocounter{equation}{-2} 149 152 153 %% ================================================================================================= 150 154 \section{Iso/Diapycnal $2^{nd}$ order tracer diffusive operators} 151 155 \label{sec:DIFFOPERS_2} 152 156 157 %% ================================================================================================= 153 158 \subsubsection*{In z-coordinates} 154 159 … … 252 257 the property becomes obvious. 253 258 259 %% ================================================================================================= 254 260 \subsubsection*{In generalized vertical coordinates} 255 261 … … 309 315 \autoref{sec:DIFFOPERS_1} onto $s$-coordinates is exact, however steep the $s$-surfaces. 310 316 317 %% ================================================================================================= 311 318 \section{Lateral/Vertical momentum diffusive operators} 312 319 \label{sec:DIFFOPERS_3} -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_invariants.tex
r11596 r11597 12 12 %\gmcomment{ 13 13 14 %% ================================================================================================= 14 15 \section{Introduction / Notations} 15 16 \label{sec:INVARIANTS_0} … … 85 86 \end{flalign} 86 87 88 %% ================================================================================================= 87 89 \section{Continuous conservation} 88 90 \label{sec:INVARIANTS_1} … … 311 313 % 312 314 315 %% ================================================================================================= 313 316 \section{Discrete total energy conservation: vector invariant form} 314 317 \label{sec:INVARIANTS_2} 315 318 319 %% ================================================================================================= 316 320 \subsection{Total energy conservation} 317 321 \label{subsec:INVARIANTS_KE+PE_vect} … … 337 341 leads to the discrete equivalent of the four equations \autoref{eq:INVARIANTS_E_tot_flux}. 338 342 343 %% ================================================================================================= 339 344 \subsection{Vorticity term (coriolis + vorticity part of the advection)} 340 345 \label{subsec:INVARIANTS_vor} … … 343 348 or the planetary ($q=f/e_{3f}$), or the total potential vorticity ($q=(\zeta +f) /e_{3f}$). 344 349 Two discretisation of the vorticity term (ENE and EEN) allows the conservation of the kinetic energy. 350 %% ================================================================================================= 345 351 \subsubsection{Vorticity term with ENE scheme (\protect\np[=.true.]{ln_dynvor_ene}{ln\_dynvor\_ene})} 346 352 \label{subsec:INVARIANTS_vorENE} … … 380 386 In other words, the domain averaged kinetic energy does not change due to the vorticity term. 381 387 388 %% ================================================================================================= 382 389 \subsubsection{Vorticity term with EEN scheme (\protect\np[=.true.]{ln_dynvor_een}{ln\_dynvor\_een})} 383 390 \label{subsec:INVARIANTS_vorEEN_vect} … … 449 456 \end{flalign*} 450 457 458 %% ================================================================================================= 451 459 \subsubsection{Gradient of kinetic energy / Vertical advection} 452 460 \label{subsec:INVARIANTS_zad} … … 556 564 Blah blah required on the the step representation of bottom topography..... 557 565 566 %% ================================================================================================= 558 567 \subsection{Pressure gradient term} 559 568 \label{subsec:INVARIANTS_2.6} … … 698 707 Nevertheless, it is almost never satisfied since a linear equation of state is rarely used. 699 708 709 %% ================================================================================================= 700 710 \section{Discrete total energy conservation: flux form} 701 711 \label{sec:INVARIANTS_3} 702 712 713 %% ================================================================================================= 703 714 \subsection{Total energy conservation} 704 715 \label{subsec:INVARIANTS_KE+PE_flux} … … 721 732 vector invariant or in flux form, leads to the discrete equivalent of the ???? 722 733 734 %% ================================================================================================= 723 735 \subsection{Coriolis and advection terms: flux form} 724 736 \label{subsec:INVARIANTS_3.2} 725 737 738 %% ================================================================================================= 726 739 \subsubsection{Coriolis plus ``metric'' term} 727 740 \label{subsec:INVARIANTS_3.3} … … 742 755 The derivation is the same as for the vorticity term in the vector invariant form (\autoref{subsec:INVARIANTS_vor}). 743 756 757 %% ================================================================================================= 744 758 \subsubsection{Flux form advection} 745 759 \label{subsec:INVARIANTS_3.4} … … 820 834 The horizontal kinetic energy is not conserved, but forced to decay (\ie\ the scheme is diffusive). 821 835 836 %% ================================================================================================= 822 837 \section{Discrete enstrophy conservation} 823 838 \label{sec:INVARIANTS_4} 824 839 840 %% ================================================================================================= 825 841 \subsubsection{Vorticity term with ENS scheme (\protect\np[=.true.]{ln_dynvor_ens}{ln\_dynvor\_ens})} 826 842 \label{subsec:INVARIANTS_vorENS} … … 889 905 The later equality is obtain only when the flow is horizontally non-divergent, \ie\ $\chi$=$0$. 890 906 907 %% ================================================================================================= 891 908 \subsubsection{Vorticity Term with EEN scheme (\protect\np[=.true.]{ln_dynvor_een}{ln\_dynvor\_een})} 892 909 \label{subsec:INVARIANTS_vorEEN} … … 959 976 \end{flalign*} 960 977 978 %% ================================================================================================= 961 979 \section{Conservation properties on tracers} 962 980 \label{sec:INVARIANTS_5} … … 972 990 as the equation of state is non linear with respect to $T$ and $S$. 973 991 In practice, the mass is conserved to a very high accuracy. 992 %% ================================================================================================= 974 993 \subsection{Advection term} 975 994 \label{subsec:INVARIANTS_5.1} … … 1035 1054 which is the discrete form of $ \frac{1}{2} \int_D { T^2 \frac{1}{e_3} \frac{\partial e_3 }{\partial t} \;dv }$. 1036 1055 1056 %% ================================================================================================= 1037 1057 \section{Conservation properties on lateral momentum physics} 1038 1058 \label{sec:INVARIANTS_dynldf_properties} … … 1053 1073 the term associated with the horizontal gradient of the divergence is locally zero. 1054 1074 1075 %% ================================================================================================= 1055 1076 \subsection{Conservation of potential vorticity} 1056 1077 \label{subsec:INVARIANTS_6.1} … … 1084 1105 \end{flalign*} 1085 1106 1107 %% ================================================================================================= 1086 1108 \subsection{Dissipation of horizontal kinetic energy} 1087 1109 \label{subsec:INVARIANTS_6.2} … … 1133 1155 \] 1134 1156 1157 %% ================================================================================================= 1135 1158 \subsection{Dissipation of enstrophy} 1136 1159 \label{subsec:INVARIANTS_6.3} … … 1154 1177 \end{flalign*} 1155 1178 1179 %% ================================================================================================= 1156 1180 \subsection{Conservation of horizontal divergence} 1157 1181 \label{subsec:INVARIANTS_6.4} … … 1178 1202 \end{flalign*} 1179 1203 1204 %% ================================================================================================= 1180 1205 \subsection{Dissipation of horizontal divergence variance} 1181 1206 \label{subsec:INVARIANTS_6.5} … … 1201 1226 \end{flalign*} 1202 1227 1228 %% ================================================================================================= 1203 1229 \section{Conservation properties on vertical momentum physics} 1204 1230 \label{sec:INVARIANTS_7} … … 1369 1395 \end{flalign*} 1370 1396 1397 %% ================================================================================================= 1371 1398 \section{Conservation properties on tracer physics} 1372 1399 \label{sec:INVARIANTS_8} … … 1378 1405 As for the advection term, there is conservation of mass only if the Equation Of Seawater is linear. 1379 1406 1407 %% ================================================================================================= 1380 1408 \subsection{Conservation of tracers} 1381 1409 \label{subsec:INVARIANTS_8.1} … … 1408 1436 In fact, this property simply results from the flux form of the operator. 1409 1437 1438 %% ================================================================================================= 1410 1439 \subsection{Dissipation of tracer variance} 1411 1440 \label{subsec:INVARIANTS_8.2} -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_s_coord.tex
r11596 r11597 10 10 \vfill 11 11 \begin{figure}[b] 12 %% ================================================================================================= 12 13 \subsubsection*{Changes record} 13 14 \begin{tabular}{l||l|m{0.65\linewidth}} … … 18 19 \end{figure} 19 20 21 %% ================================================================================================= 20 22 \section{Chain rule for $s-$coordinates} 21 23 \label{sec:SCOORD_chain} … … 112 114 \end{equation} 113 115 116 %% ================================================================================================= 114 117 \section{Continuity equation in $s-$coordinates} 115 118 \label{sec:SCOORD_continuity} … … 227 230 the contribution of the time variation of the vertical coordinate to the volume budget. 228 231 232 %% ================================================================================================= 229 233 \section{Momentum equation in $s-$coordinate} 230 234 \label{sec:SCOORD_momentum} … … 554 558 \ie\ the volume flux across the moving $s$-surfaces per unit horizontal area. 555 559 560 %% ================================================================================================= 556 561 \section{Tracer equation} 557 562 \label{sec:SCOORD_tracer} -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_triads.tex
r11596 r11597 17 17 \chaptertoc 18 18 19 %% ================================================================================================= 19 20 \section[Choice of \forcode{namtra\_ldf} namelist parameters]{Choice of \protect\nam{tra_ldf}{tra\_ldf} namelist parameters} 20 %-----------------------------------------nam_traldf------------------------------------------------------ 21 22 %--------------------------------------------------------------------------------------------------------- 21 23 22 24 23 Two scheme are available to perform the iso-neutral diffusion. … … 63 62 \end{description} 64 63 64 %% ================================================================================================= 65 65 \section{Triad formulation of iso-neutral diffusion} 66 66 \label{sec:TRIADS_iso} … … 69 69 but formulated within the \NEMO\ framework, using scale factors rather than grid-sizes. 70 70 71 %% ================================================================================================= 71 72 \subsection{Iso-neutral diffusion operator} 72 73 … … 156 157 is evaluated at $w$-points but involves horizontal gradients defined at $u$-points. 157 158 159 %% ================================================================================================= 158 160 \subsection{Standard discretization} 159 161 … … 187 189 (\ie\ they enter the computation of density), but it does not work for a passive tracer. 188 190 191 %% ================================================================================================= 189 192 \subsection{Expression of the skew-flux in terms of triad slopes} 190 193 … … 282 285 and in \autoref{eq:TRIADS_i31} $a'_{1}={\:}_i^k{\mathbb{A}_w}_{1/2}^{1/2}$. 283 286 287 %% ================================================================================================= 284 288 \subsection{Full triad fluxes} 285 289 … … 365 369 \end{flalign} 366 370 371 %% ================================================================================================= 367 372 \subsection{Ensuring the scheme does not increase tracer variance} 368 373 \label{subsec:TRIADS_variance} … … 462 467 \] 463 468 469 %% ================================================================================================= 464 470 \subsection{Triad volumes in Griffes's scheme and in \NEMO} 465 471 … … 490 496 we can replace $\overline{A}_{\,i+1/2}^k$ by $A_{i+1/2}^k$ in the above. 491 497 498 %% ================================================================================================= 492 499 \subsection{Summary of the scheme} 493 500 … … 625 632 \end{description} 626 633 634 %% ================================================================================================= 627 635 \subsection{Treatment of the triads at the boundaries} 628 636 \label{sec:TRIADS_iso_bdry} … … 673 681 % >>>>>>>>>>>>>>>>>>>>>>>>>>>> 674 682 683 %% ================================================================================================= 675 684 \subsection{ Limiting of the slopes within the interior} 676 685 \label{sec:TRIADS_limit} … … 701 710 and so acts to reduce gravitational potential energy. 702 711 712 %% ================================================================================================= 703 713 \subsection{Tapering within the surface mixed layer} 704 714 \label{sec:TRIADS_taper} … … 707 717 When the Griffies triads are used, we offer two options for this. 708 718 719 %% ================================================================================================= 709 720 \subsubsection{Linear slope tapering within the surface mixed layer} 710 721 \label{sec:TRIADS_lintaper} … … 822 833 % >>>>>>>>>>>>>>>>>>>>>>>>>>>> 823 834 835 %% ================================================================================================= 824 836 \subsubsection{Additional truncation of skew iso-neutral flux components} 825 837 \label{subsec:TRIADS_Gerdes-taper} … … 864 876 % This may give strange looking results, 865 877 % particularly where the mixed-layer depth varies strongly laterally. 878 %% ================================================================================================= 866 879 \section{Eddy induced advection formulated as a skew flux} 867 880 \label{sec:TRIADS_skew-flux} 868 881 882 %% ================================================================================================= 869 883 \subsection{Continuous skew flux formulation} 870 884 \label{sec:TRIADS_continuous-skew-flux} … … 975 989 Since it has the same divergence as the advective form it also preserves the tracer variance. 976 990 991 %% ================================================================================================= 977 992 \subsection{Discrete skew flux formulation} 978 993 … … 1017 1032 It also ensures the following two key properties. 1018 1033 1034 %% ================================================================================================= 1019 1035 \subsubsection{No change in tracer variance} 1020 1036 … … 1039 1055 Hence the two fluxes associated with each triad make no net contribution to the variance budget. 1040 1056 1057 %% ================================================================================================= 1041 1058 \subsubsection{Reduction in gravitational PE} 1042 1059 … … 1093 1110 \beta_i^k\delta_{k+ k_p}[S^i]<0$, this PE change is negative. 1094 1111 1112 %% ================================================================================================= 1095 1113 \subsection{Treatment of the triads at the boundaries} 1096 1114 \label{sec:TRIADS_skew_bdry} … … 1104 1122 The namelist parameter \np{ln_botmix_triad}{ln\_botmix\_triad} has no effect on the eddy-induced skew-fluxes. 1105 1123 1124 %% ================================================================================================= 1106 1125 \subsection{Limiting of the slopes within the interior} 1107 1126 \label{sec:TRIADS_limitskew} … … 1111 1130 Each individual triad \rtriadt{R} is so limited. 1112 1131 1132 %% ================================================================================================= 1113 1133 \subsection{Tapering within the surface mixed layer} 1114 1134 \label{sec:TRIADS_taperskew} … … 1131 1151 (the horizontal flux convergence is relatively insignificant within the mixed-layer). 1132 1152 1153 %% ================================================================================================= 1133 1154 \subsection{Streamfunction diagnostics} 1134 1155 \label{sec:TRIADS_sfdiag} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_ASM.tex
r11596 r11597 9 9 \vfill 10 10 \begin{figure}[b] 11 %% ================================================================================================= 11 12 \subsubsection*{Changes record} 12 13 \begin{tabular}{l||l|m{0.65\linewidth}} … … 27 28 %=============================================================== 28 29 30 %% ================================================================================================= 29 31 \section{Direct initialization} 30 32 \label{sec:ASM_DI} … … 34 36 DI is used when \np{ln_asmdin}{ln\_asmdin} is set to true. 35 37 38 %% ================================================================================================= 36 39 \section{Incremental analysis updates} 37 40 \label{sec:ASM_IAU} … … 92 95 %========================================================================== 93 96 % Divergence damping description %%% 97 %% ================================================================================================= 94 98 \section{Divergence damping initialisation} 95 99 \label{sec:ASM_div_dmp} … … 135 139 %========================================================================== 136 140 141 %% ================================================================================================= 137 142 \section{Implementation details} 138 143 \label{sec:ASM_details} … … 141 146 the ORCA2 grid. 142 147 143 %------------------------------------------nam_asminc-----------------------------------------------------144 148 % 145 149 \begin{listing} … … 148 152 \label{lst:nam_asminc} 149 153 \end{listing} 150 %-------------------------------------------------------------------------------------------------------------151 154 152 155 The header of an assimilation increments file produced using the NetCDF tool -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex
r11596 r11597 9 9 \vfill 10 10 \begin{figure}[b] 11 %% ================================================================================================= 11 12 \subsubsection*{Changes record} 12 13 \begin{tabular}{l||l|m{0.65\linewidth}} … … 20 21 \end{figure} 21 22 23 %% ================================================================================================= 22 24 \section{Model output} 23 25 \label{sec:DIA_io_old} … … 45 47 %\gmcomment{ % start of gmcomment 46 48 49 %% ================================================================================================= 47 50 \section{Standard model output (IOM)} 48 51 \label{sec:DIA_iom} … … 103 106 even without a parallel-enabled NetCDF4 library, simply by employing only one dedicated I/O server. 104 107 108 %% ================================================================================================= 105 109 \subsection{XIOS: Reading and writing restart file} 106 110 … … 142 146 An older versions of XIOS do not support reading functionality. It's recommended to use at least XIOS2@1451. 143 147 148 %% ================================================================================================= 144 149 \subsection{XIOS: XML Inputs-Outputs Server} 145 150 151 %% ================================================================================================= 146 152 \subsubsection{Attached or detached mode?} 147 153 … … 178 184 The following subsection provides a typical example but the syntax will vary in different MPP environments. 179 185 186 %% ================================================================================================= 180 187 \subsubsection{Number of cpu used by XIOS in detached mode} 181 188 … … 192 199 \cmd|mpirun -np 62 ./nemo.exe : -np 2 ./xios_server.exe| 193 200 201 %% ================================================================================================= 194 202 \subsubsection{Control of XIOS: the context in iodef.xml} 195 203 … … 237 245 \end{table} 238 246 247 %% ================================================================================================= 239 248 \subsection{Practical issues} 240 249 250 %% ================================================================================================= 241 251 \subsubsection{Installation} 242 252 … … 247 257 {Extract and install XIOS} guide provides an example illustration of how this can be achieved. 248 258 259 %% ================================================================================================= 249 260 \subsubsection{Add your own outputs} 250 261 … … 303 314 \end{enumerate} 304 315 316 %% ================================================================================================= 305 317 \subsection{XML fundamentals} 306 318 319 %% ================================================================================================= 307 320 \subsubsection{ XML basic rules} 308 321 … … 314 327 See \href{http://www.xmlnews.org/docs/xml-basics.html}{here} for more details. 315 328 329 %% ================================================================================================= 316 330 \subsubsection{Structure of the XML file used in \NEMO} 317 331 … … 419 433 \end{table} 420 434 435 %% ================================================================================================= 421 436 \subsubsection{Nesting XML files} 422 437 … … 435 450 \end{xmllines} 436 451 452 %% ================================================================================================= 437 453 \subsubsection{Use of inheritance} 438 454 … … 475 491 Inherit (and overwrite, if needed) the attributes of a tag you are refering to. 476 492 493 %% ================================================================================================= 477 494 \subsubsection{Use of groups} 478 495 … … 516 533 \end{xmllines} 517 534 535 %% ================================================================================================= 518 536 \subsection{Detailed functionalities} 519 537 … … 521 539 the new functionalities offered by the XML interface of XIOS. 522 540 541 %% ================================================================================================= 523 542 \subsubsection{Define horizontal subdomains} 524 543 … … 562 581 We are therefore advising to use the ''one\_file'' type in this case. 563 582 583 %% ================================================================================================= 564 584 \subsubsection{Define vertical zooms} 565 585 … … 585 605 \end{xmllines} 586 606 607 %% ================================================================================================= 587 608 \subsubsection{Control of the output file names} 588 609 … … 657 678 \noindent will give the following file name radical: \ifile{myfile\_ORCA2\_19891231\_freq1d} 658 679 680 %% ================================================================================================= 659 681 \subsubsection{Other controls of the XML attributes from \NEMO} 660 682 … … 710 732 \end{table} 711 733 734 %% ================================================================================================= 712 735 \subsubsection{Advanced use of XIOS functionalities} 713 736 737 %% ================================================================================================= 714 738 \subsection{XML reference tables} 715 739 \label{subsec:DIA_IOM_xmlref} … … 858 882 field\_ref="sst" means that attributes not explicitely defined, are inherited from sst field. 859 883 884 %% ================================================================================================= 860 885 \subsubsection{Tag list per family} 861 886 … … 1051 1076 \end{table} 1052 1077 1078 %% ================================================================================================= 1053 1079 \subsubsection{Attributes list per family} 1054 1080 … … 1286 1312 \end{table} 1287 1313 1314 %% ================================================================================================= 1288 1315 \subsection{CF metadata standard compliance} 1289 1316 … … 1298 1325 This must be set to true if these metadata are to be included in the output files. 1299 1326 1327 %% ================================================================================================= 1300 1328 \section[NetCDF4 support (\texttt{\textbf{key\_netcdf4}})]{NetCDF4 support (\protect\key{netcdf4})} 1301 1329 \label{sec:DIA_nc4} … … 1315 1343 setting the \np{ln_nc4zip}{ln\_nc4zip} logical to false in the \nam{nc4}{nc4} namelist: 1316 1344 1317 %------------------------------------------namnc4----------------------------------------------------1318 1345 1319 1346 \begin{listing} … … 1322 1349 \label{lst:namnc4} 1323 1350 \end{listing} 1324 %-------------------------------------------------------------------------------------------------------------1325 1351 1326 1352 If \key{netcdf4} has not been defined, these namelist parameters are not read. … … 1367 1393 each processing region. 1368 1394 1369 %------------------------------------------TABLE----------------------------------------------------1370 1395 \begin{table} 1371 1396 \centering … … 1403 1428 \label{tab:DIA_NC4} 1404 1429 \end{table} 1405 %----------------------------------------------------------------------------------------------------1406 1430 1407 1431 When \key{iomput} is activated with \key{netcdf4} chunking and compression parameters for fields produced via … … 1414 1438 the invidual processing regions and different chunking choices may be desired. 1415 1439 1440 %% ================================================================================================= 1416 1441 \section[Tracer/Dynamics trends (\forcode{&namtrd})]{Tracer/Dynamics trends (\protect\nam{trd}{trd})} 1417 1442 \label{sec:DIA_trd} 1418 1443 1419 %------------------------------------------namtrd----------------------------------------------------1420 1444 1421 1445 \begin{listing} … … 1424 1448 \label{lst:namtrd} 1425 1449 \end{listing} 1426 %-------------------------------------------------------------------------------------------------------------1427 1450 1428 1451 Each trend of the dynamics and/or temperature and salinity time evolution equations can be send to … … 1462 1485 and none of the options have been tested with variable volume (\ie\ \np[=.true.]{ln_linssh}{ln\_linssh}). 1463 1486 1487 %% ================================================================================================= 1464 1488 \section[FLO: On-Line Floats trajectories (\texttt{\textbf{key\_floats}})]{FLO: On-Line Floats trajectories (\protect\key{floats})} 1465 1489 \label{sec:DIA_FLO} 1466 %--------------------------------------------namflo-------------------------------------------------------1467 1490 1468 1491 \begin{listing} … … 1471 1494 \label{lst:namflo} 1472 1495 \end{listing} 1473 %--------------------------------------------------------------------------------------------------------------1474 1496 1475 1497 The on-line computation of floats advected either by the three dimensional velocity field or constraint to … … 1481 1503 are consistent with the numeric of the code, so that the trajectories never intercept the bathymetry. 1482 1504 1505 %% ================================================================================================= 1483 1506 \subsubsection{Input data: initial coordinates} 1484 1507 … … 1538 1561 \np{jpnflnewflo}{jpnflnewflo} can be added in the initialization file. 1539 1562 1563 %% ================================================================================================= 1540 1564 \subsubsection{Output data} 1541 1565 … … 1564 1588 \end{xmllines} 1565 1589 1590 %% ================================================================================================= 1566 1591 \section[Harmonic analysis of tidal constituents (\texttt{\textbf{key\_diaharm}})]{Harmonic analysis of tidal constituents (\protect\key{diaharm})} 1567 1592 \label{sec:DIA_diag_harm} 1568 1593 1569 %------------------------------------------nam_diaharm----------------------------------------------------1570 1594 % 1571 1595 \begin{listing} … … 1574 1598 \label{lst:nam_diaharm} 1575 1599 \end{listing} 1576 %----------------------------------------------------------------------------------------------------------1577 1600 1578 1601 A module is available to compute the amplitude and phase of tidal waves. … … 1612 1635 We obtain in output $C_{j}$ and $S_{j}$ for each tidal wave. 1613 1636 1637 %% ================================================================================================= 1614 1638 \section[Transports across sections (\texttt{\textbf{key\_diadct}})]{Transports across sections (\protect\key{diadct})} 1615 1639 \label{sec:DIA_diag_dct} 1616 1640 1617 %------------------------------------------nam_diadct----------------------------------------------------1618 1641 1619 1642 \begin{listing} … … 1622 1645 \label{lst:nam_diadct} 1623 1646 \end{listing} 1624 %-------------------------------------------------------------------------------------------------------------1625 1647 1626 1648 A module is available to compute the transport of volume, heat and salt through sections. … … 1646 1668 \np{nn_debug}{nn\_debug} : debugging of the section 1647 1669 1670 %% ================================================================================================= 1648 1671 \subsubsection{Creating a binary file containing the pathway of each section} 1649 1672 … … 1717 1740 } 1718 1741 1742 %% ================================================================================================= 1719 1743 \subsubsection{To read the output files} 1720 1744 … … 1755 1779 \end{table} 1756 1780 1781 %% ================================================================================================= 1757 1782 \section{Diagnosing the steric effect in sea surface height} 1758 1783 \label{sec:DIA_steric} … … 1931 1956 Both steric and thermosteric sea level are computed in \mdl{diaar5}. 1932 1957 1958 %% ================================================================================================= 1933 1959 \section{Other diagnostics} 1934 1960 \label{sec:DIA_diag_others} … … 1937 1963 The available ready-to-add diagnostics modules can be found in directory DIA. 1938 1964 1965 %% ================================================================================================= 1939 1966 \subsection[Depth of various quantities (\textit{diahth.F90})]{Depth of various quantities (\protect\mdl{diahth})} 1940 1967 … … 1969 1996 % CMIP specific diagnostics 1970 1997 % ----------------------------------------------------------- 1998 %% ================================================================================================= 1971 1999 \subsection[CMIP specific diagnostics (\textit{diaar5.F90}, \textit{diaptr.F90})]{CMIP specific diagnostics (\protect\mdl{diaar5})} 1972 2000 … … 1987 2015 the Indo-Pacific mask been deduced from the sum of the Indian and Pacific mask (\autoref{fig:DIA_mask_subasins}). 1988 2016 1989 %------------------------------------------namptr-----------------------------------------1990 2017 1991 2018 \begin{listing} … … 1994 2021 \label{lst:namptr} 1995 2022 \end{listing} 1996 %-----------------------------------------------------------------------------------------1997 2023 1998 2024 % ----------------------------------------------------------- 1999 2025 % 25 hour mean and hourly Surface, Mid and Bed 2000 2026 % ----------------------------------------------------------- 2027 %% ================================================================================================= 2001 2028 \subsection{25 hour mean output for tidal models} 2002 2029 2003 %------------------------------------------nam_dia25h-------------------------------------2004 2030 2005 2031 \begin{listing} … … 2008 2034 \label{lst:nam_dia25h} 2009 2035 \end{listing} 2010 %-----------------------------------------------------------------------------------------2011 2036 2012 2037 A module is available to compute a crudely detided M2 signal by obtaining a 25 hour mean. … … 2018 2043 % Top Middle and Bed hourly output 2019 2044 % ----------------------------------------------------------- 2045 %% ================================================================================================= 2020 2046 \subsection{Top middle and bed hourly output} 2021 2047 2022 %------------------------------------------nam_diatmb-----------------------------------------------------2023 2048 2024 2049 \begin{listing} … … 2027 2052 \label{lst:nam_diatmb} 2028 2053 \end{listing} 2029 %----------------------------------------------------------------------------------------------------------2030 2054 2031 2055 A module is available to output the surface (top), mid water and bed diagnostics of a set of standard variables. … … 2038 2062 % Courant numbers 2039 2063 % ----------------------------------------------------------- 2064 %% ================================================================================================= 2040 2065 \subsection{Courant numbers} 2041 2066 -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIU.tex
r11596 r11597 52 52 53 53 %=============================================================== 54 %% ================================================================================================= 54 55 \section{Warm layer model} 55 56 \label{sec:DIU_warm_layer_sec} … … 109 110 %=============================================================== 110 111 112 %% ================================================================================================= 111 113 \section{Cool skin model} 112 114 \label{sec:DIU_cool_skin_sec} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex
r11596 r11597 38 38 and other relevant information about the DOM (DOMain) source code modules. 39 39 40 %% ================================================================================================= 40 41 \section{Fundamentals of the discretisation} 41 42 \label{sec:DOM_basics} 42 43 44 %% ================================================================================================= 43 45 \subsection{Arrangement of variables} 44 46 \label{subsec:DOM_cell} … … 145 147 \end{figure} 146 148 149 %% ================================================================================================= 147 150 \subsection{Discrete operators} 148 151 \label{subsec:DOM_operators} … … 235 238 demonstrate integral conservative properties of the discrete formulation chosen. 236 239 240 %% ================================================================================================= 237 241 \subsection{Numerical indexing} 238 242 \label{subsec:DOM_Num_Index} … … 258 262 % Horizontal Indexing 259 263 % ----------------------------------- 264 %% ================================================================================================= 260 265 \subsubsection{Horizontal indexing} 261 266 \label{subsec:DOM_Num_Index_hor} … … 270 275 % Vertical indexing 271 276 % ----------------------------------- 277 %% ================================================================================================= 272 278 \subsubsection{Vertical indexing} 273 279 \label{subsec:DOM_Num_Index_vertical} … … 301 307 \end{figure} 302 308 309 %% ================================================================================================= 303 310 \section{Spatial domain configuration} 304 311 \label{subsec:DOM_config} … … 338 345 % Domain Size 339 346 % ----------------------------------- 347 %% ================================================================================================= 340 348 \subsection{Domain size} 341 349 \label{subsec:DOM_size} … … 355 363 See \autoref{sec:LBC_jperio} for details on the available options and the corresponding values for \jp{jperio}. 356 364 365 %% ================================================================================================= 357 366 \subsection[Horizontal grid mesh (\textit{domhgr.F90}]{Horizontal grid mesh (\protect\mdl{domhgr})} 358 367 \label{subsec:DOM_hgr} 359 368 369 %% ================================================================================================= 360 370 \subsubsection{Required fields} 361 371 \label{sec:DOM_hgr_fields} … … 380 390 evaluated for the same arguments as $\lambda$ and $\varphi$. 381 391 392 %% ================================================================================================= 382 393 \subsubsection{Optional fields} 383 394 … … 417 428 thus no specific arrays are defined at $w$ points. 418 429 430 %% ================================================================================================= 419 431 \subsection[Vertical grid (\textit{domzgr.F90})]{Vertical grid (\protect\mdl{domzgr})} 420 432 \label{subsec:DOM_zgr} 421 %-----------------------------------------namdom-------------------------------------------422 433 \begin{listing} 423 434 \nlst{namdom} … … 425 436 \label{lst:namdom} 426 437 \end{listing} 427 %-------------------------------------------------------------------------------------------------------------428 438 429 439 In the vertical, the model mesh is determined by four things: … … 506 516 their reference counterpart and remain fixed. 507 517 518 %% ================================================================================================= 508 519 \subsubsection{Required fields} 509 520 \label{sec:DOM_zgr_fields} … … 541 552 With ice cavities, \jp{top\_level} determines the first wet point below the overlying ice shelf. 542 553 554 %% ================================================================================================= 543 555 \subsubsection{Level bathymetry and mask} 544 556 \label{subsec:DOM_msk} … … 572 584 %% (see \autoref{fig:LBC_jperio}). 573 585 574 %-------------------------------------------------------------------------------------------------575 586 % Closed seas 576 % -------------------------------------------------------------------------------------------------587 %% ================================================================================================= 577 588 \subsection{Closed seas} 578 589 \label{subsec:DOM_closea} … … 595 606 \end{clines} 596 607 608 %% ================================================================================================= 597 609 \subsection{Output grid files} 598 610 \label{subsec:DOM_meshmask} … … 613 625 This file contains additional fields that can be useful for post-processing applications. 614 626 627 %% ================================================================================================= 615 628 \section[Initial state (\textit{istate.F90} and \textit{dtatsd.F90})]{Initial state (\protect\mdl{istate} and \protect\mdl{dtatsd})} 616 629 \label{sec:DOM_DTA_tsd} 617 %-----------------------------------------namtsd-------------------------------------------618 630 \begin{listing} 619 631 \nlst{namtsd} … … 621 633 \label{lst:namtsd} 622 634 \end{listing} 623 %------------------------------------------------------------------------------------------624 635 625 636 Basic initial state options are defined in \nam{tsd}{tsd}. -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DYN.tex
r11596 r11597 53 53 MISC correspond to "extracting tendency terms" or "vorticity balance"?} 54 54 55 %% ================================================================================================= 55 56 \section{Sea surface height and diagnostic variables ($\eta$, $\zeta$, $\chi$, $w$)} 56 57 \label{sec:DYN_divcur_wzv} 57 58 58 %-------------------------------------------------------------------------------------------------------------- 59 % Horizontal divergence and relative vorticity 60 %-------------------------------------------------------------------------------------------------------------- 59 %% ================================================================================================= 61 60 \subsection[Horizontal divergence and relative vorticity (\textit{divcur.F90})]{Horizontal divergence and relative vorticity (\protect\mdl{divcur})} 62 61 \label{subsec:DYN_divcur} … … 92 91 the nonlinear advection and of the vertical velocity respectively. 93 92 94 %-------------------------------------------------------------------------------------------------------------- 95 % Sea Surface Height evolution 96 %-------------------------------------------------------------------------------------------------------------- 93 %% ================================================================================================= 97 94 \subsection[Horizontal divergence and relative vorticity (\textit{sshwzv.F90})]{Horizontal divergence and relative vorticity (\protect\mdl{sshwzv})} 98 95 \label{subsec:DYN_sshwzv} … … 152 149 (see \autoref{subsec:DOM_Num_Index_vertical}). 153 150 151 152 %% ================================================================================================= 154 153 \section{Coriolis and advection: vector invariant form} 155 154 \label{sec:DYN_adv_cor_vect} 156 %-----------------------------------------nam_dynadv----------------------------------------------------157 155 158 156 \begin{listing} … … 161 159 \label{lst:namdyn_adv} 162 160 \end{listing} 163 %-------------------------------------------------------------------------------------------------------------164 161 165 162 The vector invariant form of the momentum equations is the one most often used in … … 172 169 \autoref{chap:LBC}. 173 170 171 %% ================================================================================================= 174 172 \subsection[Vorticity term (\textit{dynvor.F90})]{Vorticity term (\protect\mdl{dynvor})} 175 173 \label{subsec:DYN_vor} 176 %------------------------------------------nam_dynvor----------------------------------------------------177 174 178 175 \begin{listing} … … 181 178 \label{lst:namdyn_vor} 182 179 \end{listing} 183 %-------------------------------------------------------------------------------------------------------------184 180 185 181 Options are defined through the \nam{dyn_vor}{dyn\_vor} namelist variables. … … 195 191 The vorticity terms are all computed in dedicated routines that can be found in the \mdl{dynvor} module. 196 192 197 %-------------------------------------------------------------198 193 % enstrophy conserving scheme 199 % -------------------------------------------------------------194 %% ================================================================================================= 200 195 \subsubsection[Enstrophy conserving scheme (\forcode{ln_dynvor_ens})]{Enstrophy conserving scheme (\protect\np{ln_dynvor_ens}{ln\_dynvor\_ens})} 201 196 \label{subsec:DYN_vor_ens} … … 218 213 \end{equation} 219 214 220 %-------------------------------------------------------------221 215 % energy conserving scheme 222 % -------------------------------------------------------------216 %% ================================================================================================= 223 217 \subsubsection[Energy conserving scheme (\forcode{ln_dynvor_ene})]{Energy conserving scheme (\protect\np{ln_dynvor_ene}{ln\_dynvor\_ene})} 224 218 \label{subsec:DYN_vor_ene} … … 238 232 \end{equation} 239 233 240 %-------------------------------------------------------------241 234 % mix energy/enstrophy conserving scheme 242 % -------------------------------------------------------------235 %% ================================================================================================= 243 236 \subsubsection[Mixed energy/enstrophy conserving scheme (\forcode{ln_dynvor_mix})]{Mixed energy/enstrophy conserving scheme (\protect\np{ln_dynvor_mix}{ln\_dynvor\_mix})} 244 237 \label{subsec:DYN_vor_mix} … … 263 256 \] 264 257 265 %-------------------------------------------------------------266 258 % energy and enstrophy conserving scheme 267 % -------------------------------------------------------------259 %% ================================================================================================= 268 260 \subsubsection[Energy and enstrophy conserving scheme (\forcode{ln_dynvor_een})]{Energy and enstrophy conserving scheme (\protect\np{ln_dynvor_een}{ln\_dynvor\_een})} 269 261 \label{subsec:DYN_vor_een} … … 353 345 leading to a larger topostrophy of the flow \citep{barnier.madec.ea_OD06, penduff.le-sommer.ea_OS07}. 354 346 355 %-------------------------------------------------------------------------------------------------------------- 356 % Kinetic Energy Gradient term 357 %-------------------------------------------------------------------------------------------------------------- 347 %% ================================================================================================= 358 348 \subsection[Kinetic energy gradient term (\textit{dynkeg.F90})]{Kinetic energy gradient term (\protect\mdl{dynkeg})} 359 349 \label{subsec:DYN_keg} … … 373 363 \] 374 364 375 %-------------------------------------------------------------------------------------------------------------- 376 % Vertical advection term 377 %-------------------------------------------------------------------------------------------------------------- 365 %% ================================================================================================= 378 366 \subsection[Vertical advection term (\textit{dynzad.F90})]{Vertical advection term (\protect\mdl{dynzad})} 379 367 \label{subsec:DYN_zad} … … 400 388 an option which is only available with a TVD scheme (see \np{ln_traadv_tvd_zts}{ln\_traadv\_tvd\_zts} in \autoref{subsec:TRA_adv_tvd}). 401 389 390 391 %% ================================================================================================= 402 392 \section{Coriolis and advection: flux form} 403 393 \label{sec:DYN_adv_cor_flux} 404 %------------------------------------------nam_dynadv----------------------------------------------------405 406 %-------------------------------------------------------------------------------------------------------------407 394 408 395 Options are defined through the \nam{dyn_adv}{dyn\_adv} namelist variables. … … 413 400 no slip or partial slip boundary conditions are applied following \autoref{chap:LBC}. 414 401 415 %-------------------------------------------------------------------------------------------------------------- 416 % Coriolis plus curvature metric terms 417 %-------------------------------------------------------------------------------------------------------------- 402 %% ================================================================================================= 418 403 \subsection[Coriolis plus curvature metric terms (\textit{dynvor.F90})]{Coriolis plus curvature metric terms (\protect\mdl{dynvor})} 419 404 \label{subsec:DYN_cor_flux} … … 434 419 This term is evaluated using a leapfrog scheme, \ie\ the velocity is centred in time (\textit{now} velocity). 435 420 436 %-------------------------------------------------------------------------------------------------------------- 437 % Flux form Advection term 438 %-------------------------------------------------------------------------------------------------------------- 421 %% ================================================================================================= 439 422 \subsection[Flux form advection term (\textit{dynadv.F90})]{Flux form advection term (\protect\mdl{dynadv})} 440 423 \label{subsec:DYN_adv_flux} … … 467 450 and $uw$-points for $u$ and at the $f$-, $T$- and $vw$-points for $v$. 468 451 469 %-------------------------------------------------------------470 452 % 2nd order centred scheme 471 % -------------------------------------------------------------453 %% ================================================================================================= 472 454 \subsubsection[CEN2: $2^{nd}$ order centred scheme (\forcode{ln_dynadv_cen2})]{CEN2: $2^{nd}$ order centred scheme (\protect\np{ln_dynadv_cen2}{ln\_dynadv\_cen2})} 473 455 \label{subsec:DYN_adv_cen2} … … 490 472 so $u$ and $v$ are the \emph{now} velocities. 491 473 492 %-------------------------------------------------------------493 474 % UBS scheme 494 % -------------------------------------------------------------475 %% ================================================================================================= 495 476 \subsubsection[UBS: Upstream Biased Scheme (\forcode{ln_dynadv_ubs})]{UBS: Upstream Biased Scheme (\protect\np{ln_dynadv_ubs}{ln\_dynadv\_ubs})} 496 477 \label{subsec:DYN_adv_ubs} … … 543 524 %%% 544 525 526 %% ================================================================================================= 545 527 \section[Hydrostatic pressure gradient (\textit{dynhpg.F90})]{Hydrostatic pressure gradient (\protect\mdl{dynhpg})} 546 528 \label{sec:DYN_hpg} 547 %------------------------------------------nam_dynhpg---------------------------------------------------548 529 549 530 \begin{listing} … … 552 533 \label{lst:namdyn_hpg} 553 534 \end{listing} 554 %-------------------------------------------------------------------------------------------------------------555 535 556 536 Options are defined through the \nam{dyn_hpg}{dyn\_hpg} namelist variables. … … 566 546 At the lateral boundaries either free slip, no slip or partial slip boundary conditions are applied. 567 547 568 %-------------------------------------------------------------------------------------------------------------- 569 % z-coordinate with full step 570 %-------------------------------------------------------------------------------------------------------------- 548 %% ================================================================================================= 571 549 \subsection[Full step $Z$-coordinate (\forcode{ln_dynhpg_zco})]{Full step $Z$-coordinate (\protect\np{ln_dynhpg_zco}{ln\_dynhpg\_zco})} 572 550 \label{subsec:DYN_hpg_zco} … … 611 589 \autoref{eq:DYN_hpg_zco} through the space and time variations of the vertical scale factor $e_{3w}$. 612 590 613 %-------------------------------------------------------------------------------------------------------------- 614 % z-coordinate with partial step 615 %-------------------------------------------------------------------------------------------------------------- 591 %% ================================================================================================= 616 592 \subsection[Partial step $Z$-coordinate (\forcode{ln_dynhpg_zps})]{Partial step $Z$-coordinate (\protect\np{ln_dynhpg_zps}{ln\_dynhpg\_zps})} 617 593 \label{subsec:DYN_hpg_zps} … … 632 608 module \mdl{zpsdhe} located in the TRA directory and described in \autoref{sec:TRA_zpshde}. 633 609 634 %-------------------------------------------------------------------------------------------------------------- 635 % s- and s-z-coordinates 636 %-------------------------------------------------------------------------------------------------------------- 610 %% ================================================================================================= 637 611 \subsection{$S$- and $Z$-$S$-coordinates} 638 612 \label{subsec:DYN_hpg_sco} … … 681 655 This method can provide a more accurate calculation of the horizontal pressure gradient than the standard scheme. 682 656 657 %% ================================================================================================= 683 658 \subsection{Ice shelf cavity} 684 659 \label{subsec:DYN_hpg_isf} … … 697 672 \autoref{subsec:DYN_hpg_sco}. 698 673 699 %-------------------------------------------------------------------------------------------------------------- 700 % Time-scheme 701 %-------------------------------------------------------------------------------------------------------------- 674 %% ================================================================================================= 702 675 \subsection[Time-scheme (\forcode{ln_dynhpg_imp})]{Time-scheme (\protect\np{ln_dynhpg_imp}{ln\_dynhpg\_imp})} 703 676 \label{subsec:DYN_hpg_imp} … … 758 731 This option is controlled by \np{nn_dynhpg_rst}{nn\_dynhpg\_rst}, a namelist parameter. 759 732 733 %% ================================================================================================= 760 734 \section[Surface pressure gradient (\textit{dynspg.F90})]{Surface pressure gradient (\protect\mdl{dynspg})} 761 735 \label{sec:DYN_spg} 762 %-----------------------------------------nam_dynspg----------------------------------------------------763 736 764 737 \begin{listing} … … 767 740 \label{lst:namdyn_spg} 768 741 \end{listing} 769 %------------------------------------------------------------------------------------------------------------770 742 771 743 Options are defined through the \nam{dyn_spg}{dyn\_spg} namelist variables. … … 795 767 As a consequence the update of the $next$ velocities is done in module \mdl{dynspg\_flt} and not in \mdl{dynnxt}. 796 768 797 %-------------------------------------------------------------------------------------------------------------- 798 % Explicit free surface formulation 799 %-------------------------------------------------------------------------------------------------------------- 769 %% ================================================================================================= 800 770 \subsection[Explicit free surface (\forcode{ln_dynspg_exp})]{Explicit free surface (\protect\np{ln_dynspg_exp}{ln\_dynspg\_exp})} 801 771 \label{subsec:DYN_spg_exp} … … 821 791 Thus, nothing is done in the \mdl{dynspg\_exp} module. 822 792 823 %-------------------------------------------------------------------------------------------------------------- 824 % Split-explict free surface formulation 825 %-------------------------------------------------------------------------------------------------------------- 793 %% ================================================================================================= 826 794 \subsection[Split-explicit free surface (\forcode{ln_dynspg_ts})]{Split-explicit free surface (\protect\np{ln_dynspg_ts}{ln\_dynspg\_ts})} 827 795 \label{subsec:DYN_spg_ts} 828 %------------------------------------------namsplit-----------------------------------------------------------829 796 % 830 797 %\nlst{namsplit} 831 %-------------------------------------------------------------------------------------------------------------832 798 833 799 The split-explicit free surface formulation used in \NEMO\ (\np{ln_dynspg_ts}{ln\_dynspg\_ts} set to true), … … 1065 1031 %>>>>>=============== 1066 1032 1067 %-------------------------------------------------------------------------------------------------------------- 1068 % Filtered free surface formulation 1069 %-------------------------------------------------------------------------------------------------------------- 1033 %% ================================================================================================= 1070 1034 \subsection{Filtered free surface (\forcode{dynspg_flt?})} 1071 1035 \label{subsec:DYN_spg_fltp} … … 1093 1057 It is computed once and for all and applies to all ocean time steps. 1094 1058 1059 %% ================================================================================================= 1095 1060 \section[Lateral diffusion term and operators (\textit{dynldf.F90})]{Lateral diffusion term and operators (\protect\mdl{dynldf})} 1096 1061 \label{sec:DYN_ldf} 1097 %------------------------------------------nam_dynldf----------------------------------------------------1098 1062 1099 1063 \begin{listing} … … 1102 1066 \label{lst:namdyn_ldf} 1103 1067 \end{listing} 1104 %-------------------------------------------------------------------------------------------------------------1105 1068 1106 1069 Options are defined through the \nam{dyn_ldf}{dyn\_ldf} namelist variables. … … 1130 1093 } 1131 1094 1132 % Vertical diffusion term 1133 % External Forcing 1134 % Wetting and drying 1135 % Time evolution term 1095 %% ================================================================================================= 1096 \subsection[Iso-level laplacian (\forcode{ln_dynldf_lap})]{Iso-level laplacian operator (\protect\np{ln_dynldf_lap}{ln\_dynldf\_lap})} 1097 \label{subsec:DYN_ldf_lap} 1098 1099 For lateral iso-level diffusion, the discrete operator is: 1100 \begin{equation} 1101 \label{eq:DYN_ldf_lap} 1102 \left\{ 1103 \begin{aligned} 1104 D_u^{l{\mathrm {\mathbf U}}} =\frac{1}{e_{1u} }\delta_{i+1/2} \left[ {A_T^{lm} 1105 \;\chi } \right]-\frac{1}{e_{2u} {\kern 1pt}e_{3u} }\delta_j \left[ 1106 {A_f^{lm} \;e_{3f} \zeta } \right] \\ \\ 1107 D_v^{l{\mathrm {\mathbf U}}} =\frac{1}{e_{2v} }\delta_{j+1/2} \left[ {A_T^{lm} 1108 \;\chi } \right]+\frac{1}{e_{1v} {\kern 1pt}e_{3v} }\delta_i \left[ 1109 {A_f^{lm} \;e_{3f} \zeta } \right] 1110 \end{aligned} 1111 \right. 1112 \end{equation} 1113 1114 As explained in \autoref{subsec:MB_ldf}, 1115 this formulation (as the gradient of a divergence and curl of the vorticity) preserves symmetry and 1116 ensures a complete separation between the vorticity and divergence parts of the momentum diffusion. 1117 1118 %% ================================================================================================= 1119 \subsection[Rotated laplacian (\forcode{ln_dynldf_iso})]{Rotated laplacian operator (\protect\np{ln_dynldf_iso}{ln\_dynldf\_iso})} 1120 \label{subsec:DYN_ldf_iso} 1121 1122 A rotation of the lateral momentum diffusion operator is needed in several cases: 1123 for iso-neutral diffusion in the $z$-coordinate (\np[=.true.]{ln_dynldf_iso}{ln\_dynldf\_iso}) and 1124 for either iso-neutral (\np[=.true.]{ln_dynldf_iso}{ln\_dynldf\_iso}) or 1125 geopotential (\np[=.true.]{ln_dynldf_hor}{ln\_dynldf\_hor}) diffusion in the $s$-coordinate. 1126 In the partial step case, coordinates are horizontal except at the deepest level and 1127 no rotation is performed when \np[=.true.]{ln_dynldf_hor}{ln\_dynldf\_hor}. 1128 The diffusion operator is defined simply as the divergence of down gradient momentum fluxes on 1129 each momentum component. 1130 It must be emphasized that this formulation ignores constraints on the stress tensor such as symmetry. 1131 The resulting discrete representation is: 1132 \begin{equation} 1133 \label{eq:DYN_ldf_iso} 1134 \begin{split} 1135 D_u^{l\textbf{U}} &= \frac{1}{e_{1u} \, e_{2u} \, e_{3u} } \\ 1136 & \left\{\quad {\delta_{i+1/2} \left[ {A_T^{lm} \left( 1137 {\frac{e_{2t} \; e_{3t} }{e_{1t} } \,\delta_{i}[u] 1138 -e_{2t} \; r_{1t} \,\overline{\overline {\delta_{k+1/2}[u]}}^{\,i,\,k}} 1139 \right)} \right]} \right. \\ 1140 & \qquad +\ \delta_j \left[ {A_f^{lm} \left( {\frac{e_{1f}\,e_{3f} }{e_{2f} 1141 }\,\delta_{j+1/2} [u] - e_{1f}\, r_{2f} 1142 \,\overline{\overline {\delta_{k+1/2} [u]}} ^{\,j+1/2,\,k}} 1143 \right)} \right] \\ 1144 &\qquad +\ \delta_k \left[ {A_{uw}^{lm} \left( {-e_{2u} \, r_{1uw} \,\overline{\overline 1145 {\delta_{i+1/2} [u]}}^{\,i+1/2,\,k+1/2} } 1146 \right.} \right. \\ 1147 & \ \qquad \qquad \qquad \quad\ 1148 - e_{1u} \, r_{2uw} \,\overline{\overline {\delta_{j+1/2} [u]}} ^{\,j,\,k+1/2} \\ 1149 & \left. {\left. { \ \qquad \qquad \qquad \ \ \ \left. {\ 1150 +\frac{e_{1u}\, e_{2u} }{e_{3uw} }\,\left( {r_{1uw}^2+r_{2uw}^2} 1151 \right)\,\delta_{k+1/2} [u]} \right)} \right]\;\;\;} \right\} \\ \\ 1152 D_v^{l\textbf{V}} &= \frac{1}{e_{1v} \, e_{2v} \, e_{3v} } \\ 1153 & \left\{\quad {\delta_{i+1/2} \left[ {A_f^{lm} \left( 1154 {\frac{e_{2f} \; e_{3f} }{e_{1f} } \,\delta_{i+1/2}[v] 1155 -e_{2f} \; r_{1f} \,\overline{\overline {\delta_{k+1/2}[v]}}^{\,i+1/2,\,k}} 1156 \right)} \right]} \right. \\ 1157 & \qquad +\ \delta_j \left[ {A_T^{lm} \left( {\frac{e_{1t}\,e_{3t} }{e_{2t} 1158 }\,\delta_{j} [v] - e_{1t}\, r_{2t} 1159 \,\overline{\overline {\delta_{k+1/2} [v]}} ^{\,j,\,k}} 1160 \right)} \right] \\ 1161 & \qquad +\ \delta_k \left[ {A_{vw}^{lm} \left( {-e_{2v} \, r_{1vw} \,\overline{\overline 1162 {\delta_{i+1/2} [v]}}^{\,i+1/2,\,k+1/2} }\right.} \right. \\ 1163 & \ \qquad \qquad \qquad \quad\ 1164 - e_{1v} \, r_{2vw} \,\overline{\overline {\delta_{j+1/2} [v]}} ^{\,j+1/2,\,k+1/2} \\ 1165 & \left. {\left. { \ \qquad \qquad \qquad \ \ \ \left. {\ 1166 +\frac{e_{1v}\, e_{2v} }{e_{3vw} }\,\left( {r_{1vw}^2+r_{2vw}^2} 1167 \right)\,\delta_{k+1/2} [v]} \right)} \right]\;\;\;} \right\} 1168 \end{split} 1169 \end{equation} 1170 where $r_1$ and $r_2$ are the slopes between the surface along which the diffusion operator acts and 1171 the surface of computation ($z$- or $s$-surfaces). 1172 The way these slopes are evaluated is given in the lateral physics chapter (\autoref{chap:LDF}). 1173 1174 %% ================================================================================================= 1175 \subsection[Iso-level bilaplacian (\forcode{ln_dynldf_bilap})]{Iso-level bilaplacian operator (\protect\np{ln_dynldf_bilap}{ln\_dynldf\_bilap})} 1176 \label{subsec:DYN_ldf_bilap} 1177 1178 The lateral fourth order operator formulation on momentum is obtained by applying \autoref{eq:DYN_ldf_lap} twice. 1179 It requires an additional assumption on boundary conditions: 1180 the first derivative term normal to the coast depends on the free or no-slip lateral boundary conditions chosen, 1181 while the third derivative terms normal to the coast are set to zero (see \autoref{chap:LBC}). 1182 %%% 1183 \gmcomment{add a remark on the the change in the position of the coefficient} 1184 %%% 1185 1186 %% ================================================================================================= 1187 \section[Vertical diffusion term (\textit{dynzdf.F90})]{Vertical diffusion term (\protect\mdl{dynzdf})} 1188 \label{sec:DYN_zdf} 1189 1190 Options are defined through the \nam{zdf}{zdf} namelist variables. 1191 The large vertical diffusion coefficient found in the surface mixed layer together with high vertical resolution implies that in the case of explicit time stepping there would be too restrictive a constraint on the time step. 1192 Two time stepping schemes can be used for the vertical diffusion term: 1193 $(a)$ a forward time differencing scheme 1194 (\np[=.true.]{ln_zdfexp}{ln\_zdfexp}) using a time splitting technique (\np{nn_zdfexp}{nn\_zdfexp} $>$ 1) or 1195 $(b)$ a backward (or implicit) time differencing scheme (\np[=.false.]{ln_zdfexp}{ln\_zdfexp}) 1196 (see \autoref{chap:TD}). 1197 Note that namelist variables \np{ln_zdfexp}{ln\_zdfexp} and \np{nn_zdfexp}{nn\_zdfexp} apply to both tracers and dynamics. 1198 1199 The formulation of the vertical subgrid scale physics is the same whatever the vertical coordinate is. 1200 The vertical diffusion operators given by \autoref{eq:MB_zdf} take the following semi-discrete space form: 1201 \[ 1202 % \label{eq:DYN_zdf} 1203 \left\{ 1204 \begin{aligned} 1205 D_u^{vm} &\equiv \frac{1}{e_{3u}} \ \delta_k \left[ \frac{A_{uw}^{vm} }{e_{3uw} } 1206 \ \delta_{k+1/2} [\,u\,] \right] \\ 1207 \\ 1208 D_v^{vm} &\equiv \frac{1}{e_{3v}} \ \delta_k \left[ \frac{A_{vw}^{vm} }{e_{3vw} } 1209 \ \delta_{k+1/2} [\,v\,] \right] 1210 \end{aligned} 1211 \right. 1212 \] 1213 where $A_{uw}^{vm} $ and $A_{vw}^{vm} $ are the vertical eddy viscosity and diffusivity coefficients. 1214 The way these coefficients are evaluated depends on the vertical physics used (see \autoref{chap:ZDF}). 1215 1216 The surface boundary condition on momentum is the stress exerted by the wind. 1217 At the surface, the momentum fluxes are prescribed as the boundary condition on 1218 the vertical turbulent momentum fluxes, 1219 \begin{equation} 1220 \label{eq:DYN_zdf_sbc} 1221 \left.{\left( {\frac{A^{vm} }{e_3 }\ \frac{\partial \textbf{U}_h}{\partial k}} \right)} \right|_{z=1} 1222 = \frac{1}{\rho_o} \binom{\tau_u}{\tau_v } 1223 \end{equation} 1224 where $\left( \tau_u ,\tau_v \right)$ are the two components of the wind stress vector in 1225 the (\textbf{i},\textbf{j}) coordinate system. 1226 The high mixing coefficients in the surface mixed layer ensure that the surface wind stress is distributed in 1227 the vertical over the mixed layer depth. 1228 If the vertical mixing coefficient is small (when no mixed layer scheme is used) 1229 the surface stress enters only the top model level, as a body force. 1230 The surface wind stress is calculated in the surface module routines (SBC, see \autoref{chap:SBC}). 1231 1232 The turbulent flux of momentum at the bottom of the ocean is specified through a bottom friction parameterisation 1233 (see \autoref{sec:ZDF_drg}) 1234 1235 %% ================================================================================================= 1236 \section{External forcings} 1237 \label{sec:DYN_forcing} 1238 1239 Besides the surface and bottom stresses (see the above section) 1240 which are introduced as boundary conditions on the vertical mixing, 1241 three other forcings may enter the dynamical equations by affecting the surface pressure gradient. 1242 1243 (1) When \np[=.true.]{ln_apr_dyn}{ln\_apr\_dyn} (see \autoref{sec:SBC_apr}), 1244 the atmospheric pressure is taken into account when computing the surface pressure gradient. 1245 1246 (2) When \np[=.true.]{ln_tide_pot}{ln\_tide\_pot} and \np[=.true.]{ln_tide}{ln\_tide} (see \autoref{sec:SBC_tide}), 1247 the tidal potential is taken into account when computing the surface pressure gradient. 1248 1249 (3) When \np[=2]{nn_ice_embd}{nn\_ice\_embd} and LIM or CICE is used 1250 (\ie\ when the sea-ice is embedded in the ocean), 1251 the snow-ice mass is taken into account when computing the surface pressure gradient. 1252 1253 1254 \gmcomment{ missing : the lateral boundary condition !!! another external forcing 1255 } 1256 1257 %% ================================================================================================= 1258 \section{Wetting and drying } 1259 \label{sec:DYN_wetdry} 1260 1261 There are two main options for wetting and drying code (wd): 1262 (a) an iterative limiter (il) and (b) a directional limiter (dl). 1263 The directional limiter is based on the scheme developed by \cite{warner.defne.ea_CG13} for RO 1264 MS 1265 which was in turn based on ideas developed for POM by \cite{oey_OM06}. The iterative 1266 limiter is a new scheme. The iterative limiter is activated by setting $\mathrm{ln\_wd\_il} = \mathrm{.true.}$ 1267 and $\mathrm{ln\_wd\_dl} = \mathrm{.false.}$. The directional limiter is activated 1268 by setting $\mathrm{ln\_wd\_dl} = \mathrm{.true.}$ and $\mathrm{ln\_wd\_il} = \mathrm{.false.}$. 1269 1270 \begin{listing} 1271 \nlst{namwad} 1272 \caption{\forcode{&namwad}} 1273 \label{lst:namwad} 1274 \end{listing} 1275 1276 The following terminology is used. The depth of the topography (positive downwards) 1277 at each $(i,j)$ point is the quantity stored in array $\mathrm{ht\_wd}$ in the \NEMO\ code. 1278 The height of the free surface (positive upwards) is denoted by $ \mathrm{ssh}$. Given the sign 1279 conventions used, the water depth, $h$, is the height of the free surface plus the depth of the 1280 topography (i.e. $\mathrm{ssh} + \mathrm{ht\_wd}$). 1281 1282 Both wd schemes take all points in the domain below a land elevation of $\mathrm{rn\_wdld}$ to be 1283 covered by water. They require the topography specified with a model 1284 configuration to have negative depths at points where the land is higher than the 1285 topography's reference sea-level. The vertical grid in \NEMO\ is normally computed relative to an 1286 initial state with zero sea surface height elevation. 1287 The user can choose to compute the vertical grid and heights in the model relative to 1288 a non-zero reference height for the free surface. This choice affects the calculation of the metrics and depths 1289 (i.e. the $\mathrm{e3t\_0, ht\_0}$ etc. arrays). 1290 1291 Points where the water depth is less than $\mathrm{rn\_wdmin1}$ are interpreted as ``dry''. 1292 $\mathrm{rn\_wdmin1}$ is usually chosen to be of order $0.05$m but extreme topographies 1293 with very steep slopes require larger values for normal choices of time-step. Surface fluxes 1294 are also switched off for dry cells to prevent freezing, boiling etc. of very thin water layers. 1295 The fluxes are tappered down using a $\mathrm{tanh}$ weighting function 1296 to no flux as the dry limit $\mathrm{rn\_wdmin1}$ is approached. Even wet cells can be very shallow. 1297 The depth at which to start tapering is controlled by the user by setting $\mathrm{rn\_wd\_sbcdep}$. 1298 The fraction $(<1)$ of sufrace fluxes to use at this depth is set by $\mathrm{rn\_wd\_sbcfra}$. 1299 1300 Both versions of the code have been tested in six test cases provided in the WAD\_TEST\_CASES configuration 1301 and in ``realistic'' configurations covering parts of the north-west European shelf. 1302 All these configurations have used pure sigma coordinates. It is expected that 1303 the wetting and drying code will work in domains with more general s-coordinates provided 1304 the coordinates are pure sigma in the region where wetting and drying actually occurs. 1305 1306 The next sub-section descrbies the directional limiter and the following sub-section the iterative limiter. 1307 The final sub-section covers some additional considerations that are relevant to both schemes. 1308 1309 1310 % Iterative limiters 1311 %% ================================================================================================= 1312 \subsection[Directional limiter (\textit{wet\_dry.F90})]{Directional limiter (\mdl{wet\_dry})} 1313 \label{subsec:DYN_wd_directional_limiter} 1314 1315 The principal idea of the directional limiter is that 1316 water should not be allowed to flow out of a dry tracer cell (i.e. one whose water depth is less than \np{rn_wdmin1}{rn\_wdmin1}). 1317 1318 All the changes associated with this option are made to the barotropic solver for the non-linear 1319 free surface code within dynspg\_ts. 1320 On each barotropic sub-step the scheme determines the direction of the flow across each face of all the tracer cells 1321 and sets the flux across the face to zero when the flux is from a dry tracer cell. This prevents cells 1322 whose depth is rn\_wdmin1 or less from drying out further. The scheme does not force $h$ (the water depth) at tracer cells 1323 to be at least the minimum depth and hence is able to conserve mass / volume. 1324 1325 The flux across each $u$-face of a tracer cell is multiplied by a factor zuwdmask (an array which depends on ji and jj). 1326 If the user sets \np[=.false.]{ln_wd_dl_ramp}{ln\_wd\_dl\_ramp} then zuwdmask is 1 when the 1327 flux is from a cell with water depth greater than \np{rn_wdmin1}{rn\_wdmin1} and 0 otherwise. If the user sets 1328 \np[=.true.]{ln_wd_dl_ramp}{ln\_wd\_dl\_ramp} the flux across the face is ramped down as the water depth decreases 1329 from 2 * \np{rn_wdmin1}{rn\_wdmin1} to \np{rn_wdmin1}{rn\_wdmin1}. The use of this ramp reduced grid-scale noise in idealised test cases. 1330 1331 At the point where the flux across a $u$-face is multiplied by zuwdmask , we have chosen 1332 also to multiply the corresponding velocity on the ``now'' step at that face by zuwdmask. We could have 1333 chosen not to do that and to allow fairly large velocities to occur in these ``dry'' cells. 1334 The rationale for setting the velocity to zero is that it is the momentum equations that are being solved 1335 and the total momentum of the upstream cell (treating it as a finite volume) should be considered 1336 to be its depth times its velocity. This depth is considered to be zero at ``dry'' $u$-points consistent with its 1337 treatment in the calculation of the flux of mass across the cell face. 1338 1339 1340 \cite{warner.defne.ea_CG13} state that in their scheme the velocity masks at the cell faces for the baroclinic 1341 timesteps are set to 0 or 1 depending on whether the average of the masks over the barotropic sub-steps is respectively less than 1342 or greater than 0.5. That scheme does not conserve tracers in integrations started from constant tracer 1343 fields (tracers independent of $x$, $y$ and $z$). Our scheme conserves constant tracers because 1344 the velocities used at the tracer cell faces on the baroclinic timesteps are carefully calculated by dynspg\_ts 1345 to equal their mean value during the barotropic steps. If the user sets \np[=.true.]{ln_wd_dl_bc}{ln\_wd\_dl\_bc}, the 1346 baroclinic velocities are also multiplied by a suitably weighted average of zuwdmask. 1347 1348 % Iterative limiters 1349 1350 %% ================================================================================================= 1351 \subsection[Iterative limiter (\textit{wet\_dry.F90})]{Iterative limiter (\mdl{wet\_dry})} 1352 \label{subsec:DYN_wd_iterative_limiter} 1353 1354 %% ================================================================================================= 1355 \subsubsection[Iterative flux limiter (\textit{wet\_dry.F90})]{Iterative flux limiter (\mdl{wet\_dry})} 1356 \label{subsec:DYN_wd_il_spg_limiter} 1357 1358 The iterative limiter modifies the fluxes across the faces of cells that are either already ``dry'' 1359 or may become dry within the next time-step using an iterative method. 1360 1361 The flux limiter for the barotropic flow (devised by Hedong Liu) can be understood as follows: 1362 1363 The continuity equation for the total water depth in a column 1364 \begin{equation} 1365 \label{eq:DYN_wd_continuity} 1366 \frac{\partial h}{\partial t} + \mathbf{\nabla.}(h\mathbf{u}) = 0 . 1367 \end{equation} 1368 can be written in discrete form as 1369 1370 \begin{align} 1371 \label{eq:DYN_wd_continuity_2} 1372 \frac{e_1 e_2}{\Delta t} ( h_{i,j}(t_{n+1}) - h_{i,j}(t_e) ) 1373 &= - ( \mathrm{flxu}_{i+1,j} - \mathrm{flxu}_{i,j} + \mathrm{flxv}_{i,j+1} - \mathrm{flxv}_{i,j} ) \\ 1374 &= \mathrm{zzflx}_{i,j} . 1375 \end{align} 1376 1377 In the above $h$ is the depth of the water in the column at point $(i,j)$, 1378 $\mathrm{flxu}_{i+1,j}$ is the flux out of the ``eastern'' face of the cell and 1379 $\mathrm{flxv}_{i,j+1}$ the flux out of the ``northern'' face of the cell; $t_{n+1}$ is 1380 the new timestep, $t_e$ is the old timestep (either $t_b$ or $t_n$) and $ \Delta t = 1381 t_{n+1} - t_e$; $e_1 e_2$ is the area of the tracer cells centred at $(i,j)$ and 1382 $\mathrm{zzflx}$ is the sum of the fluxes through all the faces. 1383 1384 The flux limiter splits the flux $\mathrm{zzflx}$ into fluxes that are out of the cell 1385 (zzflxp) and fluxes that are into the cell (zzflxn). Clearly 1386 1387 \begin{equation} 1388 \label{eq:DYN_wd_zzflx_p_n_1} 1389 \mathrm{zzflx}_{i,j} = \mathrm{zzflxp}_{i,j} + \mathrm{zzflxn}_{i,j} . 1390 \end{equation} 1391 1392 The flux limiter iteratively adjusts the fluxes $\mathrm{flxu}$ and $\mathrm{flxv}$ until 1393 none of the cells will ``dry out''. To be precise the fluxes are limited until none of the 1394 cells has water depth less than $\mathrm{rn\_wdmin1}$ on step $n+1$. 1395 1396 Let the fluxes on the $m$th iteration step be denoted by $\mathrm{flxu}^{(m)}$ and 1397 $\mathrm{flxv}^{(m)}$. Then the adjustment is achieved by seeking a set of coefficients, 1398 $\mathrm{zcoef}_{i,j}^{(m)}$ such that: 1399 1400 \begin{equation} 1401 \label{eq:DYN_wd_continuity_coef} 1402 \begin{split} 1403 \mathrm{zzflxp}^{(m)}_{i,j} =& \mathrm{zcoef}_{i,j}^{(m)} \mathrm{zzflxp}^{(0)}_{i,j} \\ 1404 \mathrm{zzflxn}^{(m)}_{i,j} =& \mathrm{zcoef}_{i,j}^{(m)} \mathrm{zzflxn}^{(0)}_{i,j} 1405 \end{split} 1406 \end{equation} 1407 1408 where the coefficients are $1.0$ generally but can vary between $0.0$ and $1.0$ around 1409 cells that would otherwise dry. 1410 1411 The iteration is initialised by setting 1412 1413 \begin{equation} 1414 \label{eq:DYN_wd_zzflx_initial} 1415 \mathrm{zzflxp^{(0)}}_{i,j} = \mathrm{zzflxp}_{i,j} , \quad \mathrm{zzflxn^{(0)}}_{i,j} = \mathrm{zzflxn}_{i,j} . 1416 \end{equation} 1417 1418 The fluxes out of cell $(i,j)$ are updated at the $m+1$th iteration if the depth of the 1419 cell on timestep $t_e$, namely $h_{i,j}(t_e)$, is less than the total flux out of the cell 1420 times the timestep divided by the cell area. Using (\autoref{eq:DYN_wd_continuity_2}) this 1421 condition is 1422 1423 \begin{equation} 1424 \label{eq:DYN_wd_continuity_if} 1425 h_{i,j}(t_e) - \mathrm{rn\_wdmin1} < \frac{\Delta t}{e_1 e_2} ( \mathrm{zzflxp}^{(m)}_{i,j} + \mathrm{zzflxn}^{(m)}_{i,j} ) . 1426 \end{equation} 1427 1428 Rearranging (\autoref{eq:DYN_wd_continuity_if}) we can obtain an expression for the maximum 1429 outward flux that can be allowed and still maintain the minimum wet depth: 1430 1431 \begin{equation} 1432 \label{eq:DYN_wd_max_flux} 1433 \begin{split} 1434 \mathrm{zzflxp}^{(m+1)}_{i,j} = \Big[ (h_{i,j}(t_e) & - \mathrm{rn\_wdmin1} - \mathrm{rn\_wdmin2}) \frac{e_1 e_2}{\Delta t} \phantom{]} \\ 1435 \phantom{[} & - \mathrm{zzflxn}^{(m)}_{i,j} \Big] 1436 \end{split} 1437 \end{equation} 1438 1439 Note a small tolerance ($\mathrm{rn\_wdmin2}$) has been introduced here {\itshape [Q: Why is 1440 this necessary/desirable?]}. Substituting from (\autoref{eq:DYN_wd_continuity_coef}) gives an 1441 expression for the coefficient needed to multiply the outward flux at this cell in order 1442 to avoid drying. 1443 1444 \begin{equation} 1445 \label{eq:DYN_wd_continuity_nxtcoef} 1446 \begin{split} 1447 \mathrm{zcoef}^{(m+1)}_{i,j} = \Big[ (h_{i,j}(t_e) & - \mathrm{rn\_wdmin1} - \mathrm{rn\_wdmin2}) \frac{e_1 e_2}{\Delta t} \phantom{]} \\ 1448 \phantom{[} & - \mathrm{zzflxn}^{(m)}_{i,j} \Big] \frac{1}{ \mathrm{zzflxp}^{(0)}_{i,j} } 1449 \end{split} 1450 \end{equation} 1451 1452 Only the outward flux components are altered but, of course, outward fluxes from one cell 1453 are inward fluxes to adjacent cells and the balance in these cells may need subsequent 1454 adjustment; hence the iterative nature of this scheme. Note, for example, that the flux 1455 across the ``eastern'' face of the $(i,j)$th cell is only updated at the $m+1$th iteration 1456 if that flux at the $m$th iteration is out of the $(i,j)$th cell. If that is the case then 1457 the flux across that face is into the $(i+1,j)$ cell and that flux will not be updated by 1458 the calculation for the $(i+1,j)$th cell. In this sense the updates to the fluxes across 1459 the faces of the cells do not ``compete'' (they do not over-write each other) and one 1460 would expect the scheme to converge relatively quickly. The scheme is flux based so 1461 conserves mass. It also conserves constant tracers for the same reason that the 1462 directional limiter does. 1463 1464 1465 % Surface pressure gradients 1466 %% ================================================================================================= 1467 \subsubsection[Modification of surface pressure gradients (\textit{dynhpg.F90})]{Modification of surface pressure gradients (\mdl{dynhpg})} 1468 \label{subsec:DYN_wd_il_spg} 1469 1470 At ``dry'' points the water depth is usually close to $\mathrm{rn\_wdmin1}$. If the 1471 topography is sloping at these points the sea-surface will have a similar slope and there 1472 will hence be very large horizontal pressure gradients at these points. The WAD modifies 1473 the magnitude but not the sign of the surface pressure gradients (zhpi and zhpj) at such 1474 points by mulitplying them by positive factors (zcpx and zcpy respectively) that lie 1475 between $0$ and $1$. 1476 1477 We describe how the scheme works for the ``eastward'' pressure gradient, zhpi, calculated 1478 at the $(i,j)$th $u$-point. The scheme uses the ht\_wd depths and surface heights at the 1479 neighbouring $(i+1,j)$ and $(i,j)$ tracer points. zcpx is calculated using two logicals 1480 variables, $\mathrm{ll\_tmp1}$ and $\mathrm{ll\_tmp2}$ which are evaluated for each grid 1481 column. The three possible combinations are illustrated in \autoref{fig:DYN_WAD_dynhpg}. 1482 1483 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1484 \begin{figure}[!ht] 1485 \centering 1486 \includegraphics[width=0.66\textwidth]{Fig_WAD_dynhpg} 1487 \caption[Combinations controlling the limiting of the horizontal pressure gradient in 1488 wetting and drying regimes]{ 1489 Three possible combinations of the logical variables controlling the 1490 limiting of the horizontal pressure gradient in wetting and drying regimes} 1491 \label{fig:DYN_WAD_dynhpg} 1492 \end{figure} 1493 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1494 1495 The first logical, $\mathrm{ll\_tmp1}$, is set to true if and only if the water depth at 1496 both neighbouring points is greater than $\mathrm{rn\_wdmin1} + \mathrm{rn\_wdmin2}$ and 1497 the minimum height of the sea surface at the two points is greater than the maximum height 1498 of the topography at the two points: 1499 1500 \begin{equation} 1501 \label{eq:DYN_ll_tmp1} 1502 \begin{split} 1503 \mathrm{ll\_tmp1} = & \mathrm{MIN(sshn(ji,jj), sshn(ji+1,jj))} > \\ 1504 & \quad \mathrm{MAX(-ht\_wd(ji,jj), -ht\_wd(ji+1,jj))\ .and.} \\ 1505 & \mathrm{MAX(sshn(ji,jj) + ht\_wd(ji,jj),} \\ 1506 & \mathrm{\phantom{MAX(}sshn(ji+1,jj) + ht\_wd(ji+1,jj))} >\\ 1507 & \quad\quad\mathrm{rn\_wdmin1 + rn\_wdmin2 } 1508 \end{split} 1509 \end{equation} 1510 1511 The second logical, $\mathrm{ll\_tmp2}$, is set to true if and only if the maximum height 1512 of the sea surface at the two points is greater than the maximum height of the topography 1513 at the two points plus $\mathrm{rn\_wdmin1} + \mathrm{rn\_wdmin2}$ 1514 1515 \begin{equation} 1516 \label{eq:DYN_ll_tmp2} 1517 \begin{split} 1518 \mathrm{ ll\_tmp2 } = & \mathrm{( ABS( sshn(ji,jj) - sshn(ji+1,jj) ) > 1.E-12 )\ .AND.}\\ 1519 & \mathrm{( MAX(sshn(ji,jj), sshn(ji+1,jj)) > } \\ 1520 & \mathrm{\phantom{(} MAX(-ht\_wd(ji,jj), -ht\_wd(ji+1,jj)) + rn\_wdmin1 + rn\_wdmin2}) . 1521 \end{split} 1522 \end{equation} 1523 1524 If $\mathrm{ll\_tmp1}$ is true then the surface pressure gradient, zhpi at the $(i,j)$ 1525 point is unmodified. If both logicals are false zhpi is set to zero. 1526 1527 If $\mathrm{ll\_tmp1}$ is true and $\mathrm{ll\_tmp2}$ is false then the surface pressure 1528 gradient is multiplied through by zcpx which is the absolute value of the difference in 1529 the water depths at the two points divided by the difference in the surface heights at the 1530 two points. Thus the sign of the sea surface height gradient is retained but the magnitude 1531 of the pressure force is determined by the difference in water depths rather than the 1532 difference in surface height between the two points. Note that dividing by the difference 1533 between the sea surface heights can be problematic if the heights approach parity. An 1534 additional condition is applied to $\mathrm{ ll\_tmp2 }$ to ensure it is .false. in such 1535 conditions. 1536 1537 %% ================================================================================================= 1538 \subsubsection[Additional considerations (\textit{usrdef\_zgr.F90})]{Additional considerations (\mdl{usrdef\_zgr})} 1539 \label{subsec:DYN_WAD_additional} 1540 1541 In the very shallow water where wetting and drying occurs the parametrisation of 1542 bottom drag is clearly very important. In order to promote stability 1543 it is sometimes useful to calculate the bottom drag using an implicit time-stepping approach. 1544 1545 Suitable specifcation of the surface heat flux in wetting and drying domains in forced and 1546 coupled simulations needs further consideration. In order to prevent freezing or boiling 1547 in uncoupled integrations the net surface heat fluxes need to be appropriately limited. 1548 1549 % The WAD test cases 1550 %% ================================================================================================= 1551 \subsection[The WAD test cases (\textit{usrdef\_zgr.F90})]{The WAD test cases (\mdl{usrdef\_zgr})} 1552 \label{subsec:DYN_WAD_test_cases} 1553 1554 See the WAD tests MY\_DOC documention for details of the WAD test cases. 1555 1556 1557 1558 %% ================================================================================================= 1559 \section[Time evolution term (\textit{dynnxt.F90})]{Time evolution term (\protect\mdl{dynnxt})} 1560 \label{sec:DYN_nxt} 1561 1562 1563 Options are defined through the \nam{dom}{dom} namelist variables. 1564 The general framework for dynamics time stepping is a leap-frog scheme, 1565 \ie\ a three level centred time scheme associated with an Asselin time filter (cf. \autoref{chap:TD}). 1566 The scheme is applied to the velocity, except when 1567 using the flux form of momentum advection (cf. \autoref{sec:DYN_adv_cor_flux}) 1568 in the variable volume case (\texttt{vvl?} defined), 1569 where it has to be applied to the thickness weighted velocity (see \autoref{sec:SCOORD_momentum}) 1570 1571 $\bullet$ vector invariant form or linear free surface 1572 (\np[=.true.]{ln_dynhpg_vec}{ln\_dynhpg\_vec} ; \texttt{vvl?} not defined): 1573 \[ 1574 % \label{eq:DYN_nxt_vec} 1575 \left\{ 1576 \begin{aligned} 1577 &u^{t+\rdt} = u_f^{t-\rdt} + 2\rdt \ \text{RHS}_u^t \\ 1578 &u_f^t \;\quad = u^t+\gamma \,\left[ {u_f^{t-\rdt} -2u^t+u^{t+\rdt}} \right] 1579 \end{aligned} 1580 \right. 1581 \] 1582 1583 $\bullet$ flux form and nonlinear free surface 1584 (\np[=.false.]{ln_dynhpg_vec}{ln\_dynhpg\_vec} ; \texttt{vvl?} defined): 1585 \[ 1586 % \label{eq:DYN_nxt_flux} 1587 \left\{ 1588 \begin{aligned} 1589 &\left(e_{3u}\,u\right)^{t+\rdt} = \left(e_{3u}\,u\right)_f^{t-\rdt} + 2\rdt \; e_{3u} \;\text{RHS}_u^t \\ 1590 &\left(e_{3u}\,u\right)_f^t \;\quad = \left(e_{3u}\,u\right)^t 1591 +\gamma \,\left[ {\left(e_{3u}\,u\right)_f^{t-\rdt} -2\left(e_{3u}\,u\right)^t+\left(e_{3u}\,u\right)^{t+\rdt}} \right] 1592 \end{aligned} 1593 \right. 1594 \] 1595 where RHS is the right hand side of the momentum equation, 1596 the subscript $f$ denotes filtered values and $\gamma$ is the Asselin coefficient. 1597 $\gamma$ is initialized as \np{nn_atfp}{nn\_atfp} (namelist parameter). 1598 Its default value is \np[=10.e-3]{nn_atfp}{nn\_atfp}. 1599 In both cases, the modified Asselin filter is not applied since perfect conservation is not an issue for 1600 the momentum equations. 1601 1602 Note that with the filtered free surface, 1603 the update of the \textit{after} velocities is done in the \mdl{dynsp\_flt} module, 1604 and only array swapping and Asselin filtering is done in \mdl{dynnxt}. 1605 1606 \onlyinsubfile{\input{../../global/epilogue}} 1607 1608 \end{document} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex
r11596 r11597 9 9 %gm% add here introduction to this chapter 10 10 11 %% ================================================================================================= 11 12 \section[Boundary condition at the coast (\forcode{rn_shlat})]{Boundary condition at the coast (\protect\np{rn_shlat}{rn\_shlat})} 12 13 \label{sec:LBC_coast} 13 %--------------------------------------------namlbc-------------------------------------------------------14 14 15 15 \begin{listing} … … 18 18 \label{lst:namlbc} 19 19 \end{listing} 20 %--------------------------------------------------------------------------------------------------------------21 20 22 21 %The lateral ocean boundary conditions contiguous to coastlines are Neumann conditions for heat and salt … … 142 141 it is only applied next to the coast where the minimum water depth can be quite shallow. 143 142 143 %% ================================================================================================= 144 144 \section[Model domain boundary condition (\forcode{jperio})]{Model domain boundary condition (\protect\jp{jperio})} 145 145 \label{sec:LBC_jperio} … … 150 150 The north-fold boundary condition is associated with the 3-pole ORCA mesh. 151 151 152 %% ================================================================================================= 152 153 \subsection[Closed, cyclic (\forcode{=0,1,2,7})]{Closed, cyclic (\protect\jp{jperio}\forcode{=0,1,2,7})} 153 154 \label{subsec:LBC_jperio012} … … 191 192 \end{figure} 192 193 194 %% ================================================================================================= 193 195 \subsection[North-fold (\forcode{=3,6})]{North-fold (\protect\jp{jperio}\forcode{=3,6})} 194 196 \label{subsec:LBC_north_fold} … … 210 212 \end{figure} 211 213 214 %% ================================================================================================= 212 215 \section[Exchange with neighbouring processors (\textit{lbclnk.F90}, \textit{lib\_mpp.F90})]{Exchange with neighbouring processors (\protect\mdl{lbclnk}, \protect\mdl{lib\_mpp})} 213 216 \label{sec:LBC_mpp} 214 217 215 %-----------------------------------------nammpp--------------------------------------------216 218 217 219 \begin{listing} … … 220 222 \label{lst:nammpp} 221 223 \end{listing} 222 %-----------------------------------------------------------------------------------------------223 224 224 225 For massively parallel processing (mpp), a domain decomposition method is used. … … 321 322 \end{figure} 322 323 324 %% ================================================================================================= 323 325 \section{Unstructured open boundary conditions (BDY)} 324 326 \label{sec:LBC_bdy} 325 327 326 %-----------------------------------------nambdy--------------------------------------------327 328 328 329 \begin{listing} … … 331 332 \label{lst:nambdy} 332 333 \end{listing} 333 %-----------------------------------------------------------------------------------------------334 %-----------------------------------------nambdy_dta--------------------------------------------335 334 336 335 \begin{listing} … … 339 338 \label{lst:nambdy_dta} 340 339 \end{listing} 341 %-----------------------------------------------------------------------------------------------342 340 343 341 Options are defined through the \nam{bdy}{bdy} and \nam{bdy_dta}{bdy\_dta} namelist variables. … … 352 350 See the section on the Input Boundary Data Files for details. 353 351 354 % ----------------------------------------------352 %% ================================================================================================= 355 353 \subsection{Namelists} 356 354 \label{subsec:LBC_bdy_namelist} … … 419 417 FRS conditions are applied on temperature and salinity and climatological data is read from initial condition files. 420 418 421 % ----------------------------------------------419 %% ================================================================================================= 422 420 \subsection{Flow relaxation scheme} 423 421 \label{subsec:LBC_bdy_FRS_scheme} … … 458 456 This is typically set to a value between 8 and 10. 459 457 460 % ----------------------------------------------458 %% ================================================================================================= 461 459 \subsection{Flather radiation scheme} 462 460 \label{subsec:LBC_bdy_flather_scheme} … … 480 478 $U$ and $U_{e}$ are defined on the $U$ or $V$ points with $nbr=1$, \ie\ between the two $T$ grid points. 481 479 482 % ----------------------------------------------480 %% ================================================================================================= 483 481 \subsection{Orlanski radiation scheme} 484 482 \label{subsec:LBC_bdy_orlanski_scheme} … … 528 526 (\autoref{eq:LBC_wave_continuous}) - (\autoref{eq:LBC_tau_in}) correspond to equations (13) - (15) and (2) - (3) in MMS.\\ 529 527 530 % ----------------------------------------------528 %% ================================================================================================= 531 529 \subsection{Relaxation at the boundary} 532 530 \label{subsec:LBC_bdy_relaxation} … … 544 542 The same scaling is applied in the Orlanski damping. 545 543 546 % ----------------------------------------------544 %% ================================================================================================= 547 545 \subsection{Boundary geometry} 548 546 \label{subsec:LBC_bdy_geometry} … … 590 588 \end{figure} 591 589 592 % ----------------------------------------------590 %% ================================================================================================= 593 591 \subsection{Input boundary data files} 594 592 \label{subsec:LBC_bdy_data} … … 626 624 \end{figure} 627 625 628 % ----------------------------------------------626 %% ================================================================================================= 629 627 \subsection{Volume correction} 630 628 \label{subsec:LBC_bdy_vol_corr} … … 643 641 applied to all boundaries at once. 644 642 645 % ----------------------------------------------643 %% ================================================================================================= 646 644 \subsection{Tidal harmonic forcing} 647 645 \label{subsec:LBC_bdy_tides} 648 646 649 %-----------------------------------------nambdy_tide--------------------------------------------650 647 651 648 \begin{listing} … … 654 651 \label{lst:nambdy_tide} 655 652 \end{listing} 656 %-----------------------------------------------------------------------------------------------657 653 658 654 Tidal forcing at open boundaries requires the activation of surface -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_LDF.tex
r11596 r11597 22 22 is described in \autoref{apdx:TRIADS} 23 23 24 %-----------------------------------namtra_ldf - namdyn_ldf-------------------------------------------- 25 26 %-------------------------------------------------------------------------------------------------------------- 27 24 25 26 %% ================================================================================================= 28 27 \section[Lateral mixing operators]{Lateral mixing operators} 29 28 \label{sec:LDF_op} 30 29 We remind here the different lateral mixing operators that can be used. Further details can be found in \autoref{subsec:TRA_ldf_op} and \autoref{sec:DYN_ldf}. 31 30 31 %% ================================================================================================= 32 32 \subsection[No lateral mixing (\forcode{ln_traldf_OFF} \& \forcode{ln_dynldf_OFF})]{No lateral mixing (\protect\np{ln_traldf_OFF}{ln\_traldf\_OFF} \& \protect\np{ln_dynldf_OFF}{ln\_dynldf\_OFF})} 33 33 … … 37 37 see \autoref{subsec:DYN_adv_ubs}) and can be useful for testing purposes. 38 38 39 %% ================================================================================================= 39 40 \subsection[Laplacian mixing (\forcode{ln_traldf_lap} \& \forcode{ln_dynldf_lap})]{Laplacian mixing (\protect\np{ln_traldf_lap}{ln\_traldf\_lap} \& \protect\np{ln_dynldf_lap}{ln\_dynldf\_lap})} 40 41 Setting \protect\np[=.true.]{ln_traldf_lap}{ln\_traldf\_lap} and/or \protect\np[=.true.]{ln_dynldf_lap}{ln\_dynldf\_lap} enables … … 42 43 Laplacian and Bilaplacian operators for the same variable. 43 44 45 %% ================================================================================================= 44 46 \subsection[Bilaplacian mixing (\forcode{ln_traldf_blp} \& \forcode{ln_dynldf_blp})]{Bilaplacian mixing (\protect\np{ln_traldf_blp}{ln\_traldf\_blp} \& \protect\np{ln_dynldf_blp}{ln\_dynldf\_blp})} 45 47 Setting \protect\np[=.true.]{ln_traldf_blp}{ln\_traldf\_blp} and/or \protect\np[=.true.]{ln_dynldf_blp}{ln\_dynldf\_blp} enables … … 47 49 We stress again that from \NEMO\ 4, the simultaneous use Laplacian and Bilaplacian operators is not allowed. 48 50 51 %% ================================================================================================= 49 52 \section[Direction of lateral mixing (\textit{ldfslp.F90})]{Direction of lateral mixing (\protect\mdl{ldfslp})} 50 53 \label{sec:LDF_slp} … … 69 72 %gm% add here afigure of the slope in i-direction 70 73 74 %% ================================================================================================= 71 75 \subsection{Slopes for tracer geopotential mixing in the $s$-coordinate} 72 76 … … 99 103 and either \np[=.true.]{ln_traldf_hor}{ln\_traldf\_hor} or \np[=.true.]{ln_dynldf_hor}{ln\_dynldf\_hor}. 100 104 105 %% ================================================================================================= 101 106 \subsection{Slopes for tracer iso-neutral mixing} 102 107 \label{subsec:LDF_slp_iso} … … 273 278 \colorbox{yellow}{add here a discussion about the flattening of the slopes, vs tapering the coefficient.} 274 279 280 %% ================================================================================================= 275 281 \subsection{Slopes for momentum iso-neutral mixing} 276 282 … … 299 305 (see \autoref{sec:LBC_coast}). 300 306 307 %% ================================================================================================= 301 308 \section[Lateral mixing coefficient (\forcode{nn_aht_ijk_t} \& \forcode{nn_ahm_ijk_t})]{Lateral mixing coefficient (\protect\np{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 302 309 \label{sec:LDF_coef} … … 305 312 The way the mixing coefficients are set in the reference version can be described as follows: 306 313 314 %% ================================================================================================= 307 315 \subsection[Mixing coefficients read from file (\forcode{=-20, -30})]{ Mixing coefficients read from file (\protect\np[=-20, -30]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np[=-20, -30]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 308 316 … … 313 321 The provided fields can either be 2d (\np[=-20]{nn_aht_ijk_t}{nn\_aht\_ijk\_t}, \np[=-20]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}) or 3d (\np[=-30]{nn_aht_ijk_t}{nn\_aht\_ijk\_t}, \np[=-30]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}). They must be given at U, V points for tracers and T, F points for momentum (see \autoref{tab:LDF_files}). 314 322 315 %-------------------------------------------------TABLE---------------------------------------------------316 323 \begin{table}[htb] 317 324 \centering … … 327 334 \label{tab:LDF_files} 328 335 \end{table} 329 %-------------------------------------------------------------------------------------------------------------- 330 336 337 %% ================================================================================================= 331 338 \subsection[Constant mixing coefficients (\forcode{=0})]{ Constant mixing coefficients (\protect\np[=0]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np[=0]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 332 339 … … 345 352 $U_{scl}$ and $L_{scl}$ are given by the namelist parameters \np{rn_Ud}{rn\_Ud}, \np{rn_Uv}{rn\_Uv}, \np{rn_Ld}{rn\_Ld} and \np{rn_Lv}{rn\_Lv}. 346 353 354 %% ================================================================================================= 347 355 \subsection[Vertically varying mixing coefficients (\forcode{=10})]{Vertically varying mixing coefficients (\protect\np[=10]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np[=10]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 348 356 … … 352 360 This profile is hard coded in module \mdl{ldfc1d\_c2d}, but can be easily modified by users. 353 361 362 %% ================================================================================================= 354 363 \subsection[Mesh size dependent mixing coefficients (\forcode{=20})]{Mesh size dependent mixing coefficients (\protect\np[=20]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np[=20]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 355 364 … … 377 386 \colorbox{yellow}{CASE \np{nn_aht_ijk_t}{nn\_aht\_ijk\_t} = 21 to be added} 378 387 388 %% ================================================================================================= 379 389 \subsection[Mesh size and depth dependent mixing coefficients (\forcode{=30})]{Mesh size and depth dependent mixing coefficients (\protect\np[=30]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np[=30]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 380 390 … … 383 393 the magnitude of the coefficient. 384 394 395 %% ================================================================================================= 385 396 \subsection[Velocity dependent mixing coefficients (\forcode{=31})]{Flow dependent mixing coefficients (\protect\np[=31]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} \& \protect\np[=31]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 386 397 In that case, the eddy coefficient is proportional to the local velocity magnitude so that the Reynolds number $Re = \lvert U \rvert e / A_l$ is constant (and here hardcoded to $12$): … … 397 408 \end{equation} 398 409 410 %% ================================================================================================= 399 411 \subsection[Deformation rate dependent viscosities (\forcode{nn_ahm_ijk_t=32})]{Deformation rate dependent viscosities (\protect\np[=32]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t})} 400 412 … … 433 445 where $C_{min}$ and $C_{max}$ are adimensional namelist parameters given by \np{rn_minfac}{rn\_minfac} and \np{rn_maxfac}{rn\_maxfac} respectively. 434 446 447 %% ================================================================================================= 435 448 \subsection{About space and time varying mixing coefficients} 436 449 … … 446 459 (\autoref{sec:INVARIANTS_dynldf_properties}). 447 460 461 %% ================================================================================================= 448 462 \section[Eddy induced velocity (\forcode{ln_ldfeiv})]{Eddy induced velocity (\protect\np{ln_ldfeiv}{ln\_ldfeiv})} 449 463 450 464 \label{sec:LDF_eiv} 451 465 452 %--------------------------------------------namtra_eiv---------------------------------------------------453 466 454 467 \begin{listing} … … 458 471 \end{listing} 459 472 460 %--------------------------------------------------------------------------------------------------------------461 473 462 474 %%gm from Triad appendix : to be incorporated.... … … 513 525 In case of setting \np[=.true.]{ln_traldf_triad}{ln\_traldf\_triad}, a skew form of the eddy induced advective fluxes is used, which is described in \autoref{apdx:TRIADS}. 514 526 527 %% ================================================================================================= 515 528 \section[Mixed layer eddies (\forcode{ln_mle})]{Mixed layer eddies (\protect\np{ln_mle}{ln\_mle})} 516 529 \label{sec:LDF_mle} 517 530 518 %--------------------------------------------namtra_eiv---------------------------------------------------519 531 520 532 \begin{listing} … … 524 536 \end{listing} 525 537 526 %--------------------------------------------------------------------------------------------------------------527 538 528 539 If \np[=.true.]{ln_mle}{ln\_mle} in \nam{tra_mle}{tra\_mle} namelist, a parameterization of the mixing due to unresolved mixed layer instabilities is activated (\citet{foxkemper.ferrari_JPO08}). Additional transport is computed in \rou{ldf\_mle\_trp} and added to the eulerian transport in \rou{tra\_adv} as done for eddy induced advection. -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_OBS.tex
r11596 r11597 9 9 \vfill 10 10 \begin{figure}[b] 11 %% ================================================================================================= 11 12 \subsubsection*{Changes record} 12 13 \begin{tabular}{l||l|m{0.65\linewidth}} … … 55 56 In \autoref{sec:OBS_obsutils} we describe some utilities to help work with the files produced by the OBS code. 56 57 58 %% ================================================================================================= 57 59 \section{Running the observation operator code example} 58 60 \label{sec:OBS_example} … … 103 105 \autoref{sec:OBS_obsutils}. 104 106 107 %% ================================================================================================= 105 108 \section{Technical details (feedback type observation file headers)} 106 109 \label{sec:OBS_details} … … 109 112 the observation files that may be used with the observation operator. 110 113 111 %------------------------------------------namobs--------------------------------------------------------112 114 113 115 \begin{listing} … … 116 118 \label{lst:namobs} 117 119 \end{listing} 118 %-------------------------------------------------------------------------------------------------------------119 120 120 121 The observation operator code uses the feedback observation file format for all data types. … … 123 124 sea surface temperature are in the following subsections. 124 125 126 %% ================================================================================================= 125 127 \subsection{Profile feedback file} 126 128 … … 279 281 \end{clines} 280 282 283 %% ================================================================================================= 281 284 \subsection{Sea level anomaly feedback file} 282 285 … … 425 428 \end{clines} 426 429 430 %% ================================================================================================= 427 431 \subsection{Sea surface temperature feedback file} 428 432 … … 542 546 \end{clines} 543 547 548 %% ================================================================================================= 544 549 \section{Theoretical details} 545 550 \label{sec:OBS_theory} 546 551 552 %% ================================================================================================= 547 553 \subsection{Horizontal interpolation and averaging methods} 548 554 … … 579 585 Below is some more detail on the various options for interpolation and averaging available in \NEMO. 580 586 587 %% ================================================================================================= 581 588 \subsubsection{Horizontal interpolation} 582 589 … … 667 674 \end{enumerate} 668 675 676 %% ================================================================================================= 669 677 \subsubsection{Horizontal averaging} 670 678 … … 708 716 \end{figure} 709 717 718 %% ================================================================================================= 710 719 \subsection{Grid search} 711 720 … … 758 767 the $i$ and $j$ ranges of this point searched to determine the precise four points surrounding the observation. 759 768 769 %% ================================================================================================= 760 770 \subsection{Parallel aspects of horizontal interpolation} 761 771 \label{subsec:OBS_parallel} … … 772 782 and 2) round-robin. 773 783 784 %% ================================================================================================= 774 785 \subsubsection{Geographical distribution of observations among processors} 775 786 … … 798 809 this could lead to load imbalance. 799 810 811 %% ================================================================================================= 800 812 \subsubsection{Round-robin distribution of observations among processors} 801 813 … … 819 831 a subroutine has been developed that retrieves any grid points in the global space. 820 832 833 %% ================================================================================================= 821 834 \subsection{Vertical interpolation operator} 822 835 … … 830 843 %\usepackage{framed} 831 844 845 %% ================================================================================================= 832 846 \section{Standalone observation operator} 833 847 \label{sec:OBS_sao} 834 848 849 %% ================================================================================================= 835 850 \subsection{Concept} 836 851 … … 849 864 By forecast, we mean any method which produces an estimate of physical reality which is not an observed value. 850 865 851 %--------------------------------------------------------------------------------------------------------852 866 % sao.exe 853 %-------------------------------------------------------------------------------------------------------- 854 867 868 %% ================================================================================================= 855 869 \subsection{Using the standalone observation operator} 856 870 871 %% ================================================================================================= 857 872 \subsubsection{Building} 858 873 … … 862 877 Note this a similar approach to that taken by the standalone surface scheme \emph{SAS\_SRC} and the offline TOP model \emph{OFF\_SRC}. 863 878 864 %--------------------------------------------------------------------------------------------------------865 879 % Running 866 % --------------------------------------------------------------------------------------------------------880 %% ================================================================================================= 867 881 \subsubsection{Running} 868 882 … … 870 884 a full \NEMO\ namelist and then to run the executable as if it were nemo.exe. 871 885 872 %--------------------------------------------------------------------------------------------------------873 886 % Configuration section 874 % --------------------------------------------------------------------------------------------------------887 %% ================================================================================================= 875 888 \subsection{Configuring the standalone observation operator} 876 889 The observation files and settings understood by \nam{obs}{obs} have been outlined in the online observation operator section. 877 890 In addition is a further namelist \nam{sao}{sao} which used to set the input model fields for the SAO 878 891 892 %% ================================================================================================= 879 893 \subsubsection{Single field} 880 894 … … 901 915 \end{forlines} 902 916 917 %% ================================================================================================= 903 918 \subsubsection{Multiple fields per run} 904 919 … … 936 951 This approach is referred to as \emph{Class 4} since it is the fourth metric defined by the GODAE intercomparison project. This requires multiple runs of the SAO and running an additional utility (not currently in the \NEMO\ repository) to combine the feedback files into one class 4 file. 937 952 953 %% ================================================================================================= 938 954 \section{Observation utilities} 939 955 \label{sec:OBS_obsutils} … … 948 964 OBSTOOLS and dataplot are described in more detail below. 949 965 966 %% ================================================================================================= 950 967 \subsection{Obstools} 951 968 … … 953 970 This are helpful in handling observation files and the feedback file output from the observation operator. A brief description of some of the utilities follows 954 971 972 %% ================================================================================================= 955 973 \subsubsection{corio2fb} 956 974 … … 962 980 \end{cmds} 963 981 982 %% ================================================================================================= 964 983 \subsubsection{enact2fb} 965 984 … … 971 990 \end{cmds} 972 991 992 %% ================================================================================================= 973 993 \subsubsection{fbcomb} 974 994 … … 981 1001 \end{cmds} 982 1002 1003 %% ================================================================================================= 983 1004 \subsubsection{fbmatchup} 984 1005 … … 990 1011 \end{cmds} 991 1012 1013 %% ================================================================================================= 992 1014 \subsubsection{fbprint} 993 1015 … … 1018 1040 \end{cmds} 1019 1041 1042 %% ================================================================================================= 1020 1043 \subsubsection{fbsel} 1021 1044 … … 1027 1050 \end{cmds} 1028 1051 1052 %% ================================================================================================= 1029 1053 \subsubsection{fbstat} 1030 1054 … … 1036 1060 \end{cmds} 1037 1061 1062 %% ================================================================================================= 1038 1063 \subsubsection{fbthin} 1039 1064 … … 1046 1071 \end{cmds} 1047 1072 1073 %% ================================================================================================= 1048 1074 \subsubsection{sla2fb} 1049 1075 … … 1058 1084 \end{cmds} 1059 1085 1086 %% ================================================================================================= 1060 1087 \subsubsection{vel2fb} 1061 1088 … … 1067 1094 \end{cmds} 1068 1095 1096 %% ================================================================================================= 1069 1097 \subsection{Building the obstools} 1070 1098 1071 1099 To build the obstools use in the tools directory use ./maketools -n OBSTOOLS -m [ARCH]. 1072 1100 1101 %% ================================================================================================= 1073 1102 \subsection{Dataplot} 1074 1103 -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_SBC.tex
r11596 r11597 8 8 \chaptertoc 9 9 10 %---------------------------------------namsbc--------------------------------------------------11 10 12 11 \begin{listing} … … 15 14 \label{lst:namsbc} 16 15 \end{listing} 17 %--------------------------------------------------------------------------------------------------------------18 16 19 17 The ocean needs seven fields as surface boundary condition: … … 87 85 which provides additional sources of fresh water. 88 86 87 %% ================================================================================================= 89 88 \section{Surface boundary condition for the ocean} 90 89 \label{sec:SBC_ocean} … … 147 146 these averaged fields are used to compute the surface fluxes at the frequency of \np{nn_fsbc}{nn\_fsbc} time-steps. 148 147 149 %-------------------------------------------------TABLE---------------------------------------------------150 148 \begin{table}[tb] 151 149 \centering … … 167 165 \label{tab:SBC_ssm} 168 166 \end{table} 169 %--------------------------------------------------------------------------------------------------------------170 167 171 168 %\colorbox{yellow}{Penser a} mettre dans le restant l'info nn\_fsbc ET nn\_fsbc*rdt de sorte de reinitialiser la moyenne si on change la frequence ou le pdt 172 169 170 %% ================================================================================================= 173 171 \section{Input data generic interface} 174 172 \label{sec:SBC_input} … … 203 201 By default, the data are assumed to be in the same directory as the executable, so that cn\_dir='./'. 204 202 203 %% ================================================================================================= 205 204 \subsection[Input data specification (\textit{fldread.F90})]{Input data specification (\protect\mdl{fldread})} 206 205 \label{subsec:SBC_fldread} … … 220 219 whether it is a climatological file or not, and to the open/close frequency (see below for definition). 221 220 222 %--------------------------------------------------TABLE--------------------------------------------------223 221 \begin{table}[htbp] 224 222 \centering … … 247 245 \label{tab:SBC_fldread} 248 246 \end{table} 249 %--------------------------------------------------------------------------------------------------------------250 247 251 248 \item [Record frequency]: … … 325 322 a useful feature for user considering that it is too heavy to manipulate the complete file for year Y-1. 326 323 324 %% ================================================================================================= 327 325 \subsection{Interpolation on-the-fly} 328 326 \label{subsec:SBC_iof} … … 347 345 Note that nn\_lsm=0 forces the code to not apply the procedure, even if a land/sea mask file is supplied. 348 346 347 %% ================================================================================================= 349 348 \subsubsection{Bilinear interpolation} 350 349 \label{subsec:SBC_iof_bilinear} … … 368 367 and wgt(1) corresponds to variable "wgt01" for example. 369 368 369 %% ================================================================================================= 370 370 \subsubsection{Bicubic interpolation} 371 371 \label{subsec:SBC_iof_bicubic} … … 386 386 the spatial dependency has been included into the weights. 387 387 388 %% ================================================================================================= 388 389 \subsubsection{Implementation} 389 390 \label{subsec:SBC_iof_imp} … … 421 422 or is a copy of one from the first few columns on the opposite side of the grid (cyclical case). 422 423 424 %% ================================================================================================= 423 425 \subsubsection{Limitations} 424 426 \label{subsec:SBC_iof_lim} … … 435 437 \end{enumerate} 436 438 439 %% ================================================================================================= 437 440 \subsubsection{Utilities} 438 441 \label{subsec:SBC_iof_util} … … 442 445 (see the directory NEMOGCM/TOOLS/WEIGHTS). 443 446 447 %% ================================================================================================= 444 448 \subsection{Standalone surface boundary condition scheme (SAS)} 445 449 \label{subsec:SBC_SAS} 446 450 447 %---------------------------------------namsbc_sas--------------------------------------------------448 451 449 452 \begin{listing} … … 452 455 \label{lst:namsbc_sas} 453 456 \end{listing} 454 %--------------------------------------------------------------------------------------------------------------455 457 456 458 In some circumstances, it may be useful to avoid calculating the 3D temperature, … … 513 515 (\np[=.true.]{ln_flx}{ln\_flx}) and to provide 3D oceanic velocities instead of 2D ones (\np{ln_flx}{ln\_flx}\forcode{=.true.}). In that last case, only the 1st level will be read in. 514 516 517 %% ================================================================================================= 515 518 \section[Flux formulation (\textit{sbcflx.F90})]{Flux formulation (\protect\mdl{sbcflx})} 516 519 \label{sec:SBC_flx} 517 %------------------------------------------namsbc_flx----------------------------------------------------518 520 519 521 \begin{listing} … … 522 524 \label{lst:namsbc_flx} 523 525 \end{listing} 524 %-------------------------------------------------------------------------------------------------------------525 526 526 527 In the flux formulation (\np[=.true.]{ln_flx}{ln\_flx}), … … 534 535 See \autoref{subsec:SBC_ssr} for its specification. 535 536 537 %% ================================================================================================= 536 538 \section[Bulk formulation (\textit{sbcblk.F90})]{Bulk formulation (\protect\mdl{sbcblk})} 537 539 \label{sec:SBC_blk} 538 %---------------------------------------namsbc_blk--------------------------------------------------539 540 540 541 \begin{listing} … … 543 544 \label{lst:namsbc_blk} 544 545 \end{listing} 545 %--------------------------------------------------------------------------------------------------------------546 546 547 547 In the bulk formulation, the surface boundary condition fields are computed with bulk formulae using atmospheric fields … … 562 562 The required 9 input fields are: 563 563 564 %--------------------------------------------------TABLE--------------------------------------------------565 564 \begin{table}[htbp] 566 565 \centering … … 590 589 \label{tab:SBC_BULK} 591 590 \end{table} 592 %--------------------------------------------------------------------------------------------------------------593 591 594 592 Note that the air velocity is provided at a tracer ocean point, not at a velocity ocean point ($u$- and $v$-points). … … 615 613 the namsbc\_blk namelist (see \autoref{subsec:SBC_fldread}). 616 614 615 %% ================================================================================================= 617 616 \subsection[Ocean-Atmosphere Bulk formulae (\textit{sbcblk\_algo\_coare.F90, sbcblk\_algo\_coare3p5.F90, sbcblk\_algo\_ecmwf.F90, sbcblk\_algo\_ncar.F90})]{Ocean-Atmosphere Bulk formulae (\mdl{sbcblk\_algo\_coare}, \mdl{sbcblk\_algo\_coare3p5}, \mdl{sbcblk\_algo\_ecmwf}, \mdl{sbcblk\_algo\_ncar})} 618 617 \label{subsec:SBC_blk_ocean} … … 640 639 \end{itemize} 641 640 641 %% ================================================================================================= 642 642 \subsection{Ice-Atmosphere Bulk formulae} 643 643 \label{subsec:SBC_blk_ice} … … 665 665 \end{itemize} 666 666 667 %% ================================================================================================= 667 668 \section[Coupled formulation (\textit{sbccpl.F90})]{Coupled formulation (\protect\mdl{sbccpl})} 668 669 \label{sec:SBC_cpl} 669 %------------------------------------------namsbc_cpl----------------------------------------------------670 670 671 671 \begin{listing} … … 674 674 \label{lst:namsbc_cpl} 675 675 \end{listing} 676 %-------------------------------------------------------------------------------------------------------------677 676 678 677 In the coupled formulation of the surface boundary condition, … … 702 701 In cases where this is definitely not possible, the model should abort with an error message. 703 702 703 %% ================================================================================================= 704 704 \section[Atmospheric pressure (\textit{sbcapr.F90})]{Atmospheric pressure (\protect\mdl{sbcapr})} 705 705 \label{sec:SBC_apr} 706 %------------------------------------------namsbc_apr----------------------------------------------------707 706 708 707 \begin{listing} … … 711 710 \label{lst:namsbc_apr} 712 711 \end{listing} 713 %-------------------------------------------------------------------------------------------------------------714 712 715 713 The optional atmospheric pressure can be used to force ocean and ice dynamics … … 739 737 \np{ln_apr_obc}{ln\_apr\_obc} might be set to true. 740 738 739 %% ================================================================================================= 741 740 \section[Surface tides (\textit{sbctide.F90})]{Surface tides (\protect\mdl{sbctide})} 742 741 \label{sec:SBC_tide} 743 742 744 %------------------------------------------nam_tide---------------------------------------745 743 746 744 \begin{listing} … … 749 747 \label{lst:nam_tide} 750 748 \end{listing} 751 %-----------------------------------------------------------------------------------------752 749 753 750 The tidal forcing, generated by the gravity forces of the Earth-Moon and Earth-Sun sytems, … … 791 788 \forcode{.false.} removes the SAL contribution. 792 789 790 %% ================================================================================================= 793 791 \section[River runoffs (\textit{sbcrnf.F90})]{River runoffs (\protect\mdl{sbcrnf})} 794 792 \label{sec:SBC_rnf} 795 %------------------------------------------namsbc_rnf----------------------------------------------------796 793 797 794 \begin{listing} … … 800 797 \label{lst:namsbc_rnf} 801 798 \end{listing} 802 %-------------------------------------------------------------------------------------------------------------803 799 804 800 %River runoff generally enters the ocean at a nonzero depth rather than through the surface. … … 913 909 %To do this we need to treat evaporation/precipitation fluxes and river runoff differently in the tra_sbc module. We decided to separate them throughout the code, so that the variable emp represented solely evaporation minus precipitation fluxes, and a new 2d variable rnf was added which represents the volume flux of river runoff (in kg/m2s to remain consistent with emp). This meant many uses of emp and emps needed to be changed, a list of all modules which use emp or emps and the changes made are below: 914 910 911 %% ================================================================================================= 915 912 \section[Ice shelf melting (\textit{sbcisf.F90})]{Ice shelf melting (\protect\mdl{sbcisf})} 916 913 \label{sec:SBC_isf} 917 %------------------------------------------namsbc_isf----------------------------------------------------918 914 919 915 \begin{listing} … … 922 918 \label{lst:namsbc_isf} 923 919 \end{listing} 924 %--------------------------------------------------------------------------------------------------------925 920 926 921 The namelist variable in \nam{sbc}{sbc}, \np{nn_isf}{nn\_isf}, controls the ice shelf representation. … … 1029 1024 \end{figure} 1030 1025 1026 %% ================================================================================================= 1031 1027 \section{Ice sheet coupling} 1032 1028 \label{sec:SBC_iscpl} 1033 %------------------------------------------namsbc_iscpl----------------------------------------------------1034 1029 1035 1030 \begin{listing} … … 1038 1033 \label{lst:namsbc_iscpl} 1039 1034 \end{listing} 1040 %--------------------------------------------------------------------------------------------------------1041 1035 1042 1036 Ice sheet/ocean coupling is done through file exchange at the restart step. … … 1093 1087 The corrective increment is apply into the cell itself (if it is a wet cell), the neigbouring cells or the closest wet cell (if the cell is now dry). 1094 1088 1089 %% ================================================================================================= 1095 1090 \section{Handling of icebergs (ICB)} 1096 1091 \label{sec:SBC_ICB_icebergs} 1097 %------------------------------------------namberg----------------------------------------------------1098 1092 1099 1093 \begin{listing} … … 1102 1096 \label{lst:namberg} 1103 1097 \end{listing} 1104 %-------------------------------------------------------------------------------------------------------------1105 1098 1106 1099 Icebergs are modelled as lagrangian particles in \NEMO\ \citep{marsh.ivchenko.ea_GMD15}. … … 1162 1155 since its trajectory data may be spread across multiple files. 1163 1156 1157 %% ================================================================================================= 1164 1158 \section[Interactions with waves (\textit{sbcwave.F90}, \forcode{ln_wave})]{Interactions with waves (\protect\mdl{sbcwave}, \protect\np{ln_wave}{ln\_wave})} 1165 1159 \label{sec:SBC_wave} 1166 %------------------------------------------namsbc_wave--------------------------------------------------------1167 1160 1168 1161 \begin{listing} … … 1171 1164 \label{lst:namsbc_wave} 1172 1165 \end{listing} 1173 %-------------------------------------------------------------------------------------------------------------1174 1166 1175 1167 Ocean waves represent the interface between the ocean and the atmosphere, so \NEMO\ is extended to incorporate … … 1196 1188 1197 1189 % ---------------------------------------------------------------- 1190 %% ================================================================================================= 1198 1191 \subsection[Neutral drag coefficient from wave model (\forcode{ln_cdgw})]{Neutral drag coefficient from wave model (\protect\np{ln_cdgw}{ln\_cdgw})} 1199 1192 \label{subsec:SBC_wave_cdgw} … … 1208 1201 % 3D Stokes Drift (ln_sdw, nn_sdrift) 1209 1202 % ---------------------------------------------------------------- 1203 %% ================================================================================================= 1210 1204 \subsection[3D Stokes Drift (\forcode{ln_sdw} \& \forcode{nn_sdrift})]{3D Stokes Drift (\protect\np{ln_sdw}{ln\_sdw} \& \np{nn_sdrift}{nn\_sdrift})} 1211 1205 \label{subsec:SBC_wave_sdw} … … 1303 1297 % Stokes-Coriolis term (ln_stcor) 1304 1298 % ---------------------------------------------------------------- 1299 %% ================================================================================================= 1305 1300 \subsection[Stokes-Coriolis term (\forcode{ln_stcor})]{Stokes-Coriolis term (\protect\np{ln_stcor}{ln\_stcor})} 1306 1301 \label{subsec:SBC_wave_stcor} … … 1316 1311 % Waves modified stress (ln_tauwoc, ln_tauw) 1317 1312 % ---------------------------------------------------------------- 1313 %% ================================================================================================= 1318 1314 \subsection[Wave modified stress (\forcode{ln_tauwoc} \& \forcode{ln_tauw})]{Wave modified sress (\protect\np{ln_tauwoc}{ln\_tauwoc} \& \np{ln_tauw}{ln\_tauw})} 1319 1315 \label{subsec:SBC_wave_tauw} … … 1353 1349 meridional stress components by setting \np[=.true.]{ln_tauw}{ln\_tauw}. 1354 1350 1351 %% ================================================================================================= 1355 1352 \section{Miscellaneous options} 1356 1353 \label{sec:SBC_misc} 1357 1354 1355 %% ================================================================================================= 1358 1356 \subsection[Diurnal cycle (\textit{sbcdcy.F90})]{Diurnal cycle (\protect\mdl{sbcdcy})} 1359 1357 \label{subsec:SBC_dcy} 1360 %------------------------------------------namsbc-------------------------------------------------------------1361 1358 % 1362 1359 1363 %-------------------------------------------------------------------------------------------------------------1364 1360 1365 1361 \begin{figure}[!t] … … 1411 1407 an inconsistency between the scale of the vertical resolution and the forcing acting on that scale. 1412 1408 1409 %% ================================================================================================= 1413 1410 \subsection{Rotation of vector pairs onto the model grid directions} 1414 1411 \label{subsec:SBC_rotation} … … 1427 1424 The rot\_rep routine from the \mdl{geo2ocean} module is used to perform the rotation. 1428 1425 1426 %% ================================================================================================= 1429 1427 \subsection[Surface restoring to observed SST and/or SSS (\textit{sbcssr.F90})]{Surface restoring to observed SST and/or SSS (\protect\mdl{sbcssr})} 1430 1428 \label{subsec:SBC_ssr} 1431 %------------------------------------------namsbc_ssr----------------------------------------------------1432 1429 1433 1430 \begin{listing} … … 1436 1433 \label{lst:namsbc_ssr} 1437 1434 \end{listing} 1438 %-------------------------------------------------------------------------------------------------------------1439 1435 1440 1436 Options are defined through the \nam{sbc_ssr}{sbc\_ssr} namelist variables. … … 1471 1467 reduce the uncertainties we have on the observed freshwater budget. 1472 1468 1469 %% ================================================================================================= 1473 1470 \subsection{Handling of ice-covered area (\textit{sbcice\_...})} 1474 1471 \label{subsec:SBC_ice-cover} … … 1508 1505 %GS: ocean-ice (SI3) interface is not located in SBC directory anymore, so it should be included in SI3 doc 1509 1506 1507 %% ================================================================================================= 1510 1508 \subsection[Interface to CICE (\textit{sbcice\_cice.F90})]{Interface to CICE (\protect\mdl{sbcice\_cice})} 1511 1509 \label{subsec:SBC_cice} … … 1538 1536 there is no sea ice. 1539 1537 1538 %% ================================================================================================= 1540 1539 \subsection[Freshwater budget control (\textit{sbcfwb.F90})]{Freshwater budget control (\protect\mdl{sbcfwb})} 1541 1540 \label{subsec:SBC_fwb} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_STO.tex
r11596 r11597 9 9 % \vfill 10 10 % \begin{figure}[b] 11 %% ================================================================================================= 11 12 % \subsubsection*{Changes record} 12 13 % \begin{tabular}{l||l|m{0.65\linewidth}} … … 39 40 $\mathbf{\xi}$ are uncorrelated over the horizontal and fully correlated along the vertical. 40 41 42 %% ================================================================================================= 41 43 \section{Stochastic processes} 42 44 \label{sec:STO_the_details} … … 114 116 for any other configuration or resolution of the model. 115 117 118 %% ================================================================================================= 116 119 \section{Implementation details} 117 120 \label{sec:STO_thech_details} … … 165 168 The set of parameters is available in \nam{sto}{sto} namelist 166 169 (only the subset for equation of state stochastic parametrisation is listed below): 167 %---------------------------------------namsto--------------------------------------------------168 170 169 171 \begin{listing} … … 172 174 \label{lst:namsto} 173 175 \end{listing} 174 %--------------------------------------------------------------------------------------------------------------175 176 176 177 The variables of stochastic paramtetrisation itself (based on the global 2° experiments as in \cite{brankart_OM13} are: -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex
r11596 r11597 54 54 (\np{ln_tra_trd}{ln\_tra\_trd} or \np[=.true.]{ln_tra_mxl}{ln\_tra\_mxl}), as described in \autoref{chap:DIA}. 55 55 56 %% ================================================================================================= 56 57 \section[Tracer advection (\textit{traadv.F90})]{Tracer advection (\protect\mdl{traadv})} 57 58 \label{sec:TRA_adv} 58 %------------------------------------------namtra_adv-----------------------------------------------------59 59 60 60 \begin{listing} … … 63 63 \label{lst:namtra_adv} 64 64 \end{listing} 65 %-------------------------------------------------------------------------------------------------------------66 65 67 66 When considered (\ie\ when \np{ln_traadv_OFF}{ln\_traadv\_OFF} is not set to \forcode{.true.}), … … 171 170 their results. 172 171 172 %% ================================================================================================= 173 173 \subsection[CEN: Centred scheme (\forcode{ln_traadv_cen})]{CEN: Centred scheme (\protect\np{ln_traadv_cen}{ln\_traadv\_cen})} 174 174 \label{subsec:TRA_adv_cen} … … 235 235 these near boundary grid points. 236 236 237 %% ================================================================================================= 237 238 \subsection[FCT: Flux Corrected Transport scheme (\forcode{ln_traadv_fct})]{FCT: Flux Corrected Transport scheme (\protect\np{ln_traadv_fct}{ln\_traadv\_fct})} 238 239 \label{subsec:TRA_adv_tvd} … … 274 275 while a forward scheme is used for the diffusive part. 275 276 277 %% ================================================================================================= 276 278 \subsection[MUSCL: Monotone Upstream Scheme for Conservative Laws (\forcode{ln_traadv_mus})]{MUSCL: Monotone Upstream Scheme for Conservative Laws (\protect\np{ln_traadv_mus}{ln\_traadv\_mus})} 277 279 \label{subsec:TRA_adv_mus} … … 307 309 (\np[=.true.]{ln_mus_ups}{ln\_mus\_ups}). 308 310 311 %% ================================================================================================= 309 312 \subsection[UBS a.k.a. UP3: Upstream-Biased Scheme (\forcode{ln_traadv_ubs})]{UBS a.k.a. UP3: Upstream-Biased Scheme (\protect\np{ln_traadv_ubs}{ln\_traadv\_ubs})} 310 313 \label{subsec:TRA_adv_ubs} … … 376 379 Note the current version of \NEMO\ uses the computationally more efficient formulation \autoref{eq:TRA_adv_ubs}. 377 380 381 %% ================================================================================================= 378 382 \subsection[QCK: QuiCKest scheme (\forcode{ln_traadv_qck})]{QCK: QuiCKest scheme (\protect\np{ln_traadv_qck}{ln\_traadv\_qck})} 379 383 \label{subsec:TRA_adv_qck} … … 396 400 %%%gmcomment : Cross term are missing in the current implementation.... 397 401 402 %% ================================================================================================= 398 403 \section[Tracer lateral diffusion (\textit{traldf.F90})]{Tracer lateral diffusion (\protect\mdl{traldf})} 399 404 \label{sec:TRA_ldf} 400 %-----------------------------------------nam_traldf------------------------------------------------------401 405 402 406 \begin{listing} … … 405 409 \label{lst:namtra_ldf} 406 410 \end{listing} 407 %-------------------------------------------------------------------------------------------------------------408 411 409 412 Options are defined through the \nam{tra_ldf}{tra\_ldf} namelist variables. … … 425 428 the pure vertical component is split into an explicit and an implicit part \citep{lemarie.debreu.ea_OM12}. 426 429 430 %% ================================================================================================= 427 431 \subsection[Type of operator (\forcode{ln_traldf_}\{\forcode{OFF,lap,blp}\})]{Type of operator (\protect\np{ln_traldf_OFF}{ln\_traldf\_OFF}, \protect\np{ln_traldf_lap}{ln\_traldf\_lap}, or \protect\np{ln_traldf_blp}{ln\_traldf\_blp})} 428 432 \label{subsec:TRA_ldf_op} … … 456 460 whereas the laplacian damping time scales only like $\lambda^{-2}$. 457 461 462 %% ================================================================================================= 458 463 \subsection[Action direction (\forcode{ln_traldf_}\{\forcode{lev,hor,iso,triad}\})]{Direction of action (\protect\np{ln_traldf_lev}{ln\_traldf\_lev}, \protect\np{ln_traldf_hor}{ln\_traldf\_hor}, \protect\np{ln_traldf_iso}{ln\_traldf\_iso}, or \protect\np{ln_traldf_triad}{ln\_traldf\_triad})} 459 464 \label{subsec:TRA_ldf_dir} … … 479 484 the next two sub-sections. 480 485 486 %% ================================================================================================= 481 487 \subsection[Iso-level (bi-)laplacian operator (\forcode{ln_traldf_iso})]{Iso-level (bi-)laplacian operator ( \protect\np{ln_traldf_iso}{ln\_traldf\_iso})} 482 488 \label{subsec:TRA_ldf_lev} … … 507 513 They are calculated in the \mdl{zpshde} module, described in \autoref{sec:TRA_zpshde}. 508 514 515 %% ================================================================================================= 509 516 \subsection{Standard and triad (bi-)laplacian operator} 510 517 \label{subsec:TRA_ldf_iso_triad} … … 512 519 %&& Standard rotated (bi-)laplacian operator 513 520 %&& ---------------------------------------------- 521 %% ================================================================================================= 514 522 \subsubsection[Standard rotated (bi-)laplacian operator (\textit{traldf\_iso.F90})]{Standard rotated (bi-)laplacian operator (\protect\mdl{traldf\_iso})} 515 523 \label{subsec:TRA_ldf_iso} … … 555 563 %&& Triad rotated (bi-)laplacian operator 556 564 %&& ------------------------------------------- 565 %% ================================================================================================= 557 566 \subsubsection[Triad rotated (bi-)laplacian operator (\forcode{ln_traldf_triad})]{Triad rotated (bi-)laplacian operator (\protect\np{ln_traldf_triad}{ln\_traldf\_triad})} 558 567 \label{subsec:TRA_ldf_triad} … … 573 582 %&& Option for the rotated operators 574 583 %&& ---------------------------------------------- 584 %% ================================================================================================= 575 585 \subsubsection{Option for the rotated operators} 576 586 \label{subsec:TRA_ldf_options} … … 584 594 \end{itemize} 585 595 596 %% ================================================================================================= 586 597 \section[Tracer vertical diffusion (\textit{trazdf.F90})]{Tracer vertical diffusion (\protect\mdl{trazdf})} 587 598 \label{sec:TRA_zdf} 588 %--------------------------------------------namzdf--------------------------------------------------------- 589 590 %-------------------------------------------------------------------------------------------------------------- 599 591 600 592 601 Options are defined through the \nam{zdf}{zdf} namelist variables. … … 618 627 it overcomes the stability constraint. 619 628 629 %% ================================================================================================= 620 630 \section{External forcing} 621 631 \label{sec:TRA_sbc_qsr_bbc} 622 632 633 %% ================================================================================================= 623 634 \subsection[Surface boundary condition (\textit{trasbc.F90})]{Surface boundary condition (\protect\mdl{trasbc})} 624 635 \label{subsec:TRA_sbc} … … 686 697 This is the reason why the modified filter is not applied in the linear free surface case (see \autoref{chap:TD}). 687 698 699 %% ================================================================================================= 688 700 \subsection[Solar radiation penetration (\textit{traqsr.F90})]{Solar radiation penetration (\protect\mdl{traqsr})} 689 701 \label{subsec:TRA_qsr} 690 %--------------------------------------------namqsr--------------------------------------------------------691 702 692 703 \begin{listing} … … 695 706 \label{lst:namtra_qsr} 696 707 \end{listing} 697 %--------------------------------------------------------------------------------------------------------------698 708 699 709 Options are defined through the \nam{tra_qsr}{tra\_qsr} namelist variables. … … 804 814 \end{figure} 805 815 816 %% ================================================================================================= 806 817 \subsection[Bottom boundary condition (\textit{trabbc.F90}) - \forcode{ln_trabbc})]{Bottom boundary condition (\protect\mdl{trabbc} - \protect\np{ln_trabbc}{ln\_trabbc})} 807 818 \label{subsec:TRA_bbc} 808 %--------------------------------------------nambbc--------------------------------------------------------809 819 810 820 \begin{listing} … … 813 823 \label{lst:nambbc} 814 824 \end{listing} 815 %--------------------------------------------------------------------------------------------------------------816 825 \begin{figure}[!t] 817 826 \centering … … 839 848 the \ifile{geothermal\_heating} NetCDF file (\autoref{fig:TRA_geothermal}) \citep{emile-geay.madec_OS09}. 840 849 850 %% ================================================================================================= 841 851 \section[Bottom boundary layer (\textit{trabbl.F90} - \forcode{ln_trabbl})]{Bottom boundary layer (\protect\mdl{trabbl} - \protect\np{ln_trabbl}{ln\_trabbl})} 842 852 \label{sec:TRA_bbl} 843 %--------------------------------------------nambbl---------------------------------------------------------844 853 845 854 \begin{listing} … … 848 857 \label{lst:nambbl} 849 858 \end{listing} 850 %--------------------------------------------------------------------------------------------------------------851 859 852 860 Options are defined through the \nam{bbl}{bbl} namelist variables. … … 872 880 \citet{campin.goosse_T99}. 873 881 882 %% ================================================================================================= 874 883 \subsection[Diffusive bottom boundary layer (\forcode{nn_bbl_ldf=1})]{Diffusive bottom boundary layer (\protect\np[=1]{nn_bbl_ldf}{nn\_bbl\_ldf})} 875 884 \label{subsec:TRA_bbl_diff} … … 908 917 $\overline H^\sigma$, the along bottom mean temperature, salinity and depth, respectively. 909 918 919 %% ================================================================================================= 910 920 \subsection[Advective bottom boundary layer (\forcode{nn_bbl_adv=1,2})]{Advective bottom boundary layer (\protect\np[=1,2]{nn_bbl_adv}{nn\_bbl\_adv})} 911 921 \label{subsec:TRA_bbl_adv} … … 994 1004 It has to be used to compute the effective velocity as well as the effective overturning circulation. 995 1005 1006 %% ================================================================================================= 996 1007 \section[Tracer damping (\textit{tradmp.F90})]{Tracer damping (\protect\mdl{tradmp})} 997 1008 \label{sec:TRA_dmp} 998 %--------------------------------------------namtra_dmp-------------------------------------------------999 1009 1000 1010 \begin{listing} … … 1003 1013 \label{lst:namtra_dmp} 1004 1014 \end{listing} 1005 %--------------------------------------------------------------------------------------------------------------1006 1015 1007 1016 In some applications it can be useful to add a Newtonian damping term into the temperature and salinity equations: … … 1050 1059 \path{./tools/DMP_TOOLS}. 1051 1060 1061 %% ================================================================================================= 1052 1062 \section[Tracer time evolution (\textit{tranxt.F90})]{Tracer time evolution (\protect\mdl{tranxt})} 1053 1063 \label{sec:TRA_nxt} 1054 %--------------------------------------------namdom-----------------------------------------------------1055 %--------------------------------------------------------------------------------------------------------------1056 1064 1057 1065 Options are defined through the \nam{dom}{dom} namelist variables. … … 1082 1090 $T^{t - \rdt} = T^t$ and $T^t = T_f$. 1083 1091 1092 %% ================================================================================================= 1084 1093 \section[Equation of state (\textit{eosbn2.F90})]{Equation of state (\protect\mdl{eosbn2})} 1085 1094 \label{sec:TRA_eosbn2} 1086 %--------------------------------------------nameos-----------------------------------------------------1087 1095 1088 1096 \begin{listing} … … 1091 1099 \label{lst:nameos} 1092 1100 \end{listing} 1093 %-------------------------------------------------------------------------------------------------------------- 1094 1101 1102 %% ================================================================================================= 1095 1103 \subsection[Equation of seawater (\forcode{ln_}\{\forcode{teos10,eos80,seos}\})]{Equation of seawater (\protect\np{ln_teos10}{ln\_teos10}, \protect\np{ln_teos80}{ln\_teos80}, or \protect\np{ln_seos}{ln\_seos})} 1096 1104 \label{subsec:TRA_eos} … … 1212 1220 \end{table} 1213 1221 1222 %% ================================================================================================= 1214 1223 \subsection[Brunt-V\"{a}is\"{a}l\"{a} frequency]{Brunt-V\"{a}is\"{a}l\"{a} frequency} 1215 1224 \label{subsec:TRA_bn2} … … 1232 1241 They are computed through \textit{eos\_rab}, a \fortran\ function that can be found in \mdl{eosbn2}. 1233 1242 1243 %% ================================================================================================= 1234 1244 \subsection{Freezing point of seawater} 1235 1245 \label{subsec:TRA_fzp} … … 1251 1261 a \fortran\ function that can be found in \mdl{eosbn2}. 1252 1262 1263 %% ================================================================================================= 1253 1264 %\subsection{Potential Energy anomalies} 1254 1265 %\label{subsec:TRA_bn2} … … 1257 1268 % 1258 1269 1270 %% ================================================================================================= 1259 1271 \section[Horizontal derivative in \textit{zps}-coordinate (\textit{zpshde.F90})]{Horizontal derivative in \textit{zps}-coordinate (\protect\mdl{zpshde})} 1260 1272 \label{sec:TRA_zpshde} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_ZDF.tex
r11596 r11597 12 12 %gm% Add here a small introduction to ZDF and naming of the different physics (similar to what have been written for TRA and DYN. 13 13 14 %% ================================================================================================= 14 15 \section{Vertical mixing} 15 16 \label{sec:ZDF} … … 38 39 %and thus of the formulation used (see \autoref{chap:TD}). 39 40 40 %--------------------------------------------namzdf--------------------------------------------------------41 41 42 42 \begin{listing} … … 45 45 \label{lst:namzdf} 46 46 \end{listing} 47 %-------------------------------------------------------------------------------------------------------------- 48 47 48 %% ================================================================================================= 49 49 \subsection[Constant (\forcode{ln_zdfcst})]{Constant (\protect\np{ln_zdfcst}{ln\_zdfcst})} 50 50 \label{subsec:ZDF_cst} … … 66 66 $\sim10^{-9}~m^2.s^{-1}$ for salinity. 67 67 68 %% ================================================================================================= 68 69 \subsection[Richardson number dependent (\forcode{ln_zdfric})]{Richardson number dependent (\protect\np{ln_zdfric}{ln\_zdfric})} 69 70 \label{subsec:ZDF_ric} 70 71 71 %--------------------------------------------namric---------------------------------------------------------72 72 73 73 \begin{listing} … … 76 76 \label{lst:namzdf_ric} 77 77 \end{listing} 78 %--------------------------------------------------------------------------------------------------------------79 78 80 79 When \np[=.true.]{ln_zdfric}{ln\_zdfric}, a local Richardson number dependent formulation for the vertical momentum and … … 124 123 the empirical values \np{rn_wtmix}{rn\_wtmix} and \np{rn_wvmix}{rn\_wvmix} \citep{lermusiaux_JMS01}. 125 124 125 %% ================================================================================================= 126 126 \subsection[TKE turbulent closure scheme (\forcode{ln_zdftke})]{TKE turbulent closure scheme (\protect\np{ln_zdftke}{ln\_zdftke})} 127 127 \label{subsec:ZDF_tke} 128 %--------------------------------------------namzdf_tke--------------------------------------------------129 128 130 129 \begin{listing} … … 133 132 \label{lst:namzdf_tke} 134 133 \end{listing} 135 %--------------------------------------------------------------------------------------------------------------136 134 137 135 The vertical eddy viscosity and diffusivity coefficients are computed from a TKE turbulent closure model based on … … 196 194 \np{rn_avt0}{rn\_avt0} (\nam{zdf}{zdf} namelist, see \autoref{subsec:ZDF_cst}). 197 195 196 %% ================================================================================================= 198 197 \subsubsection{Turbulent length scale} 199 198 … … 266 265 $\bar{e}$ reach its minimum value ($1.10^{-6}= C_k\, l_{min} \,\sqrt{\bar{e}_{min}}$ ). 267 266 267 %% ================================================================================================= 268 268 \subsubsection{Surface wave breaking parameterization} 269 %-----------------------------------------------------------------------%270 269 271 270 Following \citet{mellor.blumberg_JPO04}, the TKE turbulence closure model has been modified to … … 300 299 surface $\bar{e}$ value. 301 300 301 %% ================================================================================================= 302 302 \subsubsection{Langmuir cells} 303 %--------------------------------------%304 303 305 304 Langmuir circulations (LC) can be described as ordered large-scale vertical motions in … … 354 353 \] 355 354 355 %% ================================================================================================= 356 356 \subsubsection{Mixing just below the mixed layer} 357 %--------------------------------------------------------------%358 357 359 358 Vertical mixing parameterizations commonly used in ocean general circulation models tend to … … 402 401 % (\eg\ Mellor, 1989; Large et al., 1994; Meier, 2001; Axell, 2002; St. Laurent and Garrett, 2002). 403 402 403 %% ================================================================================================= 404 404 \subsection[GLS: Generic Length Scale (\forcode{ln_zdfgls})]{GLS: Generic Length Scale (\protect\np{ln_zdfgls}{ln\_zdfgls})} 405 405 \label{subsec:ZDF_gls} 406 406 407 %--------------------------------------------namzdf_gls---------------------------------------------------------408 407 409 408 \begin{listing} … … 412 411 \label{lst:namzdf_gls} 413 412 \end{listing} 414 %--------------------------------------------------------------------------------------------------------------415 413 416 414 The Generic Length Scale (GLS) scheme is a turbulent closure scheme based on two prognostic equations: … … 463 461 They are made available through the \np{nn_clo}{nn\_clo} namelist parameter. 464 462 465 %--------------------------------------------------TABLE--------------------------------------------------466 463 \begin{table}[htbp] 467 464 \centering … … 490 487 \label{tab:ZDF_GLS} 491 488 \end{table} 492 %--------------------------------------------------------------------------------------------------------------493 489 494 490 In the Mellor-Yamada model, the negativity of $n$ allows to use a wall function to force the convergence of … … 522 518 in \citet{reffray.guillaume.ea_GMD15} for the \NEMO\ model. 523 519 520 %% ================================================================================================= 524 521 \subsection[OSM: OSMosis boundary layer scheme (\forcode{ln_zdfosm})]{OSM: OSMosis boundary layer scheme (\protect\np{ln_zdfosm}{ln\_zdfosm})} 525 522 \label{subsec:ZDF_osm} 526 %--------------------------------------------namzdf_osm---------------------------------------------------------527 523 528 524 \begin{listing} … … 531 527 \label{lst:namzdf_osm} 532 528 \end{listing} 533 %--------------------------------------------------------------------------------------------------------------534 529 535 530 The OSMOSIS turbulent closure scheme is based on...... TBC 536 531 532 %% ================================================================================================= 537 533 \subsection[ Discrete energy conservation for TKE and GLS schemes]{Discrete energy conservation for TKE and GLS schemes} 538 534 \label{subsec:ZDF_tke_ene} … … 635 631 %For the latter, it is in fact the ratio $\sqrt{\bar{e}}/l_\epsilon$ which is stored. 636 632 633 %% ================================================================================================= 637 634 \section{Convection} 638 635 \label{sec:ZDF_conv} … … 645 642 or/and the use of a turbulent closure scheme. 646 643 644 %% ================================================================================================= 647 645 \subsection[Non-penetrative convective adjustment (\forcode{ln_tranpc})]{Non-penetrative convective adjustment (\protect\np{ln_tranpc}{ln\_tranpc})} 648 646 \label{subsec:ZDF_npc} … … 705 703 having to recompute the expansion coefficients at each mixing iteration. 706 704 705 %% ================================================================================================= 707 706 \subsection[Enhanced vertical diffusion (\forcode{ln_zdfevd})]{Enhanced vertical diffusion (\protect\np{ln_zdfevd}{ln\_zdfevd})} 708 707 \label{subsec:ZDF_evd} … … 728 727 a leapfrog environment \citep{leclair_phd10} (see \autoref{sec:TD_mLF}). 729 728 729 %% ================================================================================================= 730 730 \subsection[Handling convection with turbulent closure schemes (\forcode{ln_zdf_}\{\forcode{tke,gls,osm}\})]{Handling convection with turbulent closure schemes (\forcode{ln_zdf{tke,gls,osm}})} 731 731 \label{subsec:ZDF_tcs} … … 752 752 % gm% + one word on non local flux with KPP scheme trakpp.F90 module... 753 753 754 %% ================================================================================================= 754 755 \section[Double diffusion mixing (\forcode{ln_zdfddm})]{Double diffusion mixing (\protect\np{ln_zdfddm}{ln\_zdfddm})} 755 756 \label{subsec:ZDF_ddm} 756 757 757 %-------------------------------------------namzdf_ddm-------------------------------------------------758 758 % 759 759 %\nlst{namzdf_ddm} 760 %--------------------------------------------------------------------------------------------------------------761 760 762 761 This parameterisation has been introduced in \mdl{zdfddm} module and is controlled by the namelist parameter … … 840 839 This avoids duplication in the computation of $\alpha$ and $\beta$ (which is usually quite expensive). 841 840 841 %% ================================================================================================= 842 842 \section[Bottom and top friction (\textit{zdfdrg.F90})]{Bottom and top friction (\protect\mdl{zdfdrg})} 843 843 \label{sec:ZDF_drg} 844 844 845 %--------------------------------------------namdrg--------------------------------------------------------846 845 % 847 846 \begin{listing} … … 861 860 \end{listing} 862 861 863 %--------------------------------------------------------------------------------------------------------------864 862 865 863 Options to define the top and bottom friction are defined through the \nam{drg}{drg} namelist variables. … … 916 914 Note than from \NEMO\ 4.0, drag coefficients are only computed at cell centers (\ie\ at T-points) and refer to as $c_b^T$ in the following. These are then linearly interpolated in space to get $c_b^\textbf{U}$ at velocity points. 917 915 916 %% ================================================================================================= 918 917 \subsection[Linear top/bottom friction (\forcode{ln_lin})]{Linear top/bottom friction (\protect\np{ln_lin}{ln\_lin})} 919 918 \label{subsec:ZDF_drg_linear} … … 952 951 $mask\_value$ * \np{rn_boost}{rn\_boost} * \np{rn_Cd0}{rn\_Cd0}. 953 952 953 %% ================================================================================================= 954 954 \subsection[Non-linear top/bottom friction (\forcode{ln_non_lin})]{Non-linear top/bottom friction (\protect\np{ln_non_lin}{ln\_non\_lin})} 955 955 \label{subsec:ZDF_drg_nonlinear} … … 984 984 $mask\_value$ * \np{rn_boost}{rn\_boost} * \np{rn_Cd0}{rn\_Cd0}. 985 985 986 %% ================================================================================================= 986 987 \subsection[Log-layer top/bottom friction (\forcode{ln_loglayer})]{Log-layer top/bottom friction (\protect\np{ln_loglayer}{ln\_loglayer})} 987 988 \label{subsec:ZDF_drg_loglayer} … … 1007 1008 %In this case, the relevant namelist parameters are \np{rn_tfrz0}{rn\_tfrz0}, \np{rn_tfri2}{rn\_tfri2} and \np{rn_tfri2_max}{rn\_tfri2\_max}. 1008 1009 1010 %% ================================================================================================= 1009 1011 \subsection[Explicit top/bottom friction (\forcode{ln_drgimp=.false.})]{Explicit top/bottom friction (\protect\np[=.false.]{ln_drgimp}{ln\_drgimp})} 1010 1012 \label{subsec:ZDF_drg_stability} … … 1065 1067 The number of potential breaches of the explicit stability criterion are still reported for information purposes. 1066 1068 1069 %% ================================================================================================= 1067 1070 \subsection[Implicit top/bottom friction (\forcode{ln_drgimp=.true.})]{Implicit top/bottom friction (\protect\np[=.true.]{ln_drgimp}{ln\_drgimp})} 1068 1071 \label{subsec:ZDF_drg_imp} … … 1092 1095 Superscript $n+1$ means the velocity used in the friction formula is to be calculated, so it is implicit. 1093 1096 1097 %% ================================================================================================= 1094 1098 \subsection[Bottom friction with split-explicit free surface]{Bottom friction with split-explicit free surface} 1095 1099 \label{subsec:ZDF_drg_ts} … … 1105 1109 Note that other strategies are possible, like considering vertical diffusion step in advance, \ie\ prior barotropic integration. 1106 1110 1111 %% ================================================================================================= 1107 1112 \section[Internal wave-driven mixing (\forcode{ln_zdfiwm})]{Internal wave-driven mixing (\protect\np{ln_zdfiwm}{ln\_zdfiwm})} 1108 1113 \label{subsec:ZDF_tmx_new} 1109 1114 1110 %--------------------------------------------namzdf_iwm------------------------------------------1111 1115 % 1112 1116 \begin{listing} … … 1115 1119 \label{lst:namzdf_iwm} 1116 1120 \end{listing} 1117 %--------------------------------------------------------------------------------------------------------------1118 1121 1119 1122 The parameterization of mixing induced by breaking internal waves is a generalization of … … 1166 1169 % Jc: input files names ? 1167 1170 1171 %% ================================================================================================= 1168 1172 \section[Surface wave-induced mixing (\forcode{ln_zdfswm})]{Surface wave-induced mixing (\protect\np{ln_zdfswm}{ln\_zdfswm})} 1169 1173 \label{subsec:ZDF_swm} … … 1196 1200 (for more information on wave parameters and settings see \autoref{sec:SBC_wave}) 1197 1201 1202 %% ================================================================================================= 1198 1203 \section[Adaptive-implicit vertical advection (\forcode{ln_zad_Aimp})]{Adaptive-implicit vertical advection(\protect\np{ln_zad_Aimp}{ln\_zad\_Aimp})} 1199 1204 \label{subsec:ZDF_aimp} … … 1319 1324 \end{figure} 1320 1325 1326 %% ================================================================================================= 1321 1327 \subsection{Adaptive-implicit vertical advection in the OVERFLOW test-case} 1322 1328 -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_cfgs.tex
r11596 r11597 7 7 \chaptertoc 8 8 9 %% ================================================================================================= 9 10 \section{Introduction} 10 11 \label{sec:CFGS_intro} … … 18 19 Configuration is defined manually through the \nam{cfg}{cfg} namelist variables. 19 20 20 %------------------------------------------namcfg----------------------------------------------------21 21 22 22 \begin{listing} … … 25 25 \label{lst:namcfg} 26 26 \end{listing} 27 %------------------------------------------------------------------------------------------------------------- 28 27 28 %% ================================================================================================= 29 29 \section[C1D: 1D Water column model (\texttt{\textbf{key\_c1d}})]{C1D: 1D Water column model (\protect\key{c1d})} 30 30 \label{sec:CFGS_c1d} … … 64 64 % to be added: a test case on the yearlong Ocean Weather Station (OWS) Papa dataset of Martin (1985) 65 65 66 %% ================================================================================================= 66 67 \section{ORCA family: global ocean with tripolar grid} 67 68 \label{sec:CFGS_orca} … … 90 91 \end{figure} 91 92 93 %% ================================================================================================= 92 94 \subsection{ORCA tripolar grid} 93 95 \label{subsec:CFGS_orca_grid} … … 128 130 while the ratio of anisotropy remains close to one except near the Victoria Island in the Canadian Archipelago. 129 131 132 %% ================================================================================================= 130 133 \subsection{ORCA pre-defined resolution} 131 134 \label{subsec:CFGS_orca_resolution} … … 138 141 (\autoref{tab:CFGS_ORCA}). 139 142 140 %--------------------------------------------------TABLE--------------------------------------------------141 143 \begin{table}[!t] 142 144 \centering … … 156 158 \label{tab:CFGS_ORCA} 157 159 \end{table} 158 %--------------------------------------------------------------------------------------------------------------159 160 160 161 The ORCA\_R2 configuration has the following specificity: starting from a 2\deg\ ORCA mesh, … … 196 197 sponge layers at open boundaries. 197 198 199 %% ================================================================================================= 198 200 \section{GYRE family: double gyre basin} 199 201 \label{sec:CFGS_gyre} … … 255 257 \end{figure} 256 258 259 %% ================================================================================================= 257 260 \section{AMM: atlantic margin configuration} 258 261 \label{sec:CFGS_config_AMM} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_conservation.tex
r11596 r11597 39 39 \citep{Marti1992?, Levy1996?, Levy1998?}. 40 40 41 %% ================================================================================================= 41 42 \section{Conservation properties on ocean dynamics} 42 43 \label{sec:CONS_Invariant_dyn} … … 152 153 otherwise there is no guarantee that the surface pressure force work vanishes. 153 154 155 %% ================================================================================================= 154 156 \section{Conservation properties on ocean thermodynamics} 155 157 \label{sec:CONS_Invariant_tra} … … 170 172 In practice, the mass is conserved with a very good accuracy. 171 173 174 %% ================================================================================================= 172 175 \subsection{Conservation properties on momentum physics} 173 176 \label{subsec:CONS_Invariant_dyn_physics} … … 273 276 \ie\ the vertical momentum physics conserve momentum, potential vorticity, and horizontal divergence. 274 277 278 %% ================================================================================================= 275 279 \subsection{Conservation properties on tracer physics} 276 280 \label{subsec:CONS_Invariant_tra_physics} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex
r11596 r11597 7 7 \chaptertoc 8 8 9 %% ================================================================================================= 9 10 \section{Representation of unresolved straits} 10 11 \label{sec:MISC_strait} … … 28 29 lateral friction. 29 30 31 %% ================================================================================================= 30 32 \subsection{Hand made geometry changes} 31 33 \label{subsec:MISC_strait_hand} … … 103 105 \end{figure} 104 106 107 %% ================================================================================================= 105 108 \section[Closed seas (\textit{closea.F90})]{Closed seas (\protect\mdl{closea})} 106 109 \label{sec:MISC_closea} … … 167 170 them to the domain configuration file in the utils/tools/DOMAINcfg directory. 168 171 172 %% ================================================================================================= 169 173 \section{Sub-domain functionality} 170 174 \label{sec:MISC_zoom} 171 175 176 %% ================================================================================================= 172 177 \subsection{Simple subsetting of input files via NetCDF attributes} 173 178 … … 230 235 conditions. Experimenting with this remains an exercise for the user. 231 236 237 %% ================================================================================================= 232 238 \section[Accuracy and reproducibility (\textit{lib\_fortran.F90})]{Accuracy and reproducibility (\protect\mdl{lib\_fortran})} 233 239 \label{sec:MISC_fortran} 234 240 241 %% ================================================================================================= 235 242 \subsection[Issues with intrinsinc SIGN function (\texttt{\textbf{key\_nosignedzero}})]{Issues with intrinsinc SIGN function (\protect\key{nosignedzero})} 236 243 \label{subsec:MISC_sign} … … 258 265 some computers/compilers. 259 266 267 %% ================================================================================================= 260 268 \subsection{MPP reproducibility} 261 269 \label{subsec:MISC_glosum} … … 287 295 Note also that this implementation may be sensitive to the optimization level. 288 296 297 %% ================================================================================================= 289 298 \subsection{MPP scalability} 290 299 \label{subsec:MISC_mppsca} … … 311 320 non-reference configuration. 312 321 322 %% ================================================================================================= 313 323 \section{Model optimisation, control print and benchmark} 314 324 \label{sec:MISC_opt} 315 %--------------------------------------------namctl-------------------------------------------------------316 325 317 326 \begin{listing} … … 320 329 \label{lst:namctl} 321 330 \end{listing} 322 %--------------------------------------------------------------------------------------------------------------323 331 324 332 Options are defined through the \nam{ctl}{ctl} namelist variables. 325 333 334 %% ================================================================================================= 326 335 \subsection{Vector optimisation} 327 336 … … 334 343 % Add also one word on NEC specific optimisation (Novercheck option for example) 335 344 345 %% ================================================================================================= 336 346 \subsection{Control print} 337 347 -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics.tex
r11596 r11597 1 2 1 \documentclass[../main/NEMO_manual]{subfiles} 3 2 … … 10 9 11 10 %% ================================================================================================= 11 %% ================================================================================================= 12 12 \section{Primitive equations} 13 13 \label{sec:MB_PE} 14 14 15 %% ================================================================================================= 15 16 %% ================================================================================================= 16 17 \subsection{Vector invariant formulation} … … 91 92 Their nature and formulation are discussed in \autoref{sec:MB_zdf_ldf} and \autoref{subsec:MB_boundary_condition}. 92 93 94 %% ================================================================================================= 93 95 %% ================================================================================================= 94 96 \subsection{Boundary conditions} … … 164 166 165 167 %% ================================================================================================= 168 %% ================================================================================================= 166 169 \section{Horizontal pressure gradient} 167 170 \label{sec:MB_hor_pg} 168 171 172 %% ================================================================================================= 169 173 %% ================================================================================================= 170 174 \subsection{Pressure formulation} … … 200 204 201 205 %% ================================================================================================= 206 %% ================================================================================================= 202 207 \subsection{Free surface formulation} 203 208 \label{subsec:MB_free_surface} … … 250 255 251 256 %% ================================================================================================= 257 %% ================================================================================================= 252 258 \section{Curvilinear \textit{z-}coordinate system} 253 259 \label{sec:MB_zco} 254 260 261 %% ================================================================================================= 255 262 %% ================================================================================================= 256 263 \subsection{Tensorial formalism} … … 337 344 where $q$ is a scalar quantity and $\vect A = (a_1,a_2,a_3)$ a vector in the $(i,j,k)$ coordinates system. 338 345 346 %% ================================================================================================= 339 347 %% ================================================================================================= 340 348 \subsection{Continuous model equations} … … 522 530 523 531 %% ================================================================================================= 532 %% ================================================================================================= 524 533 \section{Curvilinear generalised vertical coordinate system} 525 534 \label{sec:MB_gco} … … 602 611 %} 603 612 613 %% ================================================================================================= 604 614 %% ================================================================================================= 605 615 \subsection{\textit{S}-coordinate formulation} … … 691 701 692 702 %% ================================================================================================= 703 %% ================================================================================================= 693 704 \subsection{Curvilinear \zstar-coordinate system} 694 705 \label{subsec:MB_zco_star} … … 777 788 778 789 %% ================================================================================================= 790 %% ================================================================================================= 779 791 \subsection{Curvilinear terrain-following \textit{s}--coordinate} 780 792 \label{subsec:MB_sco} 781 793 794 %% ================================================================================================= 782 795 %% ================================================================================================= 783 796 \subsubsection{Introduction} … … 862 875 863 876 %% ================================================================================================= 877 %% ================================================================================================= 864 878 \subsection{\texorpdfstring{Curvilinear \ztilde-coordinate}{}} 865 879 \label{subsec:MB_zco_tilde} … … 870 884 Its use is therefore not recommended. 871 885 886 %% ================================================================================================= 872 887 %% ================================================================================================= 873 888 \section{Subgrid scale physics} … … 894 909 The formulation of these terms and their underlying physics are briefly discussed in the next two subsections. 895 910 911 %% ================================================================================================= 896 912 %% ================================================================================================= 897 913 \subsection{Vertical subgrid scale physics} … … 927 943 928 944 %% ================================================================================================= 945 %% ================================================================================================= 929 946 \subsection{Formulation of the lateral diffusive and viscous operators} 930 947 \label{subsec:MB_ldf} … … 981 998 982 999 %% ================================================================================================= 1000 %% ================================================================================================= 983 1001 \subsubsection{Lateral laplacian tracer diffusive operator} 984 1002 … … 1022 1040 while in $s$-coordinates $\pd[]{k}$ is replaced by $\pd[]{s}$. 1023 1041 1042 %% ================================================================================================= 1024 1043 %% ================================================================================================= 1025 1044 \subsubsection{Eddy induced velocity} … … 1060 1079 1061 1080 %% ================================================================================================= 1081 %% ================================================================================================= 1062 1082 \subsubsection{Lateral bilaplacian tracer diffusive operator} 1063 1083 … … 1071 1091 the harmonic eddy diffusion coefficient set to the square root of the biharmonic one. 1072 1092 1093 %% ================================================================================================= 1073 1094 %% ================================================================================================= 1074 1095 \subsubsection{Lateral Laplacian momentum diffusive operator} … … 1105 1126 1106 1127 %% ================================================================================================= 1128 %% ================================================================================================= 1107 1129 \subsubsection{Lateral bilaplacian momentum diffusive operator} 1108 1130 -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics_zstar.tex
r11596 r11597 3 3 \begin{document} 4 4 \chapter{ essai \zstar \sstar} 5 %% ================================================================================================= 5 6 \section{Curvilinear \zstar- or \sstar coordinate system} 6 7 … … 60 61 %%% 61 62 63 %% ================================================================================================= 62 64 \section[Surface pressure gradient and sea surface heigth (\textit{dynspg.F90})]{Surface pressure gradient and sea surface heigth (\protect\mdl{dynspg})} 63 65 \label{sec:MBZ_dyn_hpg_spg} 64 %-----------------------------------------nam_dynspg----------------------------------------------------65 66 66 67 %\nlst{nam_dynspg} 67 %------------------------------------------------------------------------------------------------------------68 68 Options are defined through the \nam{_dynspg}{\_dynspg} namelist variables. 69 69 The surface pressure gradient term is related to the representation of the free surface (\autoref{sec:MB_hor_pg}). … … 81 81 so that the update of the next velocities is done in module \mdl{dynspg\_flt} and not in \mdl{dynnxt}. 82 82 83 %-------------------------------------------------------------84 83 % Explicit 85 % -------------------------------------------------------------84 %% ================================================================================================= 86 85 \subsubsection[Explicit (\texttt{\textbf{key\_dynspg\_exp}})]{Explicit (\protect\key{dynspg\_exp})} 87 86 \label{subsec:MBZ_dyn_spg_exp} … … 117 116 (\autoref{eq:DYN_spg_exp}). 118 117 119 %-------------------------------------------------------------120 118 % Split-explicit time-stepping 121 % -------------------------------------------------------------119 %% ================================================================================================= 122 120 \subsubsection[Split-explicit time-stepping (\texttt{\textbf{key\_dynspg\_ts}})]{Split-explicit time-stepping (\protect\key{dynspg\_ts})} 123 121 \label{subsec:MBZ_dyn_spg_ts} 124 %--------------------------------------------namdom---------------------------------------------------- 125 126 %-------------------------------------------------------------------------------------------------------------- 122 127 123 The split-explicit free surface formulation used in OPA follows the one proposed by \citet{Griffies2004?}. 128 124 The general idea is to solve the free surface equation with a small time step, … … 274 270 be more conservative, and so is recommended. 275 271 276 %-------------------------------------------------------------277 272 % Filtered formulation 278 % -------------------------------------------------------------273 %% ================================================================================================= 279 274 \subsubsection[Filtered formulation (\texttt{\textbf{key\_dynspg\_flt}})]{Filtered formulation (\protect\key{dynspg\_flt})} 280 275 \label{subsec:MBZ_dyn_spg_flt} … … 288 283 \colorbox{red}{\np[=1]{rnu}{rnu} to be suppressed from namelist !} 289 284 290 %-------------------------------------------------------------291 285 % Non-linear free surface formulation 292 % -------------------------------------------------------------286 %% ================================================================================================= 293 287 \subsection[Non-linear free surface formulation (\texttt{\textbf{key\_vvl}})]{Non-linear free surface formulation (\protect\key{vvl})} 294 288 \label{subsec:MBZ_dyn_spg_vvl} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_time_domain.tex
r11596 r11597 13 13 would help ==> to be added} 14 14 %%%% 15 15 16 16 17 Having defined the continuous equations in \autoref{chap:MB}, we need now to choose a time discretization, … … 20 21 the consequences for the order in which the equations are solved. 21 22 23 %% ================================================================================================= 22 24 \section{Time stepping environment} 23 25 \label{sec:TD_environment} … … 47 49 The time stepping itself is performed once at each time step where implicit vertical diffusion is computed, \ie\ in the \mdl{trazdf} and \mdl{dynzdf} modules. 48 50 51 %% ================================================================================================= 49 52 \section{Non-diffusive part --- Leapfrog scheme} 50 53 \label{sec:TD_leap_frog} … … 87 90 filter parameter and the viscosity and diffusion coefficients. 88 91 92 %% ================================================================================================= 89 93 \section{Diffusive part --- Forward or backward scheme} 90 94 \label{sec:TD_forward_imp} … … 151 155 (see for example \citet{richtmyer.morton_bk67}). 152 156 157 %% ================================================================================================= 153 158 \section{Surface pressure gradient} 154 159 \label{sec:TD_spg_ts} … … 181 186 %} 182 187 188 %% ================================================================================================= 183 189 \section{Modified Leapfrog -- Asselin filter scheme} 184 190 \label{sec:TD_mLF} … … 239 245 \end{figure} 240 246 247 %% ================================================================================================= 241 248 \section{Start/Restart strategy} 242 249 \label{sec:TD_rst} 243 250 244 %--------------------------------------------namrun-------------------------------------------245 251 \begin{listing} 246 252 \nlst{namrun} … … 248 254 \label{lst:namrun} 249 255 \end{listing} 250 %--------------------------------------------------------------------------------------------------------------251 256 252 257 The first time step of this three level scheme when starting from initial conditions is a forward step … … 286 291 \gmcomment{ % add a subsection here 287 292 288 %-------------------------------------------------------------------------------------------------------------289 293 % Time Domain 294 % ------------------------------------------------------------------------------------------------------------ 295 %% ================================================================================================= 296 \subsection{Time domain} 297 \label{subsec:TD_time} 298 299 Options are defined through the \nam{dom}{dom} namelist variables. 300 \colorbox{yellow}{add here a few word on nit000 and nitend} 301 302 \colorbox{yellow}{Write documentation on the calendar and the key variable adatrj} 303 304 add a description of daymod, and the model calandar (leap-year and co) 305 306 } %% end add 307 308 309 310 %% 311 \gmcomment{ % add implicit in vvl case and Crant-Nicholson scheme 312 313 Implicit time stepping in case of variable volume thickness. 314 315 Tracer case (NB for momentum in vector invariant form take care!) 316 317 \begin{flalign*} 318 &\frac{\lt( e_{3t}\,T \rt)_k^{t+1}-\lt( e_{3t}\,T \rt)_k^{t-1}}{2\rdt} 319 \equiv \text{RHS}+ \delta_k \lt[ {\frac{A_w^{vt} }{e_{3w}^{t+1} }\delta_{k + 1/2} \lt[ {T^{t+1}} \rt]} 320 \rt] \\ 321 &\lt( e_{3t}\,T \rt)_k^{t+1}-\lt( e_{3t}\,T \rt)_k^{t-1} 322 \equiv {2\rdt} \ \text{RHS}+ {2\rdt} \ \delta_k \lt[ {\frac{A_w^{vt} }{e_{3w}^{t+1} }\delta_{k + 1/2} \lt[ {T^{t+1}} \rt]} 323 \rt] \\ 324 &\lt( e_{3t}\,T \rt)_k^{t+1}-\lt( e_{3t}\,T \rt)_k^{t-1} 325 \equiv 2\rdt \ \text{RHS} 326 + 2\rdt \ \lt\{ \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k + 1/2} [ T_{k +1}^{t+1} - T_k ^{t+1} ] 327 - \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k - 1/2} [ T_k ^{t+1} - T_{k -1}^{t+1} ] \rt\} \\ 328 &\\ 329 &\lt( e_{3t}\,T \rt)_k^{t+1} 330 - {2\rdt} \ \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k + 1/2} T_{k +1}^{t+1} 331 + {2\rdt} \ \lt\{ \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k + 1/2} 332 + \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k - 1/2} \rt\} T_{k }^{t+1} 333 - {2\rdt} \ \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k - 1/2} T_{k -1}^{t+1} \\ 334 &\equiv \lt( e_{3t}\,T \rt)_k^{t-1} + {2\rdt} \ \text{RHS} \\ 335 % 336 \end{flalign*} 337 \begin{flalign*} 338 \allowdisplaybreaks 339 \intertext{ Tracer case } 340 % 341 & \qquad \qquad \quad - {2\rdt} \ \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k + 1/2} 342 \qquad \qquad \qquad \qquad T_{k +1}^{t+1} \\ 343 &+ {2\rdt} \ \biggl\{ (e_{3t})_{k }^{t+1} \bigg. + \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k + 1/2} 344 + \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k - 1/2} \bigg. \biggr\} \ \ \ T_{k }^{t+1} &&\\ 345 & \qquad \qquad \qquad \qquad \qquad \quad \ \ - {2\rdt} \ \lt[ \frac{A_w^{vt}}{e_{3w}^{t+1}} \rt]_{k - 1/2} \quad \ \ T_{k -1}^{t+1} 346 \ \equiv \ \lt( e_{3t}\,T \rt)_k^{t-1} + {2\rdt} \ \text{RHS} \\ 347 % 348 \end{flalign*} 349 \begin{flalign*} 350 \allowdisplaybreaks 351 \intertext{ Tracer content case } 352 % 353 & - {2\rdt} \ & \frac{(A_w^{vt})_{k + 1/2}} {(e_{3w})_{k + 1/2}^{t+1}\;(e_{3t})_{k +1}^{t+1}} && \ \lt( e_{3t}\,T \rt)_{k +1}^{t+1} &\\ 354 & + {2\rdt} \ \lt[ 1 \rt.+ & \frac{(A_w^{vt})_{k + 1/2}} {(e_{3w})_{k + 1/2}^{t+1}\;(e_{3t})_k^{t+1}} 355 + & \frac{(A_w^{vt})_{k - 1/2}} {(e_{3w})_{k - 1/2}^{t+1}\;(e_{3t})_k^{t+1}} \lt. \rt] & \lt( e_{3t}\,T \rt)_{k }^{t+1} &\\ 356 & - {2\rdt} \ & \frac{(A_w^{vt})_{k - 1/2}} {(e_{3w})_{k - 1/2}^{t+1}\;(e_{3t})_{k -1}^{t+1}} &\ \lt( e_{3t}\,T \rt)_{k -1}^{t+1} 357 \equiv \lt( e_{3t}\,T \rt)_k^{t-1} + {2\rdt} \ \text{RHS} & 358 \end{flalign*} 359 360 %% 361 } 362 363 \onlyinsubfile{\input{../../global/epilogue}} 364 365 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.