Changeset 11596 for NEMO/trunk/doc/latex/NEMO/subfiles/apdx_DOMAINcfg.tex
- Timestamp:
- 2019-09-25T19:06:37+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_DOMAINcfg.tex
r11584 r11596 2 2 3 3 \begin{document} 4 % ================================================================5 % Appendix DOMAINcfg : A brief guide to the DOMAINcfg tool6 % ================================================================7 4 \chapter{A brief guide to the DOMAINcfg tool} 8 5 \label{apdx:DOMCFG} … … 19 16 \end{figure} 20 17 21 \newpage22 23 18 This appendix briefly describes some of the options available in the 24 19 \forcode{DOMAINcfg} tool mentioned in \autoref{chap:DOM}. … … 35 30 of those described elsewhere in this manual. 36 31 37 % -------------------------------------------------------------------------------------------------------------38 % Choice of horizontal grid39 % -------------------------------------------------------------------------------------------------------------40 32 \section{Choice of horizontal grid} 41 33 \label{sec:DOMCFG_hor} … … 55 47 56 48 \begin{description} 57 \item [{\np{jphgr_mesh}{jphgr\_mesh}=0}] The most general curvilinear orthogonal grids.49 \item [{\np{jphgr_mesh}{jphgr\_mesh}=0}] The most general curvilinear orthogonal grids. 58 50 The coordinates and their first derivatives with respect to $i$ and $j$ are provided 59 51 in a input file (\ifile{coordinates}), read in \rou{hgr\_read} subroutine of the domhgr module. 60 52 This is now the only option available within \NEMO\ itself from v4.0 onwards. 61 \item [{\np{jphgr_mesh}{jphgr\_mesh}=1 to 5}] A few simple analytical grids are provided (see below).53 \item [{\np{jphgr_mesh}{jphgr\_mesh}=1 to 5}] A few simple analytical grids are provided (see below). 62 54 For other analytical grids, the \mdl{domhgr} module (\texttt{DOMAINcfg} variant) must be 63 55 modified by the user. In most cases, modifying the \mdl{usrdef\_hgr} module of \NEMO\ is … … 102 94 (and the number of grid points). 103 95 104 % -------------------------------------------------------------------------------------------------------------105 % vertical reference coordinate transformation106 % -------------------------------------------------------------------------------------------------------------107 96 \section{Vertical grid} 108 97 \label{sec:DOMCFG_vert} … … 111 100 \label{sec:DOMCFG_zref} 112 101 113 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>114 102 \begin{figure}[!tb] 115 103 \centering … … 121 109 \label{fig:DOMCFG_zgr} 122 110 \end{figure} 123 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>124 111 125 112 The reference coordinate transformation $z_0(k)$ defines the arrays $gdept_0$ and … … 210 197 999999$., in \nam{cfg}{cfg} namelist, and specifies instead the four following parameters: 211 198 \begin{itemize} 212 \item 213 \np{ppacr}{ppacr}~$= h_{cr}$: stretching factor (nondimensional). 199 \item \np{ppacr}{ppacr}~$= h_{cr}$: stretching factor (nondimensional). 214 200 The larger \np{ppacr}{ppacr}, the smaller the stretching. 215 201 Values from $3$ to $10$ are usual. 216 \item 217 \np{ppkth}{ppkth}~$= h_{th}$: is approximately the model level at which maximum stretching occurs 202 \item \np{ppkth}{ppkth}~$= h_{th}$: is approximately the model level at which maximum stretching occurs 218 203 (nondimensional, usually of order 1/2 or 2/3 of \jp{jpk}) 219 \item 220 \np{ppdzmin}{ppdzmin}: minimum thickness for the top layer (in meters). 221 \item 222 \np{pphmax}{pphmax}: total depth of the ocean (meters). 204 \item \np{ppdzmin}{ppdzmin}: minimum thickness for the top layer (in meters). 205 \item \np{pphmax}{pphmax}: total depth of the ocean (meters). 223 206 \end{itemize} 224 207 … … 227 210 \np{pphmax}{pphmax}~$= 5750~m$. 228 211 229 %% %>>>>>>>>>>>>>>>>>>>>>>>>>>>>230 212 \begin{table} 231 213 \centering … … 304 286 \end{table} 305 287 %%%YY 306 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>307 288 %% % ------------------------------------------------------------------------------------------------------------- 308 289 %% % Meter Bathymetry … … 314 295 \np{nn_bathy}{nn\_bathy} (found in \nam{dom}{dom} namelist (\texttt{DOMAINCFG} variant) ): 315 296 \begin{description} 316 \item [{\np[=0]{nn_bathy}{nn\_bathy}}]:297 \item [{\np[=0]{nn_bathy}{nn\_bathy}}]: 317 298 a flat-bottom domain is defined. 318 299 The total depth $z_w (jpk)$ is given by the coordinate transformation. 319 300 The domain can either be a closed basin or a periodic channel depending on the parameter \np{jperio}{jperio}. 320 \item [{\np[=-1]{nn_bathy}{nn\_bathy}}]:301 \item [{\np[=-1]{nn_bathy}{nn\_bathy}}]: 321 302 a domain with a bump of topography one third of the domain width at the central latitude. 322 303 This is meant for the "EEL-R5" configuration, a periodic or open boundary channel with a seamount. 323 \item [{\np[=1]{nn_bathy}{nn\_bathy}}]:304 \item [{\np[=1]{nn_bathy}{nn\_bathy}}]: 324 305 read a bathymetry and ice shelf draft (if needed). 325 306 The \ifile{bathy\_meter} file (Netcdf format) provides the ocean depth (positive, in meters) at … … 341 322 After reading the bathymetry, the algorithm for vertical grid definition differs between the different options: 342 323 \begin{description} 343 \item [\forcode{ln_zco = .true.}]324 \item [\forcode{ln_zco = .true.}] 344 325 set a reference coordinate transformation $z_0(k)$, and set $z(i,j,k,t) = z_0(k)$ where $z_0(k)$ is the closest match to the depth at $(i,j)$. 345 \item [\forcode{ln_zps = .true.}]326 \item [\forcode{ln_zps = .true.}] 346 327 set a reference coordinate transformation $z_0(k)$, and calculate the thickness of the deepest level at 347 328 each $(i,j)$ point using the bathymetry, to obtain the final three-dimensional depth and scale factor arrays. 348 \item [\forcode{ln_sco = .true.}]329 \item [\forcode{ln_sco = .true.}] 349 330 smooth the bathymetry to fulfill the hydrostatic consistency criteria and 350 331 set the three-dimensional transformation. 351 \item [\forcode{s-z and s-zps}]332 \item [\forcode{s-z and s-zps}] 352 333 smooth the bathymetry to fulfill the hydrostatic consistency criteria and 353 334 set the three-dimensional transformation $z(i,j,k)$, … … 356 337 %%% 357 338 358 % -------------------------------------------------------------------------------------------------------------359 % z-coordinate with constant thickness360 % -------------------------------------------------------------------------------------------------------------361 339 \subsubsection[$Z$-coordinate with uniform thickness levels (\forcode{ln_zco})]{$Z$-coordinate with uniform thickness levels (\protect\np{ln_zco}{ln\_zco})} 362 340 \label{subsec:DOMCFG_zco} … … 368 346 rarely used in modern simulations but it can be useful for testing purposes. 369 347 370 % -------------------------------------------------------------------------------------------------------------371 % z-coordinate with partial step372 % -------------------------------------------------------------------------------------------------------------373 348 \subsubsection[$Z$-coordinate with partial step (\forcode{ln_zps})]{$Z$-coordinate with partial step (\protect\np{ln_zps}{ln\_zps})} 374 349 \label{subsec:DOMCFG_zps} … … 398 373 the default thickness $e_{3t}(jk)$). 399 374 400 % -------------------------------------------------------------------------------------------------------------401 % s-coordinate402 % -------------------------------------------------------------------------------------------------------------403 375 \subsubsection[$S$-coordinate (\forcode{ln_sco})]{$S$-coordinate (\protect\np{ln_sco}{ln\_sco})} 404 376 \label{sec:DOMCFG_sco} … … 465 437 \] 466 438 467 %% %>>>>>>>>>>>>>>>>>>>>>>>>>>>>468 439 \begin{figure}[!ht] 469 440 \centering … … 474 445 \label{fig:DOMCFG_sco_function} 475 446 \end{figure} 476 %% %>>>>>>>>>>>>>>>>>>>>>>>>>>>>477 447 478 448 where $H_c$ is the critical depth (\np{rn_hc}{rn\_hc}) at which the coordinate transitions from pure $\sigma$ to … … 516 486 where the namelist parameters \np{rn_zb_a}{rn\_zb\_a} and \np{rn_zb_b}{rn\_zb\_b} are $a$ and $b$ respectively. 517 487 518 %% %>>>>>>>>>>>>>>>>>>>>>>>>>>>>519 488 \begin{figure}[!ht] 520 489 \centering … … 550 519 and is output as part of the model mesh file at the start of the run. 551 520 552 % -------------------------------------------------------------------------------------------------------------553 % z*- or s*-coordinate554 % -------------------------------------------------------------------------------------------------------------555 521 \subsubsection[\zstar- or \sstar-coordinate (\forcode{ln_linssh})]{\zstar- or \sstar-coordinate (\protect\np{ln_linssh}{ln\_linssh})} 556 522 \label{subsec:DOMCFG_zgr_star}
Note: See TracChangeset
for help on using the changeset viewer.