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.
introduction.tex in NEMO/branches/2018/dev_r9956_ENHANCE05_ZAD_AIMP/doc/tex_sub – NEMO

source: NEMO/branches/2018/dev_r9956_ENHANCE05_ZAD_AIMP/doc/tex_sub/introduction.tex @ 10008

Last change on this file since 10008 was 9957, checked in by acc, 6 years ago

New development branch for the adaptive-implicit vertical advection (05_Gurvan-Vertical_advection)

File size: 16.9 KB
Line 
1\documentclass[../tex_main/NEMO_manual]{subfiles}
2\begin{document}
3
4% ================================================================
5% INTRODUCTION
6% ================================================================
7
8\chapter{Introduction}
9
10The Nucleus for European Modelling of the Ocean (\NEMO) is a framework of ocean
11related engines, namely OPA\footnote{OPA = Oc\'{e}an PArall\'{e}lis\'{e}} for the
12ocean dynamics and thermodynamics, LIM\footnote{LIM = Louvain la-neuve Ice
13Model} for the sea-ice dynamics and thermodynamics, TOP\footnote{TOP = Tracer
14in the Ocean Paradigm} for the biogeochemistry (both transport (TRP) and sources
15minus sinks (LOBSTER\footnote{LOBSTER = Lodyc Ocean Biogeochemical SysTem for
16Ecosystem and Resources}, PISCES\footnote{PISCES = Pelagic Interactions Scheme for
17Carbon and Ecosystem Studies}). It is intended to be a flexible tool for studying
18the ocean and its interactions with the other components of the earth climate system
19(atmosphere, sea-ice, biogeochemical tracers, ...) over a wide range of space and time scales.
20This documentation provides information about the physics represented by the ocean
21component of \NEMO and the rationale for the choice of numerical schemes and
22the model design. More specific information about running the model on different
23computers, or how to set up a configuration, are found on the \NEMO web site
24(www.nemo-ocean.eu).
25
26The ocean component of \NEMO has been developed from the OPA model,
27release 8.2, described in \citet{Madec1998}. This model has been used for a wide
28range of applications, both regional or global, as a forced ocean model and as a
29model coupled with the sea-ice and/or the atmosphere. 
30
31This manual is organised in as follows. \autoref{chap:PE} presents the model basics,
32$i.e.$ the equations and their assumptions, the vertical coordinates used, and the
33subgrid scale physics. This part deals with the continuous equations of the model
34(primitive equations, with temperature, salinity and an equation of seawater).
35The equations are written in a curvilinear coordinate system, with a choice of vertical
36coordinates ($z$, $s$, \textit{z*}, \textit{s*}, $\tilde{z}$, $\tilde{s}$, and a mixture of them).
37Momentum equations are formulated in vector invariant or flux form.
38Dimensional units in the meter, kilogram, second (MKS) international system
39are used throughout.
40
41The following chapters deal with the discrete equations. \autoref{chap:STP} presents the
42time domain. The model time stepping environment is a three level scheme in which
43the tendency terms of the equations are evaluated either centered  in time, or forward,
44or backward depending of the nature of the term.
45\autoref{chap:DOM} presents the space domain. The model is discretised on a staggered
46grid (Arakawa C grid) with masking of land areas. Vertical discretisation used depends
47on both how the bottom topography is represented and whether the free surface is linear or not.
48Full step or partial step $z$-coordinate or $s$- (terrain-following) coordinate is used
49with linear free surface (level position are then fixed in time). In non-linear free surface,
50the corresponding rescaled height coordinate formulation (\textit{z*} or \textit{s*}) is used
51(the level position then vary in time as a function of the sea surface heigh).
52The following two chapters (\autoref{chap:TRA} and \autoref{chap:DYN}) describe the discretisation of the
53prognostic equations for the active tracers and the momentum. Explicit, split-explicit
54and filtered free surface formulations are implemented.
55A number of numerical schemes are available for momentum advection, for the computation
56of the pressure gradients, as well as for the advection of tracers (second or higher
57order advection schemes, including positive ones).
58
59Surface boundary conditions (\autoref{chap:SBC}) can be implemented as prescribed
60fluxes, or bulk formulations for the surface fluxes (wind stress, heat, freshwater). The
61model allows penetration of solar radiation  There is an optional geothermal heating at
62the ocean bottom. Within the \NEMO system the ocean model is interactively coupled
63with a sea ice model (LIM) and with biogeochemistry models (PISCES, LOBSTER).
64Interactive coupling to Atmospheric models is possible via the OASIS coupler
65\citep{OASIS2006}. Two-way nesting is also available through an interface to the
66AGRIF package (Adaptative Grid Refinement in \textsc{Fortran}) \citep{Debreu_al_CG2008}.
67The interface code for coupling to an alternative sea ice model (CICE, \citet{Hunke2008})
68has now been upgraded so that it works for both global and regional domains, although AGRIF
69is still not available.
70
71Other model characteristics are the lateral boundary conditions (\autoref{chap:LBC}). 
72Global configurations of the model make use of the ORCA tripolar grid, with special north
73fold boundary condition. Free-slip or no-slip boundary conditions are allowed at land
74boundaries. Closed basin geometries as well as periodic domains and open boundary
75conditions are possible.
76
77Physical parameterisations are described in \autoref{chap:LDF} and \autoref{chap:ZDF}. The
78model includes an implicit treatment of vertical viscosity and diffusivity. The lateral
79Laplacian and biharmonic viscosity and diffusion can be rotated following a geopotential
80or neutral direction. There is an optional eddy induced velocity \citep{Gent1990} with a
81space and time variable coefficient \citet{Treguier1997}. The model has vertical harmonic
82viscosity and diffusion with a space and time variable coefficient, with options to compute
83the coefficients with \citet{Blanke1993}, \citet{Pacanowski_Philander_JPO81},
84or \citet{Umlauf_Burchard_JMS03} mixing schemes.
85 \vspace{1cm}
86 
87%%gm    To be put somewhere else ....
88
89\noindent CPP keys and namelists are used for inputs to the code.  \newline
90
91\noindent \index{CPP keys} CPP keys \newline
92Some CPP keys are implemented in the FORTRAN code to allow code selection at compiling step. This selection of code at compilation time reduces the reliability of the whole platform since it changes the code from one set of CPP keys to the other. It is used only when the addition/suppression of the part of code highly changes the amount of memory at run time.
93Usual coding looks like :
94\begin{forlines}
95#if defined key_option1
96   ! This part of the FORTRAN code will be active
97   ! only if key_option1 is activated at compiling step
98#endif
99\end{forlines}
100
101\noindent \index{Namelist} Namelists
102
103The namelist allows to input variables (character, logical, real and integer) into the code. There is one namelist file for each component of NEMO (dynamics, sea-ice, biogeochemistry...) containing all the FOTRAN namelists needed. The implementation in NEMO uses a two step process. For each FORTRAN namelist, two files are read:
104\begin{enumerate}
105\item A reference namelist (in \path{CONFIG/SHARED/namelist_ref}) is read first. This file contains all the namelist variables which are initialised to default values 
106\item A configuration namelist (in \path{CONFIG/CFG_NAME/EXP00/namelist_cfg}) is read aferwards. This file contains only the namelist variables which are changed from default values, and overwrites those.
107\end{enumerate}
108A template can be found in \path{NEMO/OPA_SRC/module.example}.
109The effective namelist, taken in account during the run, is stored at execution time in an output\_namelist\_dyn (or \_ice or \_top) file.
110 \vspace{1cm}
111
112%%gm  end
113
114Model outputs management and specific online diagnostics are described in \autoref{chap:DIA}.
115The diagnostics includes the output of all the tendencies of the momentum and tracers equations,
116the output of tracers tendencies averaged over the time evolving mixed layer, the output of
117the tendencies of the barotropic vorticity equation, the computation of on-line floats trajectories...
118\autoref{chap:OBS} describes a tool which reads in observation files (profile temperature
119and salinity, sea surface temperature, sea level anomaly and sea ice concentration)
120and calculates an interpolated model equivalent value at the observation location
121and nearest model timestep. Originally developed of data assimilation, it is a fantastic
122tool for model and data comparison. \autoref{chap:ASM} describes how increments
123produced by data assimilation may be applied to the model equations.
124Finally, \autoref{chap:CFG} provides a brief introduction to the pre-defined model
125configurations (water column model, ORCA and GYRE families of configurations).
126
127The model is implemented in \textsc{Fortran 90}, with preprocessing (C-pre-processor).
128It runs under UNIX. It is optimized for vector computers and parallelised by domain 
129decomposition with MPI. All input and output is done in NetCDF (Network Common Data
130Format) with a optional direct access format for output. To ensure the clarity and
131readability of the code it is necessary to follow coding rules. The coding rules for OPA
132include conventions for naming variables, with different starting letters for different types
133of variables (real, integer, parameter\ldots). Those rules are briefly presented in
134\autoref{apdx:D} and a more complete document is available on the \NEMO web site.
135
136The model is organized with a high internal modularity based on physics. For example,
137each trend ($i.e.$, a term in the RHS of the prognostic equation) for momentum and
138tracers is computed in a dedicated module.  To make it easier for the user to find his way
139around the code, the module names follow a three-letter rule. For example, \mdl{traldf} 
140is a module related to the TRAcers equation, computing the Lateral DiFfussion.
141%The complete list of module names is presented in \autoref{apdx:D}.      %====>>>> to be done !
142Furthermore, modules are organized in a few directories that correspond to their category,
143as indicated by the first three letters of their name (\autoref{tab:chap}).
144
145The manual mirrors the organization of the model.
146After the presentation of the continuous equations (\autoref{chap:PE}), the following chapters
147refer to specific terms of the equations each associated with a group of modules (\autoref{tab:chap}).
148
149
150%--------------------------------------------------TABLE--------------------------------------------------
151\begin{table}[!t]
152%\begin{center} \begin{tabular}{|p{143pt}|l|l|} \hline
153\caption{ \protect\label{tab:chap}   Organization of Chapters mimicking the one of the model directories. }
154\begin{center}    \begin{tabular}{|l|l|l|}   \hline
155\autoref{chap:STP}   & -                 & model time STePping environment \\    \hline
156\autoref{chap:DOM}   & DOM    & model DOMain \\    \hline
157\autoref{chap:TRA}   & TRA    & TRAcer equations (potential temperature and salinity) \\   \hline
158\autoref{chap:DYN}   & DYN    & DYNamic equations (momentum) \\      \hline
159\autoref{chap:SBC}   & SBC    & Surface Boundary Conditions \\       \hline
160\autoref{chap:LBC}   & LBC    & Lateral Boundary Conditions (also OBC and BDY)  \\     \hline
161\autoref{chap:LDF}   & LDF    & Lateral DiFfusion (parameterisations) \\   \hline
162\autoref{chap:ZDF}   & ZDF    & vertical (Z) DiFfusion (parameterisations)  \\      \hline
163\autoref{chap:DIA}   & DIA    & I/O and DIAgnostics (also IOM, FLO and TRD) \\      \hline
164\autoref{chap:OBS}   & OBS    & OBServation and model comparison  \\    \hline
165\autoref{chap:ASM}   & ASM    & ASsiMilation increment  \\     \hline
166\autoref{chap:MISC}  & SOL    & Miscellaneous  topics (including solvers)  \\       \hline
167\autoref{chap:CFG}   &  -        & predefined configurations (including C1D) \\     \hline
168\end{tabular} 
169\end{center}   \end{table}
170%--------------------------------------------------------------------------------------------------------------
171
172
173\subsubsection{Changes between releases}
174NEMO/OPA, like all research tools, is in perpetual evolution. The present document describes
175the OPA version include in the release 3.4 of NEMO.  This release differs significantly
176from version 8, documented in \citet{Madec1998}.\\
177
178$\bullet$ The main modifications from OPA v8 and NEMO/OPA v3.2 are :\\
179\begin{enumerate}
180\item transition to full native \textsc{Fortran} 90, deep code restructuring and drastic
181reduction of CPP keys;
182\item introduction of partial step representation of bottom topography \citep{Barnier_al_OD06, Le_Sommer_al_OM09, Penduff_al_OS07};
183\item partial reactivation of a terrain-following vertical coordinate ($s$- and hybrid $s$-$z$)
184with the addition of several options for pressure gradient computation \footnote{Partial
185support of $s$-coordinate: there is presently no support for neutral physics in $s$-
186coordinate and for the new options for horizontal pressure gradient computation with
187a non-linear equation of state.};
188\item more choices for the treatment of the free surface: full explicit, split-explicit or filtered
189schemes, and suppression of the rigid-lid option;
190\item non linear free surface associated with the rescaled height coordinate 
191\textit{z*} or  \textit{s};
192\item additional schemes for vector and flux forms of the momentum  advection;
193\item additional advection schemes for tracers;
194\item implementation of the AGRIF package (Adaptative Grid Refinement in \textsc{Fortran}) \citep{Debreu_al_CG2008};
195\item online diagnostics : tracers trend in the mixed layer and vorticity balance;
196\item rewriting of the I/O management with the use of an I/O server;
197\item generalized ocean-ice-atmosphere-CO2 coupling interface, interfaced with OASIS 3 coupler ;
198\item surface module (SBC) that simplify the way the ocean is forced and include two
199bulk formulea (CLIO and CORE) and which includes an on-the-fly interpolation of input forcing fields ;
200\item RGB light penetration and optional use of ocean color
201\item major changes in the TKE schemes: it now includes a Langmuir cell parameterization  \citep{Axell_JGR02},
202the \citet{Mellor_Blumberg_JPO04} surface wave breaking parameterization, and has a time discretization
203which is energetically consistent with the ocean model equations \citep{Burchard_OM02, Marsaleix_al_OM08};
204\item tidal mixing parametrisation (bottom intensification) + Indonesian specific tidal mixing \citep{Koch-Larrouy_al_GRL07};
205\item introduction of LIM-3, the new Louvain-la-Neuve sea-ice model (C-grid rheology and
206new thermodynamics including bulk ice salinity) \citep{Vancoppenolle_al_OM09a, Vancoppenolle_al_OM09b}
207\end{enumerate}
208
209 \vspace{1cm}
210$\bullet$ The main modifications from NEMO/OPA v3.2 and  v3.3 are :\\
211\begin{enumerate}
212\item introduction of a modified leapfrog-Asselin filter time stepping scheme \citep{Leclair_Madec_OM09};
213\item additional scheme for iso-neutral mixing \citep{Griffies_al_JPO98}, although it is still a "work in progress";
214\item a rewriting of the bottom boundary layer scheme, following \citet{Campin_Goosse_Tel99};
215\item addition of a Generic Length Scale vertical mixing scheme, following \citet{Umlauf_Burchard_JMS03};
216\item addition of the atmospheric pressure as an external forcing on both ocean and sea-ice dynamics;
217\item addition of a diurnal cycle on solar radiation \citep{Bernie_al_CD07};
218\item river runoffs added through a non-zero depth, and having its own temperature and salinity;
219\item CORE II normal year forcing set as the default forcing of ORCA2-LIM configuration ;
220\item generalisation of the use of \mdl{fldread} for all input fields (ocean climatology, sea-ice damping...) ;
221\item addition of an on-line observation and model comparison (thanks to NEMOVAR project);
222\item optional application of an assimilation increment (thanks to NEMOVAR project);
223\item coupling interface adjusted for WRF atmospheric model;
224\item C-grid ice rheology now available fro both LIM-2 and LIM-3 \citep{Bouillon_al_OM09};
225\item LIM-3 ice-ocean momentum coupling applied to LIM-2 ;
226\item a deep re-writting and simplification of the off-line tracer component (OFF\_SRC) ;
227\item the merge of passive and active advection and diffusion modules ;
228\item  Use of the Flexible Configuration Manager (FCM) to build configurations, generate the Makefile and produce the executable ;
229\item Linear-tangent and Adjoint component (TAM) added, phased with v3.0
230\end{enumerate}
231 \vspace{1cm}
232In addition, several minor modifications in the coding have been introduced with the constant
233concern of improving the model performance.
234
235 \vspace{1cm}
236$\bullet$ The main modifications from NEMO/OPA v3.3 and  v3.4 are :\\
237\begin{enumerate}
238\item finalisation of above iso-neutral mixing \citep{Griffies_al_JPO98}";
239\item "Neptune effect" parametrisation;
240\item horizontal pressure gradient suitable for s-coordinate;
241\item semi-implicit bottom friction;
242\item finalisation of the merge of passive and active tracers advection-diffusion modules;
243\item a new bulk formulae (so-called MFS);
244\item use fldread for the off-line tracer component (OFF\_SRC) ;
245\item use MPI point to point communications  for north fold;
246\item diagnostic of transport ;
247\end{enumerate}
248
249
250 \vspace{1cm}
251$\bullet$ The main modifications from NEMO/OPA v3.4 and  v3.6 are :\\
252\begin{enumerate}
253 \item ... ;
254\end{enumerate}
255
256
257 \vspace{1cm}
258$\bullet$ The main modifications from NEMO/OPA v3.6 and  v4.0 are :\\
259\begin{enumerate}
260\item new definition of configurations ;
261\item bulk formulation ;
262\item ... ;
263\end{enumerate}
264
265
266\end{document}
Note: See TracBrowser for help on using the repository browser.