Changeset 11582 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_LDF.tex
- Timestamp:
- 2019-09-20T11:44:31+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_LDF.tex
r11578 r11582 1 1 \documentclass[../main/NEMO_manual]{subfiles} 2 3 \onlyinsubfile{\makeindex} 2 4 3 5 \begin{document} … … 24 26 (see the \nam{tra_ldf}{tra\_ldf} and \nam{dyn_ldf}{dyn\_ldf} below). 25 27 Note that this chapter describes the standard implementation of iso-neutral tracer mixing. 26 Griffies's implementation, which is used if \np {ln_traldf_triad}{ln\_traldf\_triad}\forcode{=.true.},28 Griffies's implementation, which is used if \np[=.true.]{ln_traldf_triad}{ln\_traldf\_triad}, 27 29 is described in \autoref{apdx:TRIADS} 28 30 … … 40 42 \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})} 41 43 42 It is possible to run without explicit lateral diffusion on tracers (\protect\np {ln_traldf_OFF}{ln\_traldf\_OFF}\forcode{=.true.}) and/or43 momentum (\protect\np {ln_dynldf_OFF}{ln\_dynldf\_OFF}\forcode{=.true.}). The latter option is even recommended if using the44 UBS advection scheme on momentum (\np {ln_dynadv_ubs}{ln\_dynadv\_ubs}\forcode{=.true.},44 It is possible to run without explicit lateral diffusion on tracers (\protect\np[=.true.]{ln_traldf_OFF}{ln\_traldf\_OFF}) and/or 45 momentum (\protect\np[=.true.]{ln_dynldf_OFF}{ln\_dynldf\_OFF}). The latter option is even recommended if using the 46 UBS advection scheme on momentum (\np[=.true.]{ln_dynadv_ubs}{ln\_dynadv\_ubs}, 45 47 see \autoref{subsec:DYN_adv_ubs}) and can be useful for testing purposes. 46 48 47 49 \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})} 48 Setting \protect\np {ln_traldf_lap}{ln\_traldf\_lap}\forcode{=.true.} and/or \protect\np{ln_dynldf_lap}{ln\_dynldf\_lap}\forcode{=.true.} enables50 Setting \protect\np[=.true.]{ln_traldf_lap}{ln\_traldf\_lap} and/or \protect\np[=.true.]{ln_dynldf_lap}{ln\_dynldf\_lap} enables 49 51 a second order diffusion on tracers and momentum respectively. Note that in \NEMO\ 4, one can not combine 50 52 Laplacian and Bilaplacian operators for the same variable. 51 53 52 54 \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})} 53 Setting \protect\np {ln_traldf_blp}{ln\_traldf\_blp}\forcode{=.true.} and/or \protect\np{ln_dynldf_blp}{ln\_dynldf\_blp}\forcode{=.true.} enables55 Setting \protect\np[=.true.]{ln_traldf_blp}{ln\_traldf\_blp} and/or \protect\np[=.true.]{ln_dynldf_blp}{ln\_dynldf\_blp} enables 54 56 a fourth order diffusion on tracers and momentum respectively. It is implemented by calling the above Laplacian operator twice. 55 57 We stress again that from \NEMO\ 4, the simultaneous use Laplacian and Bilaplacian operators is not allowed. … … 107 109 %gm% caution I'm not sure the simplification was a good idea! 108 110 109 These slopes are computed once in \rou{ldf\_slp\_init} when \np {ln_sco}{ln\_sco}\forcode{=.true.},110 and either \np {ln_traldf_hor}{ln\_traldf\_hor}\forcode{=.true.} or \np{ln_dynldf_hor}{ln\_dynldf\_hor}\forcode{=.true.}.111 These slopes are computed once in \rou{ldf\_slp\_init} when \np[=.true.]{ln_sco}{ln\_sco}, 112 and either \np[=.true.]{ln_traldf_hor}{ln\_traldf\_hor} or \np[=.true.]{ln_dynldf_hor}{ln\_dynldf\_hor}. 111 113 112 114 \subsection{Slopes for tracer iso-neutral mixing} … … 164 166 \item[$s$- or hybrid $s$-$z$- coordinate: ] 165 167 in the current release of \NEMO, iso-neutral mixing is only employed for $s$-coordinates if 166 the Griffies scheme is used (\np {ln_traldf_triad}{ln\_traldf\_triad}\forcode{=.true.};168 the Griffies scheme is used (\np[=.true.]{ln_traldf_triad}{ln\_traldf\_triad}; 167 169 see \autoref{apdx:TRIADS}). 168 170 In other words, iso-neutral mixing will only be accurately represented with a linear equation of state 169 (\np {ln_seos}{ln\_seos}\forcode{=.true.}).171 (\np[=.true.]{ln_seos}{ln\_seos}). 170 172 In the case of a "true" equation of state, the evaluation of $i$ and $j$ derivatives in \autoref{eq:LDF_slp_iso} 171 173 will include a pressure dependent part, leading to the wrong evaluation of the neutral slopes. … … 222 224 To overcome this problem, several techniques have been proposed in which the numerical schemes of 223 225 the ocean model are modified \citep{weaver.eby_JPO97, griffies.gnanadesikan.ea_JPO98}. 224 Griffies's scheme is now available in \NEMO\ if \np {ln_traldf_triad}{ln\_traldf\_triad}\forcode{ = .true.}; see \autoref{apdx:TRIADS}.226 Griffies's scheme is now available in \NEMO\ if \np[=.true.]{ln_traldf_triad}{ln\_traldf\_triad}; see \autoref{apdx:TRIADS}. 225 227 Here, another strategy is presented \citep{lazar_phd97}: 226 228 a local filtering of the iso-neutral slopes (made on 9 grid-points) prevents the development of … … 326 328 The way the mixing coefficients are set in the reference version can be described as follows: 327 329 328 \subsection[Mixing coefficients read from file (\forcode{=-20, -30})]{ Mixing coefficients read from file (\protect\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=-20, -30} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=-20, -30})}330 \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})} 329 331 330 332 Mixing coefficients can be read from file if a particular geographical variation is needed. For example, in the ORCA2 global ocean model, … … 332 334 decreases linearly to $A^l$~= 2.10$^3$ m$^2$/s at the equator \citep{madec.delecluse.ea_JPO96, delecluse.madec_icol99}. 333 335 Similar modified horizontal variations can be found with the Antarctic or Arctic sub-domain options of ORCA2 and ORCA05. 334 The provided fields can either be 2d (\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=-20}, \np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=-20}) or 3d (\np{nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=-30}, \np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=-30}). They must be given at U, V points for tracers and T, F points for momentum (see \autoref{tab:LDF_files}).336 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}). 335 337 336 338 %-------------------------------------------------TABLE--------------------------------------------------- … … 340 342 \hline 341 343 Namelist parameter & Input filename & dimensions & variable names \\ \hline 342 \np {nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=-20} & \forcode{eddy_viscosity_2D.nc } & $(i,j)$ & \forcode{ahmt_2d, ahmf_2d} \\ \hline343 \np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=-20} & \forcode{eddy_diffusivity_2D.nc } & $(i,j)$ & \forcode{ahtu_2d, ahtv_2d} \\ \hline344 \np {nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=-30} & \forcode{eddy_viscosity_3D.nc } & $(i,j,k)$ & \forcode{ahmt_3d, ahmf_3d} \\ \hline345 \np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=-30} & \forcode{eddy_diffusivity_3D.nc } & $(i,j,k)$ & \forcode{ahtu_3d, ahtv_3d} \\ \hline344 \np[=-20]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t} & \forcode{eddy_viscosity_2D.nc } & $(i,j)$ & \forcode{ahmt_2d, ahmf_2d} \\ \hline 345 \np[=-20]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} & \forcode{eddy_diffusivity_2D.nc } & $(i,j)$ & \forcode{ahtu_2d, ahtv_2d} \\ \hline 346 \np[=-30]{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t} & \forcode{eddy_viscosity_3D.nc } & $(i,j,k)$ & \forcode{ahmt_3d, ahmf_3d} \\ \hline 347 \np[=-30]{nn_aht_ijk_t}{nn\_aht\_ijk\_t} & \forcode{eddy_diffusivity_3D.nc } & $(i,j,k)$ & \forcode{ahtu_3d, ahtv_3d} \\ \hline 346 348 \end{tabular} 347 349 \caption{Description of expected input files if mixing coefficients are read from NetCDF files} … … 350 352 %-------------------------------------------------------------------------------------------------------------- 351 353 352 \subsection[Constant mixing coefficients (\forcode{=0})]{ Constant mixing coefficients (\protect\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=0} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=0})}354 \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})} 353 355 354 356 If constant, mixing coefficients are set thanks to a velocity and a length scales ($U_{scl}$, $L_{scl}$) such that: … … 366 368 $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}. 367 369 368 \subsection[Vertically varying mixing coefficients (\forcode{=10})]{Vertically varying mixing coefficients (\protect\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=10} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=10})}370 \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})} 369 371 370 372 In the vertically varying case, a hyperbolic variation of the lateral mixing coefficient is introduced in which … … 373 375 This profile is hard coded in module \mdl{ldfc1d\_c2d}, but can be easily modified by users. 374 376 375 \subsection[Mesh size dependent mixing coefficients (\forcode{=20})]{Mesh size dependent mixing coefficients (\protect\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=20} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=20})}377 \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})} 376 378 377 379 In that case, the horizontal variation of the eddy coefficient depends on the local mesh size and … … 398 400 \colorbox{yellow}{CASE \np{nn_aht_ijk_t}{nn\_aht\_ijk\_t} = 21 to be added} 399 401 400 \subsection[Mesh size and depth dependent mixing coefficients (\forcode{=30})]{Mesh size and depth dependent mixing coefficients (\protect\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=30} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=30})}402 \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})} 401 403 402 404 The 3D space variation of the mixing coefficient is simply the combination of the 1D and 2D cases above, … … 404 406 the magnitude of the coefficient. 405 407 406 \subsection[Velocity dependent mixing coefficients (\forcode{=31})]{Flow dependent mixing coefficients (\protect\np {nn_aht_ijk_t}{nn\_aht\_ijk\_t}\forcode{=31} \& \protect\np{nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=31})}408 \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})} 407 409 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$): 408 410 \colorbox{yellow}{JC comment: The Reynolds is effectively set to 12 in the code for both operators but shouldn't it be 2 for Laplacian ?} … … 418 420 \end{equation} 419 421 420 \subsection[Deformation rate dependent viscosities (\forcode{nn_ahm_ijk_t=32})]{Deformation rate dependent viscosities (\protect\np {nn_ahm_ijk_t}{nn\_ahm\_ijk\_t}\forcode{=32})}422 \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})} 421 423 422 424 This option refers to the \citep{smagorinsky_MW63} scheme which is here implemented for momentum only. Smagorinsky chose as a … … 505 507 } 506 508 507 When \citet{gent.mcwilliams_JPO90} diffusion is used (\np {ln_ldfeiv}{ln\_ldfeiv}\forcode{=.true.}),509 When \citet{gent.mcwilliams_JPO90} diffusion is used (\np[=.true.]{ln_ldfeiv}{ln\_ldfeiv}), 508 510 an eddy induced tracer advection term is added, 509 511 the formulation of which depends on the slopes of iso-neutral surfaces. … … 512 514 and the sum \autoref{eq:LDF_slp_geo} + \autoref{eq:LDF_slp_iso} in $s$-coordinates. 513 515 514 If isopycnal mixing is used in the standard way, \ie\ \np {ln_traldf_triad}{ln\_traldf\_triad}\forcode{=.false.}, the eddy induced velocity is given by:516 If isopycnal mixing is used in the standard way, \ie\ \np[=.false.]{ln_traldf_triad}{ln\_traldf\_triad}, the eddy induced velocity is given by: 515 517 \begin{equation} 516 518 \label{eq:LDF_eiv} … … 536 538 \colorbox{yellow}{CASE \np{nn_aei_ijk_t}{nn\_aei\_ijk\_t} = 21 to be added} 537 539 538 In case of setting \np {ln_traldf_triad}{ln\_traldf\_triad}\forcode{ = .true.}, a skew form of the eddy induced advective fluxes is used, which is described in \autoref{apdx:TRIADS}.540 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}. 539 541 540 542 % ================================================================ … … 554 556 %-------------------------------------------------------------------------------------------------------------- 555 557 556 If \np {ln_mle}{ln\_mle}\forcode{=.true.} 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.558 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. 557 559 558 560 \colorbox{yellow}{TBC} 559 561 560 \ biblio561 562 \ pindex562 \onlyinsubfile{\bibliography{../main/bibliography}} 563 564 \onlyinsubfile{\printindex} 563 565 564 566 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.