New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11263 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex/NEMO/subfiles/chap_DOM.tex – NEMO

Ignore:
Timestamp:
2019-07-12T12:47:53+02:00 (5 years ago)
Author:
smasson
Message:

dev_r10984_HPC-13 : merge with trunk@11242, see #2285

Location:
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc

    • Property svn:ignore deleted
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex

    • Property svn:ignore
      •  

        old new  
        1 *.aux 
        2 *.bbl 
        3 *.blg 
        4 *.dvi 
        5 *.fdb* 
        6 *.fls 
        7 *.idx 
        8 *.ilg 
        9 *.ind 
        10 *.log 
        11 *.maf 
        12 *.mtc* 
        13 *.out 
        14 *.pdf 
        15 *.toc 
        16 _minted-* 
         1figures 
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex/NEMO

    • Property svn:ignore deleted
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/doc/latex/NEMO/subfiles/chap_DOM.tex

    r10502 r11263  
    4040\begin{figure}[!tb] 
    4141  \begin{center} 
    42     \includegraphics[]{Fig_cell} 
     42    \includegraphics[width=\textwidth]{Fig_cell} 
    4343    \caption{ 
    4444      \protect\label{fig:cell} 
     
    6060the centre of each face of the cells (\autoref{fig:cell}). 
    6161This is the generalisation to three dimensions of the well-known ``C'' grid in Arakawa's classification 
    62 \citep{Mesinger_Arakawa_Bk76}. 
     62\citep{mesinger.arakawa_bk76}. 
    6363The relative and planetary vorticity, $\zeta$ and $f$, are defined in the centre of each vertical edge and 
    6464the barotropic stream function $\psi$ is defined at horizontal points overlying the $\zeta$ and $f$-points. 
     
    218218\begin{figure}[!tb] 
    219219  \begin{center} 
    220     \includegraphics[]{Fig_index_hor} 
     220    \includegraphics[width=\textwidth]{Fig_index_hor} 
    221221    \caption{ 
    222222      \protect\label{fig:index_hor} 
     
    272272\begin{figure}[!pt] 
    273273  \begin{center} 
    274     \includegraphics[]{Fig_index_vert} 
     274    \includegraphics[width=\textwidth]{Fig_index_vert} 
    275275    \caption{ 
    276276      \protect\label{fig:index_vert} 
     
    345345% Domain: Horizontal Grid (mesh)  
    346346% ================================================================ 
    347 \section{Horizontal grid mesh (\protect\mdl{domhgr})} 
     347\section[Horizontal grid mesh (\textit{domhgr.F90})] 
     348{Horizontal grid mesh (\protect\mdl{domhgr})} 
    348349\label{sec:DOM_hgr} 
    349350 
     
    397398(\ie as the analytical first derivative of the transformation that 
    398399gives $(\lambda,\varphi,z)$ as a function of $(i,j,k)$) 
    399 is specific to the \NEMO model \citep{Marti_al_JGR92}. 
     400is specific to the \NEMO model \citep{marti.madec.ea_JGR92}. 
    400401As an example, $e_{1t}$ is defined locally at a $t$-point, 
    401402whereas many other models on a C grid choose to define such a scale factor as 
     
    405406since they are first introduced in the continuous equations; 
    406407secondly, analytical transformations encourage good practice by the definition of smoothly varying grids 
    407 (rather than allowing the user to set arbitrary jumps in thickness between adjacent layers) \citep{Treguier1996}. 
     408(rather than allowing the user to set arbitrary jumps in thickness between adjacent layers) \citep{treguier.dukowicz.ea_JGR96}. 
    408409An example of the effect of such a choice is shown in \autoref{fig:zgr_e3}. 
    409410%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    410411\begin{figure}[!t] 
    411412  \begin{center} 
    412     \includegraphics[]{Fig_zgr_e3} 
     413    \includegraphics[width=\textwidth]{Fig_zgr_e3} 
    413414    \caption{ 
    414415      \protect\label{fig:zgr_e3} 
     
    451452% Domain: Vertical Grid (domzgr) 
    452453% ================================================================ 
    453 \section{Vertical grid (\protect\mdl{domzgr})} 
     454\section[Vertical grid (\textit{domzgr.F90})] 
     455{Vertical grid (\protect\mdl{domzgr})} 
    454456\label{sec:DOM_zgr} 
    455457%-----------------------------------------nam_zgr & namdom------------------------------------------- 
     
    471473\begin{figure}[!tb] 
    472474  \begin{center} 
    473     \includegraphics[]{Fig_z_zps_s_sps} 
     475    \includegraphics[width=\textwidth]{Fig_z_zps_s_sps} 
    474476    \caption{ 
    475477      \protect\label{fig:z_zps_s_sps} 
     
    480482      (d) hybrid $s-z$ coordinate, 
    481483      (e) hybrid $s-z$ coordinate with partial step, and 
    482       (f) same as (e) but in the non-linear free surface (\protect\np{ln\_linssh}~\forcode{= .false.}). 
     484      (f) same as (e) but in the non-linear free surface (\protect\np{ln\_linssh}\forcode{ = .false.}). 
    483485      Note that the non-linear free surface can be used with any of the 5 coordinates (a) to (e). 
    484486    } 
     
    491493It is not intended as an option which can be enabled or disabled in the middle of an experiment. 
    492494Three main choices are offered (\autoref{fig:z_zps_s_sps}): 
    493 $z$-coordinate with full step bathymetry (\np{ln\_zco}~\forcode{= .true.}), 
    494 $z$-coordinate with partial step bathymetry (\np{ln\_zps}~\forcode{= .true.}), 
    495 or generalized, $s$-coordinate (\np{ln\_sco}~\forcode{= .true.}). 
     495$z$-coordinate with full step bathymetry (\np{ln\_zco}\forcode{ = .true.}), 
     496$z$-coordinate with partial step bathymetry (\np{ln\_zps}\forcode{ = .true.}), 
     497or generalized, $s$-coordinate (\np{ln\_sco}\forcode{ = .true.}). 
    496498Hybridation of the three main coordinates are available: 
    497499$s-z$ or $s-zps$ coordinate (\autoref{fig:z_zps_s_sps} and \autoref{fig:z_zps_s_sps}). 
    498500By default a non-linear free surface is used: the coordinate follow the time-variation of the free surface so that 
    499501the transformation is time dependent: $z(i,j,k,t)$ (\autoref{fig:z_zps_s_sps}). 
    500 When a linear free surface is assumed (\np{ln\_linssh}~\forcode{= .true.}), 
     502When a linear free surface is assumed (\np{ln\_linssh}\forcode{ = .true.}), 
    501503the vertical coordinate are fixed in time, but the seawater can move up and down across the $z_0$ surface 
    502504(in other words, the top of the ocean in not a rigid-lid). 
     
    513515  N.B. in full step $z$-coordinate, a \ifile{bathy\_level} file can replace the \ifile{bathy\_meter} file, 
    514516  so that the computation of the number of wet ocean point in each water column is by-passed}. 
    515 If \np{ln\_isfcav}~\forcode{= .true.}, an extra file input file (\ifile{isf\_draft\_meter}) describing 
     517If \np{ln\_isfcav}\forcode{ = .true.}, an extra file input file (\ifile{isf\_draft\_meter}) describing 
    516518the ice shelf draft (in meters) is needed. 
    517519 
     
    535537%%% 
    536538 
    537 Unless a linear free surface is used (\np{ln\_linssh}~\forcode{= .false.}), 
     539Unless a linear free surface is used (\np{ln\_linssh}\forcode{ = .false.}), 
    538540the arrays describing the grid point depths and vertical scale factors are three set of 
    539541three dimensional arrays $(i,j,k)$ defined at \textit{before}, \textit{now} and \textit{after} time step. 
     
    541543They are updated at each model time step using a fixed reference coordinate system which 
    542544computer names have a $\_0$ suffix. 
    543 When the linear free surface option is used (\np{ln\_linssh}~\forcode{= .true.}), \textit{before}, 
     545When the linear free surface option is used (\np{ln\_linssh}\forcode{ = .true.}), \textit{before}, 
    544546\textit{now} and \textit{after} arrays are simply set one for all to their reference counterpart. 
    545547 
     
    553555(found in \ngn{namdom} namelist):  
    554556\begin{description} 
    555 \item[\np{nn\_bathy}~\forcode{= 0}]: 
     557\item[\np{nn\_bathy}\forcode{ = 0}]: 
    556558  a flat-bottom domain is defined. 
    557559  The total depth $z_w (jpk)$ is given by the coordinate transformation. 
    558560  The domain can either be a closed basin or a periodic channel depending on the parameter \np{jperio}. 
    559 \item[\np{nn\_bathy}~\forcode{= -1}]: 
     561\item[\np{nn\_bathy}\forcode{ = -1}]: 
    560562  a domain with a bump of topography one third of the domain width at the central latitude. 
    561563  This is meant for the "EEL-R5" configuration, a periodic or open boundary channel with a seamount. 
    562 \item[\np{nn\_bathy}~\forcode{= 1}]: 
     564\item[\np{nn\_bathy}\forcode{ = 1}]: 
    563565  read a bathymetry and ice shelf draft (if needed). 
    564566  The \ifile{bathy\_meter} file (Netcdf format) provides the ocean depth (positive, in meters) at 
     
    571573  The \ifile{isfdraft\_meter} file (Netcdf format) provides the ice shelf draft (positive, in meters) at 
    572574  each grid point of the model grid. 
    573   This file is only needed if \np{ln\_isfcav}~\forcode{= .true.}. 
     575  This file is only needed if \np{ln\_isfcav}\forcode{ = .true.}. 
    574576  Defining the ice shelf draft will also define the ice shelf edge and the grounding line position. 
    575577\end{description} 
     
    586588%        z-coordinate  and reference coordinate transformation 
    587589% ------------------------------------------------------------------------------------------------------------- 
    588 \subsection[$Z$-coordinate (\protect\np{ln\_zco}~\forcode{= .true.}) and ref. coordinate] 
    589             {$Z$-coordinate (\protect\np{ln\_zco}~\forcode{= .true.}) and reference coordinate} 
     590\subsection[$Z$-coordinate (\forcode{ln_zco = .true.}) and ref. coordinate] 
     591{$Z$-coordinate (\protect\np{ln\_zco}\forcode{ = .true.}) and reference coordinate} 
    590592\label{subsec:DOM_zco} 
    591593 
     
    593595\begin{figure}[!tb] 
    594596  \begin{center} 
    595     \includegraphics[]{Fig_zgr} 
     597    \includegraphics[width=\textwidth]{Fig_zgr} 
    596598    \caption{ 
    597599      \protect\label{fig:zgr} 
     
    616618using parameters provided in the \ngn{namcfg} namelist. 
    617619 
    618 It is possible to define a simple regular vertical grid by giving zero stretching (\np{ppacr}~\forcode{= 0}). 
     620It is possible to define a simple regular vertical grid by giving zero stretching (\np{ppacr}\forcode{ = 0}). 
    619621In that case, the parameters \jp{jpk} (number of $w$-levels) and 
    620622\np{pphmax} (total ocean depth in meters) fully define the grid. 
     
    631633a smooth hyperbolic tangent transition in between (\autoref{fig:zgr}). 
    632634 
    633 If the ice shelf cavities are opened (\np{ln\_isfcav}~\forcode{= .true.}), the definition of $z_0$ is the same. 
     635If the ice shelf cavities are opened (\np{ln\_isfcav}\forcode{ = .true.}), the definition of $z_0$ is the same. 
    634636However, definition of $e_3^0$ at $t$- and $w$-points is respectively changed to: 
    635637\begin{equation} 
     
    765767%        z-coordinate with partial step 
    766768% ------------------------------------------------------------------------------------------------------------- 
    767 \subsection{$Z$-coordinate with partial step (\protect\np{ln\_zps}~\forcode{= .true.})} 
     769\subsection[$Z$-coordinate with partial step (\forcode{ln_zps = .true.})] 
     770{$Z$-coordinate with partial step (\protect\np{ln\_zps}\forcode{ = .true.})} 
    768771\label{subsec:DOM_zps} 
    769772%--------------------------------------------namdom------------------------------------------------------- 
     
    796799%        s-coordinate 
    797800% ------------------------------------------------------------------------------------------------------------- 
    798 \subsection{$S$-coordinate (\protect\np{ln\_sco}~\forcode{= .true.})} 
     801\subsection[$S$-coordinate (\forcode{ln_sco = .true.})] 
     802{$S$-coordinate (\protect\np{ln\_sco}\forcode{ = .true.})} 
    799803\label{subsec:DOM_sco} 
    800804%------------------------------------------nam_zgr_sco--------------------------------------------------- 
     
    803807%-------------------------------------------------------------------------------------------------------------- 
    804808Options are defined in \ngn{namzgr\_sco}. 
    805 In $s$-coordinate (\np{ln\_sco}~\forcode{= .true.}), the depth and thickness of the model levels are defined from 
     809In $s$-coordinate (\np{ln\_sco}\forcode{ = .true.}), the depth and thickness of the model levels are defined from 
    806810the product of a depth field and either a stretching function or its derivative, respectively: 
    807811 
     
    826830 
    827831The original default NEMO s-coordinate stretching is available if neither of the other options are specified as true 
    828 (\np{ln\_s\_SH94}~\forcode{= .false.} and \np{ln\_s\_SF12}~\forcode{= .false.}). 
    829 This uses a depth independent $\tanh$ function for the stretching \citep{Madec_al_JPO96}: 
     832(\np{ln\_s\_SH94}\forcode{ = .false.} and \np{ln\_s\_SF12}\forcode{ = .false.}). 
     833This uses a depth independent $\tanh$ function for the stretching \citep{madec.delecluse.ea_JPO96}: 
    830834 
    831835\[ 
     
    846850 
    847851A stretching function, 
    848 modified from the commonly used \citet{Song_Haidvogel_JCP94} stretching (\np{ln\_s\_SH94}~\forcode{= .true.}), 
     852modified from the commonly used \citet{song.haidvogel_JCP94} stretching (\np{ln\_s\_SH94}\forcode{ = .true.}), 
    849853is also available and is more commonly used for shelf seas modelling: 
    850854 
     
    859863\begin{figure}[!ht] 
    860864  \begin{center} 
    861     \includegraphics[]{Fig_sco_function} 
     865    \includegraphics[width=\textwidth]{Fig_sco_function} 
    862866    \caption{ 
    863867      \protect\label{fig:sco_function} 
     
    876880 
    877881Another example has been provided at version 3.5 (\np{ln\_s\_SF12}) that allows a fixed surface resolution in 
    878 an analytical terrain-following stretching \citet{Siddorn_Furner_OM12}. 
     882an analytical terrain-following stretching \citet{siddorn.furner_OM13}. 
    879883In this case the a stretching function $\gamma$ is defined such that: 
    880884 
     
    911915%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    912916\begin{figure}[!ht] 
    913   \includegraphics[]{Fig_DOM_compare_coordinates_surface} 
     917  \includegraphics[width=\textwidth]{Fig_DOM_compare_coordinates_surface} 
    914918  \caption{ 
    915     A comparison of the \citet{Song_Haidvogel_JCP94} $S$-coordinate (solid lines), 
     919    A comparison of the \citet{song.haidvogel_JCP94} $S$-coordinate (solid lines), 
    916920    a 50 level $Z$-coordinate (contoured surfaces) and 
    917     the \citet{Siddorn_Furner_OM12} $S$-coordinate (dashed lines) in the surface $100~m$ for 
     921    the \citet{siddorn.furner_OM13} $S$-coordinate (dashed lines) in the surface $100~m$ for 
    918922    a idealised bathymetry that goes from $50~m$ to $5500~m$ depth. 
    919923    For clarity every third coordinate surface is shown. 
     
    929933creating a non-analytical vertical coordinate that 
    930934therefore may suffer from large gradients in the vertical resolutions. 
    931 This stretching is less straightforward to implement than the \citet{Song_Haidvogel_JCP94} stretching, 
     935This stretching is less straightforward to implement than the \citet{song.haidvogel_JCP94} stretching, 
    932936but has the advantage of resolving diurnal processes in deep water and has generally flatter slopes. 
    933937 
    934 As with the \citet{Song_Haidvogel_JCP94} stretching the stretch is only applied at depths greater than 
     938As with the \citet{song.haidvogel_JCP94} stretching the stretch is only applied at depths greater than 
    935939the critical depth $h_c$. 
    936940In this example two options are available in depths shallower than $h_c$, 
     
    940944Minimising the horizontal slope of the vertical coordinate is important in terrain-following systems as 
    941945large slopes lead to hydrostatic consistency. 
    942 A hydrostatic consistency parameter diagnostic following \citet{Haney1991} has been implemented, 
     946A hydrostatic consistency parameter diagnostic following \citet{haney_JPO91} has been implemented, 
    943947and is output as part of the model mesh file at the start of the run. 
    944948 
     
    946950%        z*- or s*-coordinate 
    947951% ------------------------------------------------------------------------------------------------------------- 
    948 \subsection{\zstar- or \sstar-coordinate (\protect\np{ln\_linssh}~\forcode{= .false.})} 
     952\subsection[\zstar- or \sstar-coordinate (\forcode{ln_linssh = .false.})] 
     953{\zstar- or \sstar-coordinate (\protect\np{ln\_linssh}\forcode{ = .false.})} 
    949954\label{subsec:DOM_zgr_star} 
    950955 
     
    960965 
    961966Whatever the vertical coordinate used, the model offers the possibility of representing the bottom topography with 
    962 steps that follow the face of the model cells (step like topography) \citep{Madec_al_JPO96}. 
     967steps that follow the face of the model cells (step like topography) \citep{madec.delecluse.ea_JPO96}. 
    963968The distribution of the steps in the horizontal is defined in a 2D integer array, mbathy, which 
    964969gives the number of ocean levels (\ie those that are not masked) at each $t$-point. 
     
    10141019% Domain: Initial State (dtatsd & istate) 
    10151020% ================================================================ 
    1016 \section{Initial state (\protect\mdl{istate} and \protect\mdl{dtatsd})} 
     1021\section[Initial state (\textit{istate.F90} and \textit{dtatsd.F90})] 
     1022{Initial state (\protect\mdl{istate} and \protect\mdl{dtatsd})} 
    10171023\label{sec:DTA_tsd} 
    10181024%-----------------------------------------namtsd------------------------------------------- 
     
    10251031salinity fields is controlled through the \np{ln\_tsd\_ini} namelist parameter. 
    10261032\begin{description} 
    1027 \item[\np{ln\_tsd\_init}~\forcode{= .true.}] 
     1033\item[\np{ln\_tsd\_init}\forcode{ = .true.}] 
    10281034  use a T and S input files that can be given on the model grid itself or on their native input data grid. 
    10291035  In the latter case, 
     
    10321038  The information relative to the input files are given in the \np{sn\_tem} and \np{sn\_sal} structures. 
    10331039  The computation is done in the \mdl{dtatsd} module. 
    1034 \item[\np{ln\_tsd\_init}~\forcode{= .false.}] 
     1040\item[\np{ln\_tsd\_init}\forcode{ = .false.}] 
    10351041  use constant salinity value of $35.5~psu$ and an analytical profile of temperature 
    10361042  (typical of the tropical ocean), see \rou{istate\_t\_s} subroutine called from \mdl{istate} module. 
Note: See TracChangeset for help on using the changeset viewer.