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.
model_description.tex in NEMO/trunk/doc/latex/TOP/subfiles – NEMO

source: NEMO/trunk/doc/latex/TOP/subfiles/model_description.tex @ 11694

Last change on this file since 11694 was 11694, checked in by nicolasmartin, 5 years ago

Fix to compilte TOP manual

File size: 45.8 KB
Line 
1\documentclass[../main/TOP_manual]{subfiles}
2
3\newcommand{\cd}{\mathrm{CO_2}}
4\newcommand{\Ct}{\mathrm{C_T}}
5\newcommand{\pacd}{\mathrm{p^a_{CO_2}}}
6\newcommand{\cq}{\mathrm{^{14}C}}
7\newcommand{\Dcq}{\Delta ^{14}\mathrm{C}}
8\newcommand{\Rq}{\mathrm{^{14}{R}}}
9\newcommand{\CODE}[1]{\textsc{#1}}
10%\newcommand{\CODE}[1]{\textcolor{black}{\textsc{#1}}\xspace}
11
12\begin{document}
13
14\chapter{Model Description}
15\label{chap:ModDes}
16\chaptertoc
17
18\section{Basics}
19\label{sec:Bas}
20
21The time evolution of any passive tracer $C$ follows the transport equation, which is similar to that of active tracer - temperature or salinity :
22
23\begin{equation}
24\frac{\partial C}{\partial t} = {S(C)} -  \frac{1}{b_t} \left[   \frac{\partial e_{2u}\,e_{3u} \;  u\, C}{\partial i} +   \frac{\partial e_{1v}\,e_{3v} \;  uv, C}{\partial i}  \right] + \frac{1}{e_{3t}} \frac{\partial w\, C}{\partial k} + D^{lC} + D^{vC}
25\label{Eq_tracer}
26\end{equation}
27
28where expressions of $D^{lC}$ and $D^{vC}$ depend on the choice for the lateral and vertical subgrid scale parameterizations, see equations 5.10 and 5.11 in \citep{nemo_manual}
29
30{S(C)} , the first term on the right hand side of \ref{Eq_tracer}; is the SMS - Source Minus Sink - inherent to the tracer.  In the case of biological tracer such as phytoplankton, {S(C)} is the balance between phytoplankton growth and its decay through mortality and grazing. In the case of a tracer comprising carbon,  {S(C)} accounts for gas exchange, river discharge, flux to the sediments, gravitational sinking and other biological processes. In the case of a radioactive tracer, {S(C)} is simply loss due to radioactive decay.
31
32The second term (within brackets) represents the advection of the tracer in the three directions. It can be interpreted as the budget between the incoming and outgoing tracer fluxes in a volume $T$-cells $b_t= e_{1t}\,e_{2t}\,e_{3t}$
33
34The third term  represents the change due to lateral diffusion.
35
36The fourth term is change due to vertical diffusion, parameterized as eddy diffusion to represent vertical turbulent fluxes :
37
38\begin{equation}
39D^{vC} =  \frac{1}{e_{3t}} \frac{\partial}{\partial k} \left[  A^{vT} \frac{\partial C}{\partial k} \right]
40\label{Eq_trczdf}
41\end{equation}
42
43where $A^{vT}$ is the vertical eddy diffusivity coefficient of active tracers
44
45\section{The NEMO-TOP interface}
46\label{sec:TopInt}
47
48TOP is the NEMO hardwired interface toward biogeochemical models and provide the physical constraints/boundaries for oceanic tracers. It consists of a modular framework to handle multiple ocean tracers, including also a variety of built-in modules.
49
50This component of the NEMO framework allows one to exploit available modules  and further develop a range of applications, spanning from the implementation of a dye passive tracer to evaluate dispersion processes (by means of MY\_TRC), track water masses age (AGE module), assess the ocean interior penetration of persistent chemical compounds (e.g., gases like CFC or even PCBs), up to the full set of equations involving marine biogeochemical cycles.
51
52TOP interface has the following location in the code repository : \path{<repository>/src/TOP/}
53
54and the following modules are available:
55
56% -----------  tableau  ------------------------------------
57\begin{itemize}
58        \item \textbf{TRP}           :    Interface to NEMO physical core for computing tracers transport
59        \item \textbf{CFC}     :    Inert carbon tracers (CFC11,CFC12, SF6)
60        \item \textbf{C14}     :    Radiocarbon passive tracer
61        \item \textbf{AGE}     :    Water age tracking
62        \item \textbf{MY\_TRC}  :   Template for creation of new modules and external BGC models coupling
63        \item \textbf{PISCES}    :   Built in BGC model. See \citep{aumont_2015} for a throughout description.
64\end{itemize}
65%  ----------------------------------------------------------
66
67\section{The transport component : TRP}
68
69The passive tracer transport component  shares the same advection/diffusion routines with the dynamics, with specific treatment of some features like the surface boundary conditions, or the positivity of passive tracers concentrations.
70
71 \subsection{ Advection}
72%------------------------------------------namtrc_adv----------------------------------------------------
73\nlst{namtrc_adv}
74%-------------------------------------------------------------------------------------------------------------
75The advection schemes used for the passive tracers are the same than the ones for $T$ and $S$ and described in section 5.1 of \citep{nemo_manual}. The choice of an advection scheme  can be selected independently and  can differ from the ones used for active tracers. This choice is made in the \textit{namtrc\_adv} namelist, by  setting to \textit{true} one and only one of the logicals \textit{ln\_trcadv\_xxx}, the same way of what is done for dynamics.
76cen2, MUSCL2, and UBS are not \textit{positive} schemes meaning that negative values can appear in an initially strictly positive tracer field which is advected, implying that false extrema are permitted. Their use is not recommended on passive tracers
77
78 \subsection{ Lateral diffusion}
79%------------------------------------------namtrc_ldf----------------------------------------------------
80\nlst{namtrc_ldf}
81%-------------------------------------------------------------------------------------------------------------
82In NEMO v4.0, the passive tracer diffusion has necessarily the same form as the active tracer diffusion, meaning that the numerical scheme must be the same. However the passive tracer mixing coefficient can be chosen as a multiple of the active ones by changing the value of \textit{rn\_ldf\_multi} in namelist \textit{namtrc\_ldf}. The choice of numerical scheme is then set  in the \nam{namtra_ldf}{namtra\_ldf} namelist for the dynamic described in section 5.2 of \citep{nemo_manual}.
83
84
85%-----------------We also offers the possibility to increase zonal equatorial diffusion for passive tracers by introducing an enhanced zonal diffusivity coefficent in the equatorial domain which can be defined by the equation below :
86%-----------------\begin{equation} \label{eq:traqsr_iradiance}
87%-----------------Aht  = Aht *  rn_fact_lap * \exp( - \max( 0., z -1000  ) / 1000}  \quad \text{for $L=1$ to $N$}
88%-----------------\end{equation}
89
90 \subsection{ Tracer damping}
91
92%------------------------------------------namtrc_dmp----------------------------------------------------
93\nlst{namtrc_dmp}
94%-------------------------------------------------------------------------------------------------------------
95
96The use of newtonian damping  to climatological fields or observations is also coded, sharing the same routine dans active tracers. Boolean variables are defined in the namelist\_top\_ref to select the tracers on which restoring is applied
97Options are defined through the \nam{namtrc_dmp}{namtrc\_dmp} namelist variables. The restoring term is added when the namelist parameter \np{ln\_trcdmp} is set to true. The restoring coefficient is a three-dimensional array read in a file, which name is specified by the namelist variable \np{cn\_resto\_tr}. This netcdf file can be generated using the DMP\_TOOLS tool.
98
99 \subsection{ Tracer positivity}
100
101%------------------------------------------namtrc_rad----------------------------------------------------
102\nlst{namtrc_rad}
103%-------------------------------------------------------------------------------------------------------------
104
105Sometimes, numerical scheme can generates negative values of passive tracers concentration that must be positive. For exemple,  isopycnal diffusion can created extrema. The trcrad routine artificially corrects negative concentrations with a very crude solution that either sets negative concentration to zero without adjusting the tracer budget, or by removing negative concentration and keeping mass conservation.
106The treatment of negative concentrations is an option and can be selected in the namelist \nam{namtrc_rad}{namtrc\_rad} by setting the parameter \np{ln\_trcrad}  to true.
107
108\section{The SMS modules}
109
110\label{SMS_models}
111%------------------------------------------namtrc_sms----------------------------------------------------
112%\nlst{namtrc}
113%-------------------------------------------------------------------------------------------------------------
114
115\subsection{Ideal Age}
116%------------------------------------------namage----------------------------------------------------
117%
118\nlst{namage}
119%----------------------------------------------------------------------------------------------------------
120
121
122 An `ideal age' tracer is integrated online in TOP when \textit{ln\_age} = \texttt{.true.} in namelist \textit{namtrc}. This tracer marks the length of time in units of years that fluid has spent in the interior of the ocean, insulated from exposure to the atmosphere. Thus, away from the surface for $z<-H_{\mathrm{Age}}$ where $H_{\mathrm{Age}}$ is specified by the \textit{namage} namelist variable \textit{rn\_age\_depth}, whose default value is 10~m, there is a source $\mathrm{SMS_{\mathrm{Age}}}$ of the age tracer $A$:
123\begin{equation}
124  \label{eq:TOP-age-interior}
125  \mathrm{SMS_{\mathrm{Age}}} = 1 \mathrm{yr}\;^{-1} = 1/T_{\mathrm{year}},
126 \end{equation}
127 where the length of the current year $T_{\mathrm{year}} = 86400*N_{\mathrm{days\;in\;current\; year}}\;\mathrm{s}$, where $N_{\mathrm{days\;in\;current\; year}}$ may be 366 or 365 depending on whether the current year is a leap year or not.
128 Near the surface, for $z>-H_{\mathrm{Age}}$, ideal age is relaxed back to zero:
129\begin{equation}
130  \label{eq:TOP-age-surface}
131   \mathrm{SMS_{\mathrm{Age}}} = -\lambda_{\mathrm{Age}}A,
132 \end{equation}
133 where the relaxation rate $\lambda_{\mathrm{Age}}$  (units $\mathrm{s}\;^{-1}$) is specified by the \textit{namage} namelist variable \textit{rn\_age\_kill\_rate} and has a default value of 1/7200~s. Since this relaxation is applied explicitly, this relaxation rate in principle should not exceed $1/\Delta t$, where $\Delta t$ is the time step used to step forward passive tracers (2 * \textit{nn\_dttrc * rn\_rdt} when the default  leapfrog time-stepping scheme is employed).
134
135 Currently the 1-dimensional reference depth of the grid boxes is used rather than the dynamically evolving depth to determine whether the age tracer is incremented or relaxed to zero. This means that the tracer only works correctly in z-coordinates. To ensure that the forcing is independent of the level thicknesses, where the tracer cell at level $k$ has its upper face $z=-depw(k)$ above the depth $-H_{\mathrm{Age}}$, but its lower face $z=-depw(k+1)$ below that depth, then the age source
136 \begin{equation}
137  \label{eq:TOP-age-mixed}
138   \mathrm{SMS_{\mathrm{Age}}} = -f_{\mathrm{kill}}\lambda_{\mathrm{Age}}A +f_{\mathrm{add}}/T_{\mathrm{year}} ,
139 \end{equation}
140 where
141 \begin{align}
142    f_{\mathrm{kill}} &= e3t_k^{-1}(H_{\mathrm{Age}} - depw(k)) , \\
143    f_{\mathrm{add}} &= 1 - f_{\mathrm{kill}}.
144 \end{align}
145
146
147 This implementation was first used in the CORE-II intercomparison runs described e.g.\ in \citet{danabasoglu_2014}.
148
149\subsection{Inert carbons tracer}
150
151%------------------------------------------namage----------------------------------------------------
152%
153\nlst{namcfc}
154%----------------------------------------------------------------------------------------------------------
155
156Chlorofluorocarbons 11 and 12 (CFC-11 and CFC-12), and sulfur hexafluoride (SF6), are synthetic chemicals manufactured for industrial and domestic applications from the early 20th century onwards.
157CFC-11 (CCl$_{3}$F) is a volatile liquid at room temperature, and was widely used in refrigeration. CFC-12 (CCl$_{2}$F$_{2}$) is a gas at room temperature, and, like CFC-11, was widely used as a refrigerant,
158and additionally as an aerosol propellant. SF6 (SF$_{6}$) is also a gas at room temperature, with a range of applications based around its property as an excellent electrical insulator (often replacing more toxic alternatives).
159All three are relatively inert chemicals that are both non-toxic and non-flammable, and their wide use has led to their accumulation within the Earth's atmosphere. Large-scale production of CFC-11 and CFC-12 began in the 1930s, while production of SF6 began in the 1950s, and their atmospheric concentration time-histories are shown in Figure \ref{img_cfcatm}.
160As can be seen in the figure, while the concentration of SF6 continues to rise to the present  day, the concentrations of both CFC-11 and CFC-12 have levelled off and declined since around the 1990s.
161These declines have been driven by the Montreal Protocol (effective since August 1989), which has banned the production of CFC-11 and CFC-12 (as well as other CFCs) because of their role in the depletion of
162stratospheric ozone (O$_{3}$), critical in decreasing the flux of ultraviolet radiation to the Earth's surface. Separate to this role in ozone-depletion, all three chemicals are significantly more potent greenhouse gases
163than CO$_{2}$ (especially SF6), although their relatively low atmospheric concentrations limit their role in climate change. \\
164
165% Chlorofluorocarbons 11 and 12 (CFC-11 and CFC-12), and sulfur hexafluoride (SF6),
166% are greenhouse gases that have been released into the atmosphere by human activities.
167% In the case of CFC-11 and CFC-12, this release began in the 1930s, and atmospheric
168% concentrations increased until around the late 1990s afterwhich they began to decline in
169% response to the Montreal Protocol.
170% In the case of SF6, release began in the 1950s
171% This release began in the 1930s for CFC-11 and CFC-12, and the 1950s for SF6, and
172% regularly increasing their atmospheric concentration until the 1090s, 2000s for respectively CFC11, CFC12,
173% and is still increasing, and SF6 (see Figure \ref{img_cfcatm}).  \\
174
175The ocean is a notable sink for all three gases, and their relatively recent occurrence in the atmosphere, coupled to the ease of making high precision measurements of their dissolved concentrations, has made them
176valuable in oceanography. % for tracking interior ventilation and mixing.
177Because they only enter the ocean via surface air-sea exchange, and are almost completely chemically and biologically inert, their distribution within the ocean interior reveals its ventilation via transport and mixing.
178Measuring the dissolved concentrations of the gases -- as well as the mixing ratios between them -- shows circulation pathways within the ocean as well as water mass ages (i.e. the time since last contact with the
179atmosphere). This feature of the gases has made them valuable across a wide range of oceanographic problems. One use lies in ocean modelling, where they can be used to evaluate the realism of the circulation and
180ventilation of models, key for understanding the behaviour of wider modelled marine biogeochemistry (e.g. \citep{dutay_2002,palmieri_2015}). \\
181
182Modelling these gases (henceforth CFCs) in NEMO is done within the passive tracer transport module, TOP, using the conservation state equation \ref{Eq_tracer}
183
184Advection and diffusion of the CFCs in NEMO are calculated by the physical module, OPA,
185whereas sources and sinks are done by the CFC module within TOP.
186The only source for CFCs in the ocean is via air-sea gas exchange at its surface, and since CFCs are generally
187stable within the ocean, we assume that there are no sinks (i.e. no loss processes) within the ocean interior.
188Consequently, the sinks-minus-sources term for CFCs consists only of their air-sea fluxes, $F_{cfc}$, as
189described in the Ocean Model Inter-comparison Project (OMIP) protocol \citep{orr_2017}:
190
191% Because CFCs being stable in the ocean, we consider that there is no CFCs sink.
192% The only CFC source in the ocean is through the Air-Sea gas exchange at the surface.
193% These are calculated as air-sea fluxes (F$_{cfc}$), as described in the OMIP6 protocol \citep{artOMIP6}:
194
195\begin{eqnarray}
196F_{cfc} = K_{w} \, \cdot \, (C_{sat} - C_{surf}) \, \cdot  \, (1 - f_{i})
197\label{equ_CFC_flux}
198\end{eqnarray}
199
200Where $K_{w}$ is the piston velocity (in m~s$^{-1}$), as defined in Equation \ref{equ_Kw};
201$C_{sat}$ is the saturation concentration of the CFC tracer, as defined in Equation \ref{equ_C_sat};
202$C_{surf}$ is the local surface concentration of the CFC tracer within the model (in mol~m$^{-3}$);
203and $f_{i}$ is the fractional sea-ice cover of the local ocean (ranging between 0.0 for ice-free ocean,
204through to 1.0 for completely ice-covered ocean with no air-sea exchange).
205
206The saturation concentration of the CFC, $C_{sat}$, is calculated as follows:
207
208\begin{eqnarray}
209C_{sat} = Sol \, \cdot \, P_{cfc}
210\label{equ_C_sat}
211\end{eqnarray}
212
213Where $Sol$ is the gas solubility in mol~m$^{-3}$~pptv$^{-1}$, as defined in Equation \ref{equ_Sol_CFC};
214and $P_{cfc}$ is the atmosphere concentration of the CFC (in parts per trillion by volume, pptv).
215This latter concentration is provided to the model by the historical time-series of \citet{bullister_2017}.
216This includes bulk atmospheric concentrations of the CFCs for both hemispheres -- this is necessary because of
217the geographical asymmetry in the production and release of CFCs to the atmosphere.
218Within the model, hemispheric concentrations are uniform, with the exception of the region between
21910$^{\circ}$N and 10$^{\circ}$ in which they are linearly interpolated.
220
221The piston velocity $K_{w}$ is a function of 10~m wind speed (in m~s$^{-1}$) and sea surface temperature,
222$T$ (in $^{\circ}$C), and is calculated here following \citet{wanninkhof_1992}:
223
224\begin{eqnarray}
225K_{w} = X_{conv} \, \cdot \, a \, \cdot \, u^2 \, \cdot \, \sqrt{ \frac{Sc(T)}{660} }
226\label{equ_Kw}
227\end{eqnarray}
228
229Where $X_{conv}$ = $\frac{0.01}{3600}$, a conversion factor that changes the piston velocity
230from cm~h$^{-1}$ to m~s$^{-1}$;
231$a$ is a constant re-estimated by \citet{wanninkhof_2014} to 0.251 (in $\frac{cm~h^{-1}}{(m~s^{-1})^{2}}$);
232and $u$ is the 10~m wind speed in m~s$^{-1}$ from either an atmosphere model or reanalysis atmospheric forcing.
233$Sc$ is the Schmidt number, and is calculated as follow, using coefficients from \citet{wanninkhof_2014} (see Table \ref{tab_Sc}).
234
235\begin{eqnarray}
236Sc =  a0 + (a1 \, \cdot \, T) + (a2  \, \cdot \, T^2) + (a3 \, \cdot \, T^3) + (a4 \, \cdot \, T^4)
237\label{equ_Sc}
238\end{eqnarray}
239
240The solubility, $Sol$, used in Equation \ref{equ_C_sat} is calculated in mol~l$^{-1}$~atm$^{-1}$,
241and is specific for each gas.
242It has been experimentally estimated by \citet{warner_1985} as a function of temperature
243and salinity:
244
245% AXY: this equation looks both weird and possibly wrong; it doesn't look like the one in the
246% code version that I have to hand, although this might be out of date; in any case, I'dag
247% strongly suggest avoiding the use of the \frac{}{100}, and instead substitute a term that is
248% "degrees Kelvin divided by 100" (which is weird in itself); and make this term use Celcius
249% so that you're not using T twice in different ways
250
251\begin{eqnarray}
252\ln{(Sol)} = a_1 + \frac{a_2}{ T_{X}} + a_3 \, \cdot \, \ln{ T_{X} } + a_4 \, \cdot \, T_{X}^2 + S \, \cdot \, ( b_1 + b_2 \, \cdot \, T_{X} + b_3 \, \cdot \, T_{X}^2 )
253\label{equ_Sol_CFC}
254\end{eqnarray}
255
256% \begin{eqnarray}
257% \ln{(Sol)} = a1 + a2 \, \frac{100}{T} + a3 \, \ln{ (\frac{T}{100}) } + a4 \, \frac{T}{100}^2 + S \, ( b1 + b2 \, \frac{T}{100} + b3 \, \frac{T}{100}^2 )
258% \label{equ_Sol_CFC}
259% \end{eqnarray}
260
261Where $T_{X}$ is $\frac{T + 273.16}{100}$, a function of temperature;
262and the $a_{x}$ and $b_{x}$ coefficients are specific for each gas (see Table \ref{tab_ref_CFC}).
263This is then converted to mol~m$^{-3}$~pptv$^{-1}$ assuming a constant atmospheric surface pressure of 1~atm.
264The solubility of CFCs thus decreases with rising $T$ while being relatively insensitive to salinity changes.
265Consequently, this translates to a pattern of solubility where it is greatest in cold, polar regions (see Figure \ref{img_cfcsol}).
266
267% AXY: not 100% sure about the units below; they might be in nanomol, or in seconds or years
268
269The standard outputs of the CFC module are seawater CFC concentrations (in mol~m$^{-3}$), the net air-sea flux (in mol~m$^{-2}$~d$^{-1}$) and the cumulative net air-sea flux (in mol~m$^{-2}$).
270Using XIOS, it is possible to obtain outputs such as the vertical integral of CFC concentrations (in mol~m$^{-2}$; see Figure \ref{img_cfcinv}).
271This property, when divided by the surface CFC concentration, estimates the local penetration depth (in m) of the CFC.
272
273% AXY: not sure what's meant by some of the below; I've tried to reword it above
274% The standard outputs of the CFC module are the CFCs concentration in the sea water, and the records of the outputs-frequency-averaged as well as the total air-sea fluxes.
275% Using XIOS, it is also possible to ask for the CFCs vertical inventory in the output file (see Figure cfc inventory example ?).
276
277\subsubsection{Notes}
278
279In comparison to the OMIP protocol, the CFC module in NEMO has several differences:
280
281% AXY: consider an itemized list here if you've got a list of differences
282
283For instance, C$_{sat}$ is calculated for a fixed surface pressure of 1atm, what could be corrected in a further version of the module.
284
285
286\begin{table}[!t]
287\caption{Coefficients for fit of the CFCs solubility (Eq. \ref{equ_Sol_CFC}).}
288\vskip4mm
289\centering
290\begin{tabular}{l l l l l l l l l}
291\hline
292Gas   & & a1 & a2 & a3 & a4 & b1 & b2 & b3 \\
293\hline
294CFC-11 & & -218.0971 & 298.9702 & 113.8049 & -1.39165 & -0.143566  & 0.091015   & -0.0153924 \\
295CFC-12 & & -229.9261 & 319.6552 & 119.4471 & -1.39165 & -0.142382  & 0.091459   & -0.0157274 \\
296SF6    & & -80.0343  & 117.232  & 29.5817  & 0.0      & 0.0335183  & -0.0373942 & 0.00774862 \\
297\hline
298\end{tabular}
299\label{tab_ref_CFC}
300\end{table}
301
302
303\begin{table}[!t]
304\caption{Coefficients for fit of the CFCs Schmidt number (Eq. \ref{equ_Sc}). }
305\vskip4mm
306\centering
307\begin{tabular}{l l l l l l l }
308\hline
309Gas  & & a0 & a1 & a2 & a3 & a4 \\
310\hline
311CFC-11 & & 3579.2  & -222.63 & 7.5749 & -0.14595 & 0.0011874   \\
312CFC-12 & & 3828.1  & -249.86 & 8.7603 & -0.1716  & 0.001408    \\
313SF6    & & 3177.5  & -200.57 & 6.8865 & -0.13335 & 0.0010877   \\
314\hline
315\end{tabular}
316\label{tab_Sc}
317\end{table}
318
319%% -----------------------------------
320%% -----------------------------------
321%% Figures %%
322
323
324\begin{figure}[!h]
325\centering
326\includegraphics[width=0.80\textwidth]{CFC-atm-evol}
327  \caption{Atmospheric CFC11, CFC12 and SF6 partial pressure evolution in both hemispheres.}
328\label{img_cfcatm}
329\end{figure}
330
331\begin{figure}[!h]
332\centering
333\includegraphics[width=0.80\textwidth]{CFC_solub}
334  \caption{CFC11 solubility in mol m$^{-3}$ pptv$^{-1}$, calculated from the World Ocean Atlas 2013 temperature and salinity annual climatology.}
335\label{img_cfcsol}
336\end{figure}
337
338\begin{figure}[!h]
339\centering
340\includegraphics[width=0.80\textwidth]{CFC_inventory}
341  \caption{CFC11 vertical inventory in $\mu$mol m$^{-2}$, from one of the UK Earth System Model 1 model (UKESM1 - which uses NEMO as ocean component, with TOP for the passive tracers) historical run at year 2000.}
342\label{img_cfcinv}
343\end{figure}
344
345
346\subsection{Radiocarbon}
347
348%------------------------------------------namage----------------------------------------------------
349%
350\nlst{namc14_fcg}
351\nlst{namc14_typ}
352\nlst{namc14_sbc}
353%----------------------------------------------------------------------------------------------------------
354
355The C14 package implemented in NEMO by Anne Mouchet models ocean $\Dcq$. It offers several possibilities: $\Dcq$ as a physical tracer of the ocean ventilation (natural $\cq$), assessment of bomb radiocarbon uptake, as well as transient studies of paleo-historical ocean radiocarbon distributions.
356
357\subsubsection{Method}
358
359 Let  $\Rq$ represent the ratio of $\cq$ atoms to the total number of carbon atoms in the sample, i.e. $\cq/\mathrm{C}$. Then, radiocarbon anomalies are reported as
360\begin{equation}
361\Dcq = \left( \frac{\Rq}{\Rq_\mathrm{ref}} - 1 \right) 10^3, \label{eq:c14dcq}
362\end{equation}
363where $\Rq_{\textrm{ref}}$ is a reference ratio. For the purpose of ocean ventilation studies $\Rq_{\textrm{ref}}$ is set to one.
364
365Here we adopt the approach of \cite{fiadeiro_1982} and \cite{toggweiler_1989a,toggweiler_1989b} in which  the ratio $\Rq$ is transported rather than the individual concentrations C and $\cq$.
366This approach calls for a strong assumption, i.e., that of a homogeneous and constant dissolved inorganic carbon (DIC) field \citep{toggweiler_1989a,mouchet_2013}. While in terms of
367oceanic $\Dcq$, it yields similar results to approaches involving carbonate chemistry, it underestimates the bomb radiocarbon inventory because it assumes a constant air-sea $\cd$ disequilibrium (Mouchet, 2013). Yet, field reconstructions of the ocean bomb $\cq$ inventory are also biased low \citep{naegler_2009} since they assume that the anthropogenic perturbation did not affect ocean DIC since the pre-bomb epoch. For these reasons, bomb $\cq$ inventories obtained with the present method are directly comparable to reconstructions based on field measurements.
368
369This simplified approach also neglects the effects of fractionation (e.g.,  air-sea exchange) and of biological processes. Previous studies by \cite{bacastow_1990} and \cite{joos_1997} resulted in nearly identical $\Dcq$ distributions among experiments considering biology or not.
370Since observed $\Rq$ ratios are corrected for the isotopic fractionation when converted to the standard $\Dcq$ notation \citep{stuiver_1977} the model results are directly comparable to observations.
371
372Therefore the simplified approach is justified for the purpose of assessing the circulation and ventilation of OGCMs.
373
374The equation governing the transport of $\Rq$  in the ocean is
375\begin{equation}
376\frac{\partial}{\partial t} {\Rq} =  - \bigtriangledown \cdot ( \mathbf{u} \Rq - \mathbf{K} \cdot \bigtriangledown \Rq )  - \lambda \Rq, \label{eq:quick}
377\end{equation}
378where $\lambda$ is the radiocarbon decay rate, ${\mathbf{u}}$ the 3-D velocity field, and $\mathbf{K}$ the diffusivity tensor.
379
380At the air-sea interface a Robin boundary condition \citep{haine_2006} is applied to \eqref{eq:quick}, i.e., the flux
381through the interface is proportional to the difference in the ratios between
382the ocean and the atmosphere
383\begin{equation}
384\mathcal{\!F} =  \kappa_{R}  (\Rq  - \Rq_{a} ), \label{eq:BCR}
385\end{equation}
386where $\mathcal{\!F}$ is the flux out of the ocean, and $\Rq_{a}$ is the atmospheric $\cq/\mathrm{C}$ ratio. The transfer velocity $ \kappa_{R} $ for the radiocarbon ratio in \eqref{eq:BCR} is computed as
387\begin{equation}
388 \kappa_{R} =  \frac{\kappa_{\cd} K_0}{\overline{\Ct}} \, \pacd   \label{eq:Rspeed}
389\end{equation}
390with $\kappa_{\cd}$ the carbon dioxide transfer or piston velocity, $K_0$ the $\cd$ solubility in seawater, $\pacd$ the atmospheric $\cd$ pressure at sea level, and $\overline{\Ct}$ the average sea-surface dissolved inorganic carbon concentration.
391
392
393The $\cd$ transfer velocity is based on the empirical formulation of \cite{wanninkhof_1992} with chemical enhancement \citep{wanninkhof_1996,wanninkhof_2014}. The original formulation is modified to account for the reduction of the  air-sea exchange rate in the presence of sea ice. Hence
394\begin{equation}
395\kappa_\cd=\left( K_W\,\mathrm{w}^2 + b  \right)\, (1-f_\mathrm{ice})\,\sqrt{660/Sc}, \label{eq:wanc14}
396\end{equation}
397with $\mathrm{w}$ the wind magnitude, $f_\mathrm{ice}$ the fractional ice cover, and $Sc$ the Schmidt number.
398$K_W$ in \eqref{eq:wanc14} is an empirical coefficient with dimension of an inverse velocity.
399The chemical enhancement term $b$ is represented as a function of temperature $T$ \citep{wanninkhof_1992}
400\begin{equation}
401b=2.5 ( 0.5246 + 0.016256 T+ 0.00049946  * T^2 ). \label{eq:wanchem}
402\end{equation}
403
404%We compare the results of equilibrium and transient experiments obtained with both methods in section \ref{sec:UNDEU}.
405
406%
407\subsubsection{Model setup}
408\label{sec:setup}
409
410To activate the \texttt{C14} package, set the parameter \textit{ln\_c14} = \texttt{.true.} in namelist \textit{namtrc}.
411
412\paragraph{Parameters and formulations}
413\label{sec:param}
414 %
415The radiocarbon decay rate (\CODE{rlam14}; in \texttt{trcnam\_c14} module) is set to $\lambda=(1/8267)$ yr$^{-1}$ \citep{stuiver_1977}, which corresponds to a half-life of 5730 yr.\\[1pt]
416%
417The Schmidt number $Sc$, Eq. \eqref{eq:wanc14}, is calculated with the help of the formulation of \cite{wanninkhof_2014}. The $\cd$ solubility $K_0$ in \eqref{eq:Rspeed} is taken from \cite{weiss_1974}. $K_0$ and $Sc$ are computed with the OGCM temperature and salinity fields (\texttt{trcsms\_c14} module).\\[1pt]
418%
419The following parameters intervening in the air-sea exchange rate are set in \texttt{namelist\_c14}:
420\begin{itemize}
421\item The reference DIC concentration $\overline{\Ct}$ (\CODE{xdicsur}) intervening in \eqref{eq:Rspeed} is classically set to 2 mol m$^{-3}$ \citep{toggweiler_1989a,orr_2001,butzin_2005}.
422%
423\item The value of the empirical coefficient $K_W$ (\CODE{xkwind}) in \eqref{eq:wanc14} depends on the wind field and on the model upper ocean mixing rate \citep{toggweiler_1989a,wanninkhof_1992,naegler_2009,wanninkhof_2014}.
424It should be adjusted so that the globally averaged $\cd$ piston velocity is $\kappa_\cd = 16.5\pm 3.2$ cm/h \citep{naegler_2009}.
425%The sensitivity to this parametrization is discussed in section \ref{sec:result}.
426%
427\item Chemical enhancement (term $b$  in Eq. \ref{eq:wanchem}) may be set on/off by means of the logical variable \CODE{ln\_chemh}.
428\end{itemize}
429
430%
431\paragraph{Experiment type}
432The type of experiment is determined by the value given to \CODE{kc14typ} in \texttt{namelist\_c14}. There are three possibilities:
433\begin{enumerate}
434\item natural $\Dcq$: \CODE{kc14typ}=0
435\item bomb $\Dcq$: \CODE{kc14typ}=1
436\item transient paleo-historical $\Dcq$: \CODE{kc14typ}=2
437\end{enumerate}
438%
439\textbf{Natural or Equilibrium radiocarbon}
440\CODE{kc14typ}=0
441
442Unless otherwise specified in \texttt{namelist\_c14}, the atmospheric $\Rq_a$ (\CODE{rc14at}) is set to one, the atmospheric $\cd$ (\CODE{pco2at}) to 280 ppm, and the ocean $\Rq$ is initialized with \CODE{rc14init=0.85}, i.e., $\Dcq=$-150\textperthousand  \cite[typical for deep-ocean, Fig 6 in][]{key_2004}.
443
444Equilibrium experiment should last until 98\% of the ocean volume exhibit a drift of less than 0.001\textperthousand/year \citep{orr_2000}; this is usually achieved after few kyr (Fig. \ref{fig:drift}).
445%
446\begin{figure}[!h]
447\begin{center}
448\includegraphics[width=0.9\hsize]{drift-EXP06}
449\end{center}
450\vspace{-4ex}
451\caption{ Time evolution of $\Rq$ inventory anomaly for equilibrium run with homogeneous ocean initial state. The anomaly (or drift) is given in \%  change in total ocean inventory per 50 years. Time on x-axis is in simulation year.\label{fig:drift} }
452\end{figure}
453
454\textbf{Transient: Bomb}
455\label{sec:bomb}
456\CODE{kc14typ}=1
457
458\begin{figure}[!h]
459\begin{center}
460\includegraphics[width=0.9\hsize]{C14bombCO2-NB}
461\end{center}
462\vspace{-4ex}
463\caption{Atmospheric $\Dcq$ (solid; left axis) and $\cd$ (dashed; right axis)  forcing for the $\cq$-bomb experiments. The $\Dcq$ is illustrated for the three zonal bands (upper, middle, and lower curves correspond to latitudes $> 20$N, $\in [20\mathrm{S},20\mathrm{N}]$, and $< 20$S, respectively.} \label{fig:bomb}
464\end{figure}
465
466Performing this type of experiment requires that a pre-industrial equilibrium run be performed beforehand (\CODE{ln\_rsttr} should be set to \texttt{.TRUE.}).
467
468An exception to this rule is when wishing to perform a perturbation bomb experiment as was possible with the package \texttt{C14b}. It is still possible to easily set-up that type of transient experiment for which no previous run is needed.  In addition to the instructions as given in this section it is however necessary to adapt the \texttt{atmc14.dat} file so that it does no longer contain any negative $\Dcq$ values (Suess effect in the pre-bomb period).
469
470The model  is integrated from a given initial date following the observed records provided from 1765 AD on ( Fig. \ref{fig:bomb}).
471The file \texttt{atmc14.dat}  \cite[][\& I. Levin, personal comm.]{enting_1994} provides atmospheric $\Dcq$ for three latitudinal bands: 90S-20S,    20S-20N \&    20N-90N.
472Atmospheric $\cd$ in the file \texttt{splco2.dat} is obtained from a spline fit through ice core data and direct atmospheric measurements \cite[][\& J. Orr, personal comm.]{orr_2000}.
473Dates in these forcing files are expressed as yr AD.
474
475To ensure that the atmospheric forcing is applied properly as well as that output files contain consistent dates and inventories the experiment should be set up carefully:
476\begin{itemize}
477\item Specify the starting date of the experiment: \CODE{nn\_date0} in \texttt{namelist}\CODE{nn\_date0} is written as Year0101 where Year may take any positive value (AD).
478\item Then the parameters \CODE{nn\_rstctl} in  \texttt{namelist} (on-line) and \CODE{nn\_rsttr} in \texttt{namelist\_top} (off-line)  must be \textbf{set to 0} at the start of the experiment (force the date to \CODE{nn\_date0} for the \textbf{first} experiment year).
479\item These two parameters (\CODE{nn\_rstctl} and \CODE{nn\_rsttr}) have then to be \textbf{set to 2} for the following years (the date must be read in the restart file).
480\end{itemize}
481 If the experiment date is outside the data time span then the first or last atmospheric concentrations are prescribed depending on whether the date is earlier or later. Note that \CODE{tyrc14\_beg} (\texttt{namelist\_c14}) is not used in this context.
482
483%
484\textbf{Transient: Past}
485\CODE{kc14typ}=2
486%
487\begin{figure}[!h]
488\begin{center}
489\includegraphics[width=0.9\hsize]{PaleoCO2C14-NB}
490\end{center}
491\vspace{-4ex}
492\caption{Atmospheric $\Dcq$ (solid) and $\cd$ (dashed)  forcing for the Paleo experiments. The $\cd$ scale is given on the right axis.} \label{fig:paleo}
493\end{figure}
494
495This experiment type does not need a previous equilibrium run. It should start 5--6 kyr earlier than the period to be analyzed.
496Atmospheric $\Rq_a$ and $\cd$ are prescribed from forcing files. The ocean $\Rq$ is initialized with the value attributed to \CODE{rc14init} in \texttt{namelist\_c14}.
497
498The file \texttt{intcal13.14c} \citep{reimer_2013} contains atmospheric $\Dcq$ from 0 to 50 kyr cal BP\footnote{cal BP: number of years before 1950 AD}.
499The $\cd$ forcing is provided in file \texttt{ByrdEdcCO2.txt}. The content of this file is based on  the high resolution record from EPICA Dome C \citep{monnin_2004} for the Holocene and the Transition, and on Byrd Ice Core CO2 Data for 20--90 kyr BP  \citep{ahn_2008}. These atmospheric values are reproduced in Fig. \ref{fig:paleo}. Dates in these files are expressed as yr BP.
500
501To ensure that the atmospheric forcing is applied properly as well as that output files contain consistent dates and inventories the experiment should be set up carefully.
502The true experiment starting date is given by \CODE{tyrc14\_beg} (in yr BP) in \texttt{namelist\_c14}. In consequence, \CODE{nn\_date0} in \texttt{namelist} MUST be set to 00010101.\\
503Then the parameters \CODE{nn\_rstctl} in  \texttt{namelist} (on-line) and \CODE{nn\_rsttr} in \texttt{namelist\_top} (off-line)  must be set to 0 at the start of the experiment (force the date to \CODE{nn\_date0} for the first experiment year). These two parameters have then to be set to 2 for the following years (read the date in the restart file). \\
504 If the experiment date is outside the data time span then the first or last atmospheric concentrations are prescribed depending on whether the date is earlier or later.
505
506%
507\paragraph{Model output}
508\label{sec:output}
509All output fields in Table \ref{tab:out} are routinely computed. It depends on the actual settings in \texttt{iodef.xml} whether they are stored or not.
510%
511\begin{table}[!h]
512\begin{center}
513\caption{Standard output fields for the C14 package \label{tab:out}.
514}
515%\begin{small}
516\renewcommand{\arraystretch}{1.3}%
517\begin{tabular}[h]{|l*{3}{|c}|l|}
518\hline
519Field & Type & Dim & Units & Description \\ \hline
520RC14 & ptrc & 3-D & -        & Radiocarbon ratio \\
521DeltaC14 & diad & 3-D & \textperthousand & $\Dcq$\\
522C14Age & diad & 3-D & yr &   Radiocarbon age \\
523RAge & diad & 2-D & yr & Reservoir age\\
524qtr\_c14 &  diad & 2-D & m$^{-2}$ yr$^{-1}$ & Air-to-sea net $\Rq$ flux\\
525qint\_c14 & diad & 2-D &   m$^{-2}$ &  Cumulative air-to-sea $\Rq$ flux \\
526AtmCO2 & scalar & 0-D & ppm & Global atmospheric $\cd$ \\
527AtmC14 & scalar & 0-D & \textperthousand  & Global atmospheric $\Dcq$\\
528K\_CO2 & scalar & 0-D & cm h$^{-1}$  & Global $\cd$ piston velocity ($ \overline{\kappa_{\cd}}$) \\
529K\_C14 & scalar & 0-D &m yr$^{-1}$ & Global $\Rq$ transfer velocity  ($ \overline{\kappa_R}$)\\
530C14Inv & scalar & 0-D & $10^{26}$ atoms & Ocean radiocarbon inventory \\ \hline
531\end{tabular}
532%\end{small}
533\end{center}
534\end{table}
535%!   Standard ratio: 1.176E-12 ; Avogadro's nbr = 6.022E+23 at/mol ; bomb C14 traditionally reported as 1.E+26 atoms
536%   REAL(wp), PARAMETER            :: atomc14=1.176*6.022E-15   ! conversion factor
537% atomc14 * xdicsur * zdum
538
539The radiocarbon age is computed as  $(-1/\lambda) \ln{ \left( \Rq \right)}$, with zero age corresponding to $\Rq=1$.
540
541The reservoir age is the age difference between the ocean uppermost layer and the atmosphere. It is usually reported as conventional radiocarbon age; i.e., computed by means of the Libby radiocarbon mean life \cite[8033 yr;][]{stuiver_1977}
542\begin{align}
543{^{14}\tau_\mathrm{c}}= -8033 \; \ln \left(1 + \frac{\Dcq}{10^3}\right), \label{eq:convage}
544\end{align}
545where ${^{14}\tau_\mathrm{c}}$ is expressed in years B.P. Here we do not use that convention and compute reservoir ages with the mean lifetime $1/\lambda$. Conversion from one scale to the other is readily performed. The conventional radiocarbon age is lower than the radiocarbon age by $\simeq3\%$.
546
547The ocean radiocarbon  inventory is computed as
548\begin{equation}
549N_A \Rq_\mathrm{oxa} \overline{\Ct} \left( \int_\Omega \Rq d\Omega \right) /10^{26}, \label{eq:inv}
550\end{equation}
551where $N_A$ is the Avogadro's number ($N_A=6.022\times10^{23}$ at/mol), $\Rq_\mathrm{oxa}$ is the oxalic acid radiocarbon standard \cite[$\Rq_\mathrm{oxa}=1.176\times10^{-12}$;][]{stuiver_1977}, and $\Omega$ is the ocean volume.  Bomb $\cq$ inventories are traditionally reported in units of $10^{26}$ atoms, hence the denominator in \eqref{eq:inv}.
552
553All transformations from second to year, and inversely, are performed with the help of the physical constant \CODE{rsiyea} the sideral year length expressed in seconds\footnote{The variable (\CODE{nyear\_len}) which reports the length in days of the previous/current/future year (see \textrm{oce\_trc.F90}) is not a constant. }.
554
555The global transfer velocities represent time-averaged\footnote{the actual duration is set in \texttt{iodef.xml}} global integrals of the transfer rates:
556 \begin{equation}
557 \overline{\kappa_{\cd}}= \int_\mathcal{S} \kappa_{\cd} d\mathcal{S}  \text{ and } \overline{\kappa_R}= \int_\mathcal{S} \kappa_R d\mathcal{S}
558\end{equation}
559
560
561\subsection{PISCES biogeochemical model}
562
563PISCES is a biogeochemical model which simulates the lower trophic levels of marine ecosystem (phytoplankton, microzooplankton and mesozooplankton) and the biogeochemical cycles of carbonand of the main nutrients (P, N, Fe, and Si). The  model is intended to be used for both regional and global configurations at high or low spatial resolutions as well as for  short-term (seasonal, interannual) and long-term (climate change, paleoceanography) analyses.
564Two versions of PISCES are available in NEMO v4.0 :
565
566PISCES-v2, by setting in namelist\_pisces\_ref  \np{ln\_p4z} to true,  can be seen as one of the many Monod models \citep{monod_1958}. It assumes a constant Redfield ratio and phytoplankton growth depends on the external concentration in nutrients. There are twenty-four prognostic variables (tracers) including two phytoplankton compartments  (diatoms and nanophytoplankton), two zooplankton size-classes (microzooplankton and  mesozooplankton) and a description of the carbonate chemistry. Formulations in PISCES-v2 are based on a mixed Monod/Quota formalism: On one hand, stoichiometry of C/N/P is fixed and growth rate of phytoplankton is limited by the external availability in N, P and Si. On the other hand, the iron and silicium quotas are variable and growth rate of phytoplankton is limited by the internal availability in Fe. Various parameterizations can be activated in PISCES-v2, setting for instance the complexity of iron chemistry or the description of particulate organic materials.
567
568PISCES-QUOTA has been built on the PISCES-v2 model described in \citet{aumont_2015}. PISCES-QUOTA has thirty-nine prognostic compartments. Phytoplankton growth can be controlled by five modeled limiting nutrients: Nitrate and Ammonium, Phosphate, Silicate and Iron. Five living compartments are represented: Three phytoplankton size classes/groups corresponding to picophytoplankton, nanophytoplankton and diatoms, and two zooplankton size classes which are microzooplankton and mesozooplankton. For phytoplankton, the prognostic variables are the carbon, nitrogen, phosphorus,  iron, chlorophyll and silicon biomasses (the latter only for diatoms). This means that the N/C, P/C, Fe/C and Chl/C ratios of both phytoplankton groups as well as the Si/C ratio of diatoms are prognostically predicted  by the model. Zooplankton are assumed to be strictly homeostatic \citep[e.g.,][]{sterner_2003,woods_2013,meunier_2014}. As a consequence, the C/N/P/Fe ratios of these groups are maintained constant and are not allowed to vary. In PISCES, the Redfield ratios C/N/P are set to 122/16/1 \citep{takahashi_1985} and the -O/C ratio is set to 1.34 \citep{kortzinger_2001}. No silicified zooplankton is assumed. The bacterial pool is not yet explicitly modeled.
569
570There are three non-living compartments: Semi-labile dissolved organic matter, small sinking particles, and large sinking particles. As a consequence of the variable stoichiometric ratios of phytoplankton and of the stoichiometric regulation of zooplankton, elemental ratios in organic matter cannot be supposed constant anymore as that was the case in PISCES-v2. Indeed, the nitrogen, phosphorus, iron, silicon and calcite pools of the particles are now all explicitly modeled. The sinking speed of the particles is not altered by their content in calcite and biogenic silicate (''The ballast effect'', \citep{honjo_1996,armstrong_2001}). The latter particles are assumed to sink at the same speed as the large organic matter particles. All the non-living compartments experience aggregation due to turbulence and differential settling as well as Brownian coagulation for DOM.
571
572
573\subsection{MY\_TRC interface for coupling external BGC models}
574\label{Mytrc}
575
576The NEMO-TOP has only one built-in biogeochemical model - PISCES - but there are several BGC models - MEDUSA, ERSEM, BFM or ECO3M - which are meant to be coupled with the NEMO dynamics. Therefore it was necessary to provide to the users a framework for easily add their own BGCM model, that can be a single passive tracer.
577The generalized interface is pivoted on MY\_TRC module that contains template files to build the coupling between NEMO and any external BGC model. The call to MY\_TRC is activated by setting  \textit{ln\_my\_trc} = \texttt{.true.} in namelist \textit{namtrc}
578
579The following 6 fortran files are available in MY\_TRC with the specific purposes here described.
580
581\begin{itemize}
582   \item \textit{par\_my\_trc.F90} :  This module allows to define additional arrays and public variables to be used within the MY\_TRC interface
583   \item \textit{trcini\_my\_trc.F90} :  Here are initialized user defined namelists and the call to the external BGC model initialization procedures to populate general tracer array (trn and trb). Here are also likely to be defined suport arrays related to system metrics that could be needed by the BGC model.
584  \item \textit{trcnam\_my\_trc.F90} :  This routine is called at the beginning of trcini\_my\_trc and should contain the initialization of additional namelists for the BGC model or user-defined code.
585  \item \textit{trcsms\_my\_trc.F90} :  The routine performs the call to Boundary Conditions and its main purpose is to contain the Source-Minus-Sinks terms due to the biogeochemical processes of the external model. Be aware that lateral boundary conditions are applied in trcnxt routine. IMPORTANT: the routines to compute the light penetration along the water column and the tracer vertical sinking should be defined/called in here, as generalized modules are still missing in the code.
586 \item \textit{trcice\_my\_trc.F90} : Here it is possible to prescribe the tracers concentrations in the seaice that will be used as boundary conditions when ice melting occurs (nn\_ice\_tr =1 in namtrc\_ice). See e.g. the correspondent PISCES subroutine.
587 \item \textit{trcwri\_my\_trc.F90} : This routine performs the output of the model tracers using IOM module (see Manual Chapter Output and Diagnostics). It is possible to place here the output of additional variables produced by the model, if not done elsewhere in the code, using the call to \textit{iom\_put}.
588\end{itemize}
589
590
591\section{The Offline Option}
592\label{Offline}
593
594%------------------------------------------namtrc_sms----------------------------------------------------
595\nlst{namdta_dyn}
596%-------------------------------------------------------------------------------------------------------------
597
598Coupling passive tracers offline with NEMO requires precomputed  physical fields from OGCM. Those fields are read from files and interpolated on-the-fly at each model time step
599At least the following dynamical parameters should be absolutely passed to the transport : ocean velocities, temperature, salinity, mixed layer depth and for ecosystem models like PISCES, sea ice concentration, short wave radiation at the ocean surface, wind speed (or at least, wind stress).
600The so-called offline mode is useful since it has lower computational costs for example to perform very longer simulations - about 3000 years - to reach equilibrium of CO2 sinks for climate-carbon studies.
601
602The offline interface is located in the code repository : \path{<repository>/src/OFF/}. It is activated by adding the CPP key  \textit{key\_offline} to the CPP keys list. There are two specifics routines for the Offline code :
603
604\begin{itemize}
605   \item \textit{dtadyn.F90} :  this module allows to read and compute the dynamical fields at each model time-step
606   \item \textit{nemogcm.F90} :  a degraded version of the main nemogcm.F90 code of NEMO to manage the time-stepping
607\end{itemize}
608
609
610%-
611%-
612%-
613%-  Describes here the specifities of oflline : At least the dynamical variables needed - u/v/w transport T/S for isopycnal MLD for biogeo models etc ...
614%-  the specfities of vvl - ssh + runoffs and how to
615%-
616\end{document}
Note: See TracBrowser for help on using the repository browser.