Changeset 11577 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex
- Timestamp:
- 2019-09-19T19:01:38+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex
r11571 r11577 335 335 336 336 Two typical methods are available to specify the spatial domain configuration; 337 they can be selected using parameter \np{ln \_read\_cfg} parameter in namelist \nam{cfg}.338 339 If \np{ln \_read\_cfg} is set to \forcode{.true.},337 they can be selected using parameter \np{ln_read_cfg}{ln\_read\_cfg} parameter in namelist \nam{cfg}. 338 339 If \np{ln_read_cfg}{ln\_read\_cfg} is set to \forcode{.true.}, 340 340 the domain-specific parameters and fields are read from a netCDF input file, 341 whose name (without its .nc suffix) can be specified as the value of the \np{cn \_domcfg} parameter in namelist \nam{cfg}.342 343 If \np{ln \_read\_cfg} is set to \forcode{.false.},341 whose name (without its .nc suffix) can be specified as the value of the \np{cn_domcfg}{cn\_domcfg} parameter in namelist \nam{cfg}. 342 343 If \np{ln_read_cfg}{ln\_read\_cfg} is set to \forcode{.false.}, 344 344 the domain-specific parameters and fields can be provided (\eg\ analytically computed) by 345 345 subroutines \mdl{usrdef\_hgr} and \mdl{usrdef\_zgr}. … … 359 359 360 360 The next subsections summarise the parameter and fields related to the configuration of the whole model domain. 361 These represent the minimum information that must be provided either via the \np{cn \_domcfg} file or set by code361 These represent the minimum information that must be provided either via the \np{cn_domcfg}{cn\_domcfg} file or set by code 362 362 inserted into user-supplied versions of the \texttt{usrdef\_*} subroutines. 363 363 The requirements are presented in three sections: … … 377 377 see \autoref{sec:LBC_mpp}). 378 378 379 The name of the configuration is set through parameter \np{cn \_cfg},380 and the nominal resolution through parameter \np{nn \_cfg}379 The name of the configuration is set through parameter \np{cn_cfg}{cn\_cfg}, 380 and the nominal resolution through parameter \np{nn_cfg}{nn\_cfg} 381 381 (unless in the input file both of variables \texttt{ORCA} and \texttt{ORCA\_index} are present, 382 in which case \np{cn \_cfg} and \np{nn\_cfg} are set from these values accordingly).382 in which case \np{cn_cfg}{cn\_cfg} and \np{nn_cfg}{nn\_cfg} are set from these values accordingly). 383 383 384 384 The global lateral boundary condition type is selected from 8 options using parameter \jp{jperio}. … … 436 436 the unaltered surface areas at $u$ and $v$ grid points (\texttt{e1e2u} and \texttt{e1e2v}, respectively) must be read or 437 437 pre-computed in \mdl{usrdef\_hgr}. 438 If these arrays are present in the \np{cn \_domcfg} file they are read and the internal computation is suppressed.438 If these arrays are present in the \np{cn_domcfg}{cn\_domcfg} file they are read and the internal computation is suppressed. 439 439 Versions of \mdl{usrdef\_hgr} which set their own values of \texttt{e1e2u} and \texttt{e1e2v} should set 440 440 the surface-area computation flag: … … 487 487 (d) hybrid $s-z$ coordinate, 488 488 (e) hybrid $s-z$ coordinate with partial step, and 489 (f) same as (e) but in the non-linear free surface (\protect\np{ln \_linssh}\forcode{=.false.}).489 (f) same as (e) but in the non-linear free surface (\protect\np{ln_linssh}{ln\_linssh}\forcode{=.false.}). 490 490 Note that the non-linear free surface can be used with any of the 5 coordinates (a) to (e).} 491 491 \label{fig:DOM_z_zps_s_sps} … … 502 502 a single configuration file can support both options. 503 503 504 By default a non-linear free surface is used (\np{ln \_linssh} set to \forcode{=.false.} in \nam{dom}):504 By default a non-linear free surface is used (\np{ln_linssh}{ln\_linssh} set to \forcode{=.false.} in \nam{dom}): 505 505 the coordinate follow the time-variation of the free surface so that the transformation is time dependent: 506 506 $z(i,j,k,t)$ (\eg\ \autoref{fig:DOM_z_zps_s_sps}f). 507 When a linear free surface is assumed (\np{ln \_linssh} set to \forcode{=.true.} in \nam{dom}),507 When a linear free surface is assumed (\np{ln_linssh}{ln\_linssh} set to \forcode{=.true.} in \nam{dom}), 508 508 the vertical coordinates are fixed in time, but the seawater can move up and down across the $z_0$ surface 509 509 (in other words, the top of the ocean in not a rigid lid). 510 510 511 511 Note that settings: 512 \np{ln \_zco}, \np{ln\_zps}, \np{ln\_sco} and \np{ln\_isfcav} mentioned in the following sections512 \np{ln_zco}{ln\_zco}, \np{ln_zps}{ln\_zps}, \np{ln_sco}{ln\_sco} and \np{ln_isfcav}{ln\_isfcav} mentioned in the following sections 513 513 appear to be namelist options but they are no longer truly namelist options for \NEMO. 514 514 Their value is written to and read from the domain configuration file and … … 517 517 serve both to provide a record of the choices made whilst building the configuration and 518 518 to trigger appropriate code blocks within \NEMO. 519 These values should not be altered in the \np{cn \_domcfg} file.519 These values should not be altered in the \np{cn_domcfg}{cn\_domcfg} file. 520 520 521 521 \medskip 522 The decision on these choices must be made when the \np{cn \_domcfg} file is constructed.522 The decision on these choices must be made when the \np{cn_domcfg}{cn\_domcfg} file is constructed. 523 523 Three main choices are offered (\autoref{fig:DOM_z_zps_s_sps}a-c): 524 524 525 525 \begin{itemize} 526 \item $z$-coordinate with full step bathymetry (\np{ln \_zco}\forcode{=.true.}),527 \item $z$-coordinate with partial step ($zps$) bathymetry (\np{ln \_zps}\forcode{=.true.}),528 \item Generalized, $s$-coordinate (\np{ln \_sco}\forcode{=.true.}).526 \item $z$-coordinate with full step bathymetry (\np{ln_zco}{ln\_zco}\forcode{=.true.}), 527 \item $z$-coordinate with partial step ($zps$) bathymetry (\np{ln_zps}{ln\_zps}\forcode{=.true.}), 528 \item Generalized, $s$-coordinate (\np{ln_sco}{ln\_sco}\forcode{=.true.}). 529 529 \end{itemize} 530 530 … … 534 534 A further choice related to vertical coordinate concerns 535 535 the presence (or not) of ocean cavities beneath ice shelves within the model domain. 536 A setting of \np{ln \_isfcav} as \forcode{.true.} indicates that the domain contains ocean cavities,536 A setting of \np{ln_isfcav}{ln\_isfcav} as \forcode{.true.} indicates that the domain contains ocean cavities, 537 537 otherwise the top, wet layer of the ocean will always be at the ocean surface. 538 538 This option is currently only available for $z$- or $zps$-coordinates. … … 544 544 They are updated at each model time step. 545 545 The initial fixed reference coordinate system is held in variable names with a $\_0$ suffix. 546 When the linear free surface option is used (\np{ln \_linssh}\forcode{=.true.}),546 When the linear free surface option is used (\np{ln_linssh}{ln\_linssh}\forcode{=.true.}), 547 547 \textit{before}, \textit{now} and \textit{after} arrays are initially set to 548 548 their reference counterpart and remain fixed. … … 652 652 (grid-point position, scale factors) 653 653 can be saved in a file if 654 namelist parameter \np{ln \_write\_cfg} (namelist \nam{cfg}) is set to \forcode{.true.};655 the output filename is set through parameter \np{cn \_domcfg\_out}.654 namelist parameter \np{ln_write_cfg}{ln\_write\_cfg} (namelist \nam{cfg}) is set to \forcode{.true.}; 655 the output filename is set through parameter \np{cn_domcfg_out}{cn\_domcfg\_out}. 656 656 This is only really useful if 657 657 the fields are computed in subroutines \mdl{usrdef\_hgr} or \mdl{usrdef\_zgr} and … … 661 661 (grid-point position, scale factors, depths and masks) 662 662 can be saved in a file called \texttt{mesh\_mask} if 663 namelist parameter \np{ln \_meshmask} (namelist \nam{dom}) is set to \forcode{.true.}.663 namelist parameter \np{ln_meshmask}{ln\_meshmask} (namelist \nam{dom}) is set to \forcode{.true.}. 664 664 This file contains additional fields that can be useful for post-processing applications. 665 665 … … 679 679 Basic initial state options are defined in \nam{tsd}. 680 680 By default, the ocean starts from rest (the velocity field is set to zero) and 681 the initialization of temperature and salinity fields is controlled through the \np{ln \_tsd\_init} namelist parameter.681 the initialization of temperature and salinity fields is controlled through the \np{ln_tsd_init}{ln\_tsd\_init} namelist parameter. 682 682 683 683 \begin{description} 684 \item[\np{ln \_tsd\_init}\forcode{= .true.}]684 \item[\np{ln_tsd_init}{ln\_tsd\_init}\forcode{= .true.}] 685 685 Use T and S input files that can be given on the model grid itself or on their native input data grids. 686 686 In the latter case, the data will be interpolated on-the-fly both in the horizontal and the vertical to the model grid 687 687 (see \autoref{subsec:SBC_iof}). 688 The information relating to the input files are specified in the \np{sn \_tem} and \np{sn\_sal} structures.688 The information relating to the input files are specified in the \np{sn_tem}{sn\_tem} and \np{sn_sal}{sn\_sal} structures. 689 689 The computation is done in the \mdl{dtatsd} module. 690 \item[\np{ln \_tsd\_init}\forcode{= .false.}]690 \item[\np{ln_tsd_init}{ln\_tsd\_init}\forcode{= .false.}] 691 691 Initial values for T and S are set via a user supplied \rou{usr\_def\_istate} routine contained in \mdl{userdef\_istate}. 692 692 The default version sets horizontally uniform T and profiles as used in the GYRE configuration
Note: See TracChangeset
for help on using the changeset viewer.