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

Last change on this file was 14929, checked in by rlod, 3 years ago

Finalization of TOP documentation: 2020 shared action, https://forge.ipsl.jussieu.fr/nemo/wiki/2020WP/PUB-02_Ethe_TOP_DOC, C. Ethe & R. Person, thanks to O. Aumont

File size: 55.1 KB
Line 
1\documentclass[../main/TOP_manual]{subfiles}
2
3\begin{document}
4
5\newcommand{\cd}{\mathrm{CO_2}}
6\newcommand{\Ct}{\mathrm{C_T}}
7\newcommand{\pacd}{\mathrm{p^a_{CO_2}}}
8\newcommand{\cq}{\mathrm{^{14}C}}
9\newcommand{\Dcq}{\Delta ^{14}\mathrm{C}}
10\newcommand{\Rq}{\mathrm{^{14}{R}}}
11
12\chapter{Model Description}
13\label{chap:ModDes}
14\chaptertoc
15
16\section{Basics}
17\label{sec:Bas}
18
19The time evolution of any passive tracer $C$ is given by the transport equation, which is similar to that of active tracer - temperature or salinity :
20
21\begin{equation}
22\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}
23\label{Eq_tracer}
24\end{equation}
25
26where 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 \cite{nemo_manual}).
27
28{S(C)}, the first term on the right hand side of \autoref{Eq_tracer}, is the SMS - Sources Minus Sinks - inherent to the tracer.
29In the case of a biological tracer such as phytoplankton, {S(C)} is the balance between phytoplankton growth and its loss through mortality and grazing.
30In the case of a tracer comprising carbon,  {S(C)} accounts for gas exchange, river discharge, flux to the sediments, gravitational sinking and other biogeochemical processes.
31In the case of a radioactive tracer, {S(C)} is simply the loss due to radioactive decay.
32
33The second term (within brackets) represents the advection of the tracer in the three directions.
34It 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}$
35
36The third term  represents the change due to lateral diffusion.
37
38The fourth term denotes the change due to vertical diffusion, parameterized as eddy diffusion to represent vertical turbulent fluxes :
39
40\begin{equation}
41D^{vC} =  \frac{1}{e_{3t}} \frac{\partial}{\partial k} \left[  A^{vT} \frac{\partial C}{\partial k} \right]
42\label{Eq_trczdf}
43\end{equation}
44
45where $A^{vT}$ is the vertical eddy diffusivity coefficient of active tracers.
46
47\section{The NEMO-TOP interface}
48\label{sec:TopInt}
49
50TOP is the NEMO hardwired interface toward biogeochemical models, which provides the physical constraints/boundaries for oceanic tracers.
51It consists of a modular framework to handle multiple ocean tracers, including also a variety of built-in modules.
52
53This 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 to simulate marine biogeochemical cycles.
54
55TOP interface has the following location in the code repository : \path{<repository>/src/TOP/}
56
57and the following modules are available:
58
59% -----------  tableau  ------------------------------------
60\begin{itemize}
61        \item \textbf{TRP}           :    Interface to NEMO physical core for computing tracers transport
62        \item \textbf{CFC}     :    Inert tracers (CFC11,CFC12, SF6)
63        \item \textbf{C14}     :    Radiocarbon passive tracer
64        \item \textbf{AGE}     :    Water age tracking
65        \item \textbf{MY\_TRC}  :   Template for creation of new modules and external BGC models coupling
66        \item \textbf{PISCES}    :   Built in BGC model. See \cite{aumont_2015} for a complete description
67\end{itemize}
68%  ----------------------------------------------------------
69
70\section{The transport component : TRP}
71
72The 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.
73
74\subsection{Advection}
75
76The advection schemes used for the passive tracers are the same as those used for $T$ and $S$. They are described in section 5.1 of \cite{nemo_manual}.
77The choice of an advection scheme can be selected independently and can differ from the ones used for active tracers.
78This choice is made in \textit{namelist\_to}p (ref or cfg) in the namelist block \textit{namtrc\_adv}, 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.
79cen2, 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 artificial extrema are permitted. Their use is not recommended for passive tracers.
80
81%------------------------------------------namtrc_adv----------------------------------------------------
82\nlst{namtrc_adv}
83%----------------------------------------------------------------------------------------------------------
84
85\subsection{Lateral diffusion}
86
87In NEMO v4.0, diffusion of passive tracers has necessarily the same form as the active tracer diffusion, meaning that the numerical scheme must be the same.
88However 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}.
89The choice of the numerical scheme is then set in the \forcode{&namtra_ldf} namelist section for the dynamic described in section 5.2 of \cite{nemo_manual}.
90
91rn\_fact\_lap is a factor used to increase zonal equatorial diffusion for depths beyond 200 m. It can be useful to achieve a better representation of Oxygen Minimum Zone (OMZ) in some biogeochemical models, especially at coarse resolution \citep{getzlaff_2013}.
92
93%------------------------------------------namtrc_ldf----------------------------------------------------
94\nlst{namtrc_ldf}
95%---------------------------------------------------------------------------------------------------------
96
97%-----------------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 :
98%-----------------\begin{equation} \label{eq:traqsr_iradiance}
99%-----------------Aht  = Aht *  rn_fact_lap * \exp( - \max( 0., z -1000  ) / 1000}  \quad \text{for $L=1$ to $N$}
100%-----------------\end{equation}
101
102\subsection{Tracer damping}
103
104The use of newtonian damping  to climatological fields or observations is also coded, sharing the same routine as that of active tracers.
105Boolean variables are defined in the namelist\_top\_ref to select the tracers on which restoring is applied.
106Options are defined through the \textit{\&namtrc\_dmp} namelist variables.
107The restoring term is added when the namelist parameter \textit{ln\_trcdmp} is set to \textit{true}.
108The restoring coefficient is a three-dimensional array read in a file, whose name is specified by the namelist variable \textit{cn\_resto\_tr}.
109This netcdf file can be generated using the DMP\_TOOLS tool.
110
111%------------------------------------------namtrc_dmp----------------------------------------------------
112\nlst{namtrc_dmp}
113%-----------------------------------------------------------------------------------------------------------
114
115\subsection{Tracer positivity}
116
117Some numerical schemes can generate negative values of passive tracers concentration, which is obviously unrealistic.
118For example,  isopycnal diffusion can created local extrema, meaning that negative concentrations can be generated.
119The trcrad routine artificially corrects negative concentrations with a very crude solution that either sets negative concentrations to zero without adjusting the tracer budget (CFCs or C14 chemical coumpounds), or by removing negative concentrations while computing the corresponding tracer content that is added and then, adjusting the tracer concentration using a multiplicative factor so that the total tracer concentration is preserved (PISCES model).
120The treatment of negative concentrations is an option and can be selected in the namelist \textit{\&namtrc\_rad} by setting the parameter \textit{ln\_trcrad}  to true.
121
122%------------------------------------------namtrc_rad----------------------------------------------------
123\nlst{namtrc_rad}
124%----------------------------------------------------------------------------------------------------------
125
126\subsection{Tracer boundary conditions}
127
128In NEMO, different types of boundary conditions can be specified for biogeochemical tracers. For every single variable, it is possible to define a field of surface boundary conditions, such as deposition of dust or nitrogen, which is then interpolated to the grid and timestep using the fld\_read function. The same facility is available to include river inputs or coastal erosion (coastal boundary conditions) and the treatment of open boundary conditions. For lateral boundary conditions, spatial interpolation should not be activated.
129
130%------------------------------------------namtrc_bc----------------------------------------------------
131\nlst{namtrc_cfg}
132%---------------------------------------------------------------------------------------------------------
133
134\subsubsection{Surface and lateral boundaries}
135
136The namelist \textit{\&namtrc\_bc}  is in file \textit{namelist\_top\_cfg}  and allows to specify the name of the files, the frequency of the input and the time and space interpolation as done for any other field using the fld\_read interface.
137
138%------------------------------------------namtrc_bc----------------------------------------------------
139\nlst{namtrc_bc}
140%---------------------------------------------------------------------------------------------------------
141\subsubsection{Open boundaries}
142
143The BDY for passive tracer are set together with the physical oceanic variables (lnbdy  =.true.). Boundary conditions are set in the structure used to define the passive tracer properties in the « cbc » column. These boundary conditions are applied on the segments defined for the physical core of NEMO (see BDY description in the User Manual).
144\begin{itemize}
145   \item cn\_trc\_dflt : the type of OBC applied to all the tracers
146   \item cn\_trc :  the boundary condition used for tracers with data file
147\end{itemize} 
148
149%------------------------------------------namtrc_bdy----------------------------------------------------
150\nlst{namtrc_bdy}
151%----------------------------------------------------------------------------------------------------------
152
153\subsubsection{Sedimentation of particles}
154
155This module computes the vertical flux of particulate matter due to gravitational sinking. It also offers a temporary solution for the problem that may arise in specific situation where the CFL criterion is broken for vertical sedimentation of particles. To avoid this, a time splitting algorithm has been coded. The number of iterations niter necessary to respect the CFL criterion is dynamically computed. A specific maximum number of iterations nitermax may be specified in the namelist. This is to avoid a very large number of iterations when explicit free surface is used, for instance. If niter is larger than the prescribed nitermax, sinking speeds are clipped so that the CFL criterion is respected. The numerical scheme used to compute sedimentation is based on the MUSCL advection scheme.
156
157%------------------------------------------namtrc_bdy----------------------------------------------------
158\nlst{namtrc_snk}
159%----------------------------------------------------------------------------------------------------------
160
161\subsubsection{Sea-ice growth and melt effect}
162
163NEMO provides three options for the specification of tracer concentrations in sea ice: (-1) identical tracer concentrations in sea ice and ocean, which corresponds to no concentration/dilution effect upon ice growth and melt; (0) zero concentrations in sea ice, which gives the largest concentration-dilution effect upon ice growth and melt; (1) specified concentrations in sea ice, which gives a possibly more realistic effect of sea ice on tracers. Option (-1) and (0) work for all tracers, but (1) is currently only available for PISCES.
164
165%------------------------------------------namtrc_ice----------------------------------------------------
166\nlst{namtrc_ice}
167%---------------------------------------------------------------------------------------------------------
168
169\subsubsection{Antartic Ice Sheet tracer supply}
170
171The external input of biogeochemical tracers from the Antarctic Ice Sheet (AIS) is represented by associating a tracer content with the freshwater flux from icebergs and ice shelves \citep{person_sensitivity_2019}. This supply is currently implemented only for dissolved Fe (\autoref{img_icbisf}) and is effective in model configurations with south-extended grids (eORCA1 and eORCA025). As the ORCA2 grid does not extend south into Antarctica, the external source of tracers from the AIS cannot be enabled in this configuration.
172
173For icebergs, a homogeneous distribution of biogeochemical tracers is applied from the surface to a depth that can be defined in \textit{\&namtrc\_ais}, currently set at 120 m. It should be noted that the freshwater flux from icebergs affects only the ocean properties at the surface. For ice shelves, biogeochemical tracers follow the explicit or parameterized representation of freshwater flux distribution modeled in NEMO. The AIS tracer supply is activated by setting \textit{ln\_trcais} to \textit{true} in the \textit{\&namtrc} section.
174
175\begin{figure}[!h]
176   \centering
177   \includegraphics[width=0.80\textwidth]{ICB-ISF-Feflx}
178   \caption{Annual Fe fluxes from icebergs and ice shelves in the Southern Ocean.}
179   \label{img_icbisf}
180\end{figure}
181
182%------------------------------------------namtrc_ais----------------------------------------------------
183\nlst{namtrc_ais}
184%---------------------------------------------------------------------------------------------------------
185
186\section{The SMS modules}
187
188\label{SMS_models}
189%------------------------------------------namtrc_sms----------------------------------------------------
190%\nlst{namtrc}
191%-------------------------------------------------------------------------------------------------------------
192
193\subsection{Ideal Age}
194%------------------------------------------namage----------------------------------------------------
195\nlst{namage}
196%----------------------------------------------------------------------------------------------------------
197
198An `ideal age' tracer is integrated online in TOP when \textit{ln\_age} = \texttt{.true.} in namelist \textit{namtrc}.
199This tracer marks the duration in units of years that fluid has spent in the interior of the ocean, insulated from exposure to the atmosphere  (\autoref{img_ageatl} and \autoref{img_age200}).
200
201\begin{figure}[!h]
202   \centering
203   \includegraphics[width=0.80\textwidth]{Age_Atl}
204   \caption{Vertical distribution of the Age tracer in the Atlantic Ocean at 35°W from a 62-year simulation.}
205   \label{img_ageatl}
206\end{figure}
207
208\begin{figure}[!h]
209   \centering
210   \includegraphics[width=0.80\textwidth]{Age_200m}
211   \caption{Age tracer at 200 m depth from a 62-year simulation.}
212   \label{img_age200}
213\end{figure}
214
215Thus, 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$:
216
217\begin{equation}
218  \label{eq:TOP-age-interior}
219  \mathrm{SMS_{\mathrm{Age}}} = 1 \mathrm{yr}\;^{-1} = 1/T_{\mathrm{year}},
220\end{equation}
221
222where 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.
223Near the surface, for $z>-H_{\mathrm{Age}}$, ideal age is relaxed back to zero:
224
225\begin{equation}
226  \label{eq:TOP-age-surface}
227   \mathrm{SMS_{\mathrm{Age}}} = -\lambda_{\mathrm{Age}}A,
228\end{equation}
229
230where 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.
231Since this relaxation is applied explicitly, the relaxation rate should in principle 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).
232
233Currently 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.
234This means that the age tracer module only works correctly in z-coordinates.
235To 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 is computed as:
236
237\begin{equation}
238  \label{eq:TOP-age-mixed}
239   \mathrm{SMS_{\mathrm{Age}}} = -f_{\mathrm{kill}}\lambda_{\mathrm{Age}}A +f_{\mathrm{add}}/T_{\mathrm{year}} ,
240\end{equation}
241
242where
243
244\begin{align}
245    f_{\mathrm{kill}} &= e3t_k^{-1}(H_{\mathrm{Age}} - depw(k)) , \\
246    f_{\mathrm{add}} &= 1 - f_{\mathrm{kill}}.
247\end{align}
248
249This implementation was first used in the CORE-II intercomparison runs described in \citet{danabasoglu_2014}.
250
251\subsection{Inert carbons tracer}
252
253%------------------------------------------namage----------------------------------------------------
254%
255\nlst{namcfc}
256%----------------------------------------------------------------------------------------------------------
257
258Chlorofluorocarbons 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.
259CFC-11 (CCl$_{3}$F) is a volatile liquid at room temperature, and was widely used in refrigeration.
260CFC-12 (CCl$_{2}$F$_{2}$) is a gas at room temperature, and, like CFC-11, was widely used as a refrigerant,
261and additionally as an aerosol propellant.
262SF6 (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).
263All three gases are relatively inert chemicals that are both non-toxic and non-flammable, and their wide use has led to their accumulation in the atmosphere.
264Large-scale production of CFC-11 and CFC-12 began in the 1930s, while production of SF6 began in the 1950s, and the time-histories of their atmospheric concentrations are shown in Figure \autoref{img_cfcatm}.
265As can be seen in the figure, while the concentration of SF6 continues to rise to the present day, concentrations of both CFC-11 and CFC-12 have levelled off and declined since around the 1990s.
266These 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
267stratospheric ozone (O$_{3}$), critical in decreasing the flux of ultraviolet radiation to the Earth's surface. All three chemicals are also  significantly more potent greenhouse gases
268than CO$_{2}$ (especially SF6), although their relatively low atmospheric concentrations limit their role in climate change. \\
269
270% Chlorofluorocarbons 11 and 12 (CFC-11 and CFC-12), and sulfur hexafluoride (SF6),
271% are greenhouse gases that have been released into the atmosphere by human activities.
272% In the case of CFC-11 and CFC-12, this release began in the 1930s, and atmospheric
273% concentrations increased until around the late 1990s afterwhich they began to decline in
274% response to the Montreal Protocol.
275% In the case of SF6, release began in the 1950s
276% This release began in the 1930s for CFC-11 and CFC-12, and the 1950s for SF6, and
277% regularly increasing their atmospheric concentration until the 1090s, 2000s for respectively CFC11, CFC12,
278% and is still increasing, and SF6 (see Figure \autoref{img_cfcatm}).  \\
279
280The 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
281valuable in oceanography. % for tracking interior ventilation and mixing.
282Because 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 ventilation of the latter via transport and mixing.
283Measuring the dissolved concentrations of these 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 has been last in contact with the
284atmosphere).
285This feature has made them valuable across a wide range of oceanographic problems.
286In ocean modelling, they can be used to evaluate the realism of the simulated circulation and
287ventilation patterns, which is key for understanding the behaviour of modelled marine biogeochemistry (e.g. \citep{dutay_2002,palmieri_2015}). \\
288
289Modelling these gases (henceforth CFCs) in NEMO is done within the passive tracer transport module, TOP, using the conservation state equation \autoref{Eq_tracer}
290
291Advection and diffusion of the CFCs in NEMO are calculated by the physical module, TRP,
292whereas sources and sinks are done by the CFC module within TOP.
293The only source of CFCs to the ocean is via air-sea gas exchange at its surface, and since CFCs are generally
294stable within the ocean, we assume that there are no sinks (i.e. no loss processes) within the ocean interior.
295Consequently, the sinks-minus-sources term for CFCs consists only of their air-sea fluxes, $F_{cfc}$, as
296described in the Ocean Model Inter-comparison Project (OMIP) protocol \citep{orr_2017}:
297
298% Because CFCs being stable in the ocean, we consider that there is no CFCs sink.
299% The only CFC source in the ocean is through the Air-Sea gas exchange at the surface.
300% These are calculated as air-sea fluxes (F$_{cfc}$), as described in the OMIP6 protocol \citep{artOMIP6}:
301
302\begin{eqnarray}
303F_{cfc} = K_{w} \, \cdot \, (C_{sat} - C_{surf}) \, \cdot  \, (1 - f_{i})
304\label{equ_CFC_flux}
305\end{eqnarray}
306
307Where $K_{w}$ is the piston velocity (in m~s$^{-1}$), as defined in Equation \autoref{equ_Kw};
308$C_{sat}$ is the saturation concentration of the CFC tracer, as defined in Equation \autoref{equ_C_sat};
309$C_{surf}$ is the local surface concentration of the CFC tracer within the model (in mol~m$^{-3}$);
310and $f_{i}$ is the fractional sea-ice cover of the local ocean (ranging between 0.0 for ice-free ocean,
311 to 1.0 for completely ice-covered ocean with no air-sea exchange).
312
313The saturation concentration of the CFC, $C_{sat}$, is calculated as follows:
314
315\begin{eqnarray}
316C_{sat} = Sol \, \cdot \, P_{cfc}
317\label{equ_C_sat}
318\end{eqnarray}
319
320Where $Sol$ is the gas solubility in mol~m$^{-3}$~pptv$^{-1}$, as defined in Equation \autoref{equ_Sol_CFC};
321and $P_{cfc}$ is the atmosphere concentration of the CFC (in parts per trillion by volume, pptv).
322This latter concentration is provided to the model by the historical time-series of \citet{bullister_2017}.
323This includes bulk atmospheric concentrations of the CFCs for both hemispheres -- this is necessary because of
324the geographical asymmetry in the production and release of CFCs to the atmosphere.
325Within the model, hemispheric concentrations are uniform, with the exception of the region between
32610$^{\circ}$N and 10$^{\circ}$ in which they are linearly interpolated.
327
328The piston velocity $K_{w}$ is a function of 10~m wind speed (in m~s$^{-1}$) and sea surface temperature,
329$T$ (in $^{\circ}$C), and is calculated here following \citet{wanninkhof_1992}:
330
331\begin{eqnarray}
332K_{w} = X_{conv} \, \cdot \, a \, \cdot \, u^2 \, \cdot \, \sqrt{ \frac{Sc(T)}{660} }
333\label{equ_Kw}
334\end{eqnarray}
335
336Where $X_{conv}$ = $\frac{0.01}{3600}$, a conversion factor that changes the piston velocity
337from cm~h$^{-1}$ to m~s$^{-1}$;
338$a$ is a constant re-estimated by \citet{wanninkhof_2014} to 0.251 (in $\frac{cm~h^{-1}}{(m~s^{-1})^{2}}$);
339and $u$ is the 10~m wind speed in m~s$^{-1}$ from either an atmosphere model or reanalysis atmospheric forcing.
340$Sc$ is the Schmidt number, and is calculated as follow, using coefficients from \citet{wanninkhof_2014} (see Table \autoref{tab_Sc}).
341
342\begin{eqnarray}
343Sc =  a0 + (a1 \, \cdot \, T) + (a2  \, \cdot \, T^2) + (a3 \, \cdot \, T^3) + (a4 \, \cdot \, T^4)
344\label{equ_Sc}
345\end{eqnarray}
346
347The solubility, $Sol$, used in Equation \autoref{equ_C_sat} is calculated in mol~l$^{-1}$~atm$^{-1}$,
348and is specific for each gas.
349It has been experimentally estimated by \citet{warner_1985} as a function of temperature
350and salinity:
351
352% AXY: this equation looks both weird and possibly wrong; it doesn't look like the one in the
353% code version that I have to hand, although this might be out of date; in any case, I'dag
354% strongly suggest avoiding the use of the \frac{}{100}, and instead substitute a term that is
355% "degrees Kelvin divided by 100" (which is weird in itself); and make this term use Celcius
356% so that you're not using T twice in different ways
357
358\begin{eqnarray}
359\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 )
360\label{equ_Sol_CFC}
361\end{eqnarray}
362
363% \begin{eqnarray}
364% \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 )
365% \label{equ_Sol_CFC}
366% \end{eqnarray}
367
368Where $T_{X}$ is $\frac{T + 273.16}{100}$, a function of temperature;
369and the $a_{x}$ and $b_{x}$ coefficients are specific for each gas (see Table \autoref{tab_ref_CFC}).
370This is then converted to mol~m$^{-3}$~pptv$^{-1}$ assuming a constant atmospheric surface pressure of 1~atm.
371The solubility of CFCs thus decreases with rising $T$ while being relatively insensitive to salinity changes.
372Consequently, this translates to a pattern of solubility where it is greatest in cold, polar regions (see Figure \autoref{img_cfcsol}).
373
374% AXY: not 100% sure about the units below; they might be in nanomol, or in seconds or years
375
376The 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}$).
377Using XIOS, it is possible to obtain outputs such as the vertical integral of CFC concentrations (in mol~m$^{-2}$; see Figure \autoref{img_cfcinv}).
378This property, when divided by the surface CFC concentration, estimates the local penetration depth (in m) of the CFC.
379
380% AXY: not sure what's meant by some of the below; I've tried to reword it above
381% 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.
382% Using XIOS, it is also possible to ask for the CFCs vertical inventory in the output file (see Figure cfc inventory example ?).
383
384\subsubsection{Notes}
385
386In comparison to the OMIP protocol, the CFC module in NEMO has several differences:
387
388% AXY: consider an itemized list here if you've got a list of differences
389
390For instance, C$_{sat}$ is calculated for a fixed surface pressure of 1atm. This may be corrected in a future version of the module.
391
392
393\begin{table}[!t]
394\caption{Coefficients for fit of the CFCs solubility (Eq. \autoref{equ_Sol_CFC}).}
395\vskip4mm
396\centering
397\begin{tabular}{l l l l l l l l l}
398\hline
399Gas   & & a1 & a2 & a3 & a4 & b1 & b2 & b3 \\
400\hline
401CFC-11 & & -218.0971 & 298.9702 & 113.8049 & -1.39165 & -0.143566  & 0.091015   & -0.0153924 \\
402CFC-12 & & -229.9261 & 319.6552 & 119.4471 & -1.39165 & -0.142382  & 0.091459   & -0.0157274 \\
403SF6    & & -80.0343  & 117.232  & 29.5817  & 0.0      & 0.0335183  & -0.0373942 & 0.00774862 \\
404\hline
405\end{tabular}
406\label{tab_ref_CFC}
407\end{table}
408
409
410\begin{table}[!t]
411\caption{Coefficients for fit of the CFCs Schmidt number (Eq. \autoref{equ_Sc}).}
412\vskip4mm
413\centering
414\begin{tabular}{l l l l l l l }
415\hline
416Gas  & & a0 & a1 & a2 & a3 & a4 \\
417\hline
418CFC-11 & & 3579.2  & -222.63 & 7.5749 & -0.14595 & 0.0011874   \\
419CFC-12 & & 3828.1  & -249.86 & 8.7603 & -0.1716  & 0.001408    \\
420SF6    & & 3177.5  & -200.57 & 6.8865 & -0.13335 & 0.0010877   \\
421\hline
422\end{tabular}
423\label{tab_Sc}
424\end{table}
425
426%% -----------------------------------
427%% -----------------------------------
428%% Figures %%
429
430
431\begin{figure}[!h]
432\centering
433\includegraphics[width=0.80\textwidth]{CFC-atm-evol}
434  \caption{Atmospheric CFC11, CFC12 and SF6 partial pressure evolution in both hemispheres.}
435\label{img_cfcatm}
436\end{figure}
437
438\begin{figure}[!h]
439\centering
440\includegraphics[width=0.80\textwidth]{CFC_solub}
441  \caption{CFC11 solubility in mol m$^{-3}$ pptv$^{-1}$, calculated from the World Ocean Atlas 2013 temperature and salinity annual climatology.}
442\label{img_cfcsol}
443\end{figure}
444
445\begin{figure}[!h]
446\centering
447\includegraphics[width=0.80\textwidth]{CFC_inventory}
448  \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.}
449\label{img_cfcinv}
450\end{figure}
451
452
453\subsection{Radiocarbon}
454
455%------------------------------------------namage----------------------------------------------------
456%
457\nlst{namc14_fcg}
458\nlst{namc14_typ}
459\nlst{namc14_sbc}
460%----------------------------------------------------------------------------------------------------------
461
462The C14 package has been implemented in NEMO by Anne Mouchet $\Dcq$.
463It 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.
464
465\subsubsection{Method}
466
467Let  $\Rq$ represent the ratio of $\cq$ atoms to the total number of carbon atoms in the sample, i.e. $\cq/\mathrm{C}$.
468Then, radiocarbon anomalies are reported as:
469
470\begin{equation}
471\Dcq = \left( \frac{\Rq}{\Rq_\mathrm{ref}} - 1 \right) 10^3, \label{eq:c14dcq}
472\end{equation}
473
474where $\Rq_{\textrm{ref}}$ is a reference ratio.
475For the purpose of ocean ventilation studies, $\Rq_{\textrm{ref}}$ is set to one.
476
477Here 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$.
478This approach calls for a strong assumption, i.e., that of a homogeneous and constant dissolved inorganic carbon (DIC) field \citep{toggweiler_1989a,mouchet_2013}.
479While in terms of
480oceanic $\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).
481Yet, 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.
482For these reasons, bomb $\cq$ inventories obtained with the present method are directly comparable to reconstructions based on field measurements.
483
484This simplified approach also neglects the effects of fractionation (e.g.,  air-sea exchange) and of biological processes.
485Previous studies by \cite{bacastow_1990} and \cite{joos_1997} resulted in nearly identical $\Dcq$ distributions among experiments considering biology or not.
486Since 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.
487
488Therefore the simplified approach is justified for the purpose of assessing the circulation and ventilation of OGCMs.
489
490The equation governing the transport of $\Rq$  in the ocean is
491
492\begin{equation}
493\frac{\partial}{\partial t} {\Rq} =  - \bigtriangledown \cdot ( \mathbf{u} \Rq - \mathbf{K} \cdot \bigtriangledown \Rq )  - \lambda \Rq, \label{eq:quick}
494\end{equation}
495
496where $\lambda$ is the radiocarbon decay rate, ${\mathbf{u}}$ the 3-D velocity field, and $\mathbf{K}$ the diffusivity tensor.
497
498At the air-sea interface a Robin boundary condition \citep{haine_2006} is applied to \autoref{eq:quick}, i.e., the flux
499through the interface is proportional to the difference in the ratios between
500the ocean and the atmosphere
501
502\begin{equation}
503\mathcal{\!F} =  \kappa_{R}  (\Rq  - \Rq_{a} ), \label{eq:BCR}
504\end{equation}
505
506where $\mathcal{\!F}$ is the flux out of the ocean, and $\Rq_{a}$ is the atmospheric $\cq/\mathrm{C}$ ratio.
507The transfer velocity $ \kappa_{R} $ for the radiocarbon ratio in \autoref{eq:BCR} is computed as
508
509\begin{equation}
510 \kappa_{R} =  \frac{\kappa_{\cd} K_0}{\overline{\Ct}} \, \pacd   \label{eq:Rspeed}
511\end{equation}
512
513with $\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.
514
515The $\cd$ transfer velocity is based on the empirical formulation of \cite{wanninkhof_1992} with chemical enhancement \citep{wanninkhof_1996,wanninkhof_2014}.
516The original formulation is modified to account for the reduction of the  air-sea exchange rate in the presence of sea ice.
517Hence
518
519\begin{equation}
520\kappa_\cd=\left( K_W\,\mathrm{w}^2 + b  \right)\, (1-f_\mathrm{ice})\,\sqrt{660/Sc}, \label{eq:wanc14}
521\end{equation}
522with $\mathrm{w}$ the wind magnitude, $f_\mathrm{ice}$ the fractional ice cover, and $Sc$ the Schmidt number.
523$K_W$ in \autoref{eq:wanc14} is an empirical coefficient with dimension of an inverse velocity.
524The chemical enhancement term $b$ is represented as a function of temperature $T$ \citep{wanninkhof_1992}
525\begin{equation}
526b=2.5 ( 0.5246 + 0.016256 T+ 0.00049946  * T^2 ). \label{eq:wanchem}
527\end{equation}
528
529%We compare the results of equilibrium and transient experiments obtained with both methods in section \autoref{sec:UNDEU}.
530
531%
532\subsubsection{Model setup}
533\label{sec:setup}
534
535To activate the \texttt{C14} package, set the parameter \textit{ln\_c14} = \texttt{.true.} in namelist \textit{namtrc}.
536
537\paragraph{Parameters and formulations}
538\label{sec:param}
539 %
540The radiocarbon decay rate (\forcode{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]
541%
542The Schmidt number $Sc$, Eq. \autoref{eq:wanc14}, is calculated using the formulation of \cite{wanninkhof_2014}.
543The $\cd$ solubility $K_0$ in \autoref{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]
544%
545The following parameters intervening in the air-sea exchange rate are set in \texttt{namelist\_c14}:
546
547\begin{itemize}
548\item The reference DIC concentration $\overline{\Ct}$ (\forcode{xdicsur}) intervening in \autoref{eq:Rspeed} is classically set to 2 mol m$^{-3}$ \citep{toggweiler_1989a,orr_2001,butzin_2005}.
549%
550\item The value of the empirical coefficient $K_W$ (\forcode{xkwind}) in \autoref{eq:wanc14} depends on the wind field and on the model upper ocean mixing rate \citep{toggweiler_1989a,wanninkhof_1992,naegler_2009,wanninkhof_2014}.
551It should be adjusted so that the globally averaged $\cd$ piston velocity is $\kappa_\cd = 16.5\pm 3.2$ cm/h \citep{naegler_2009}.
552%The sensitivity to this parametrization is discussed in section \autoref{sec:result}.
553%
554\item Chemical enhancement (term $b$  in Eq. \autoref{eq:wanchem}) may be set on/off by means of the logical variable \forcode{ln\_chemh}.
555\end{itemize}
556
557%
558\paragraph{Experiment type}
559The type of experiment is determined by the value given to \forcode{kc14typ} in \texttt{namelist\_c14}.
560There are three possibilities:
561
562\begin{enumerate}
563\item natural                    $\Dcq$: \forcode{kc14typ}=0
564\item bomb                       $\Dcq$: \forcode{kc14typ}=1
565\item transient paleo-historical $\Dcq$: \forcode{kc14typ}=2
566\end{enumerate}
567
568%
569\textbf{Natural or Equilibrium radiocarbon}
570\forcode{kc14typ}=0
571
572Unless otherwise specified in \texttt{namelist\_c14}, the atmospheric $\Rq_a$ (\forcode{rc14at}) is set to one, the atmospheric $\cd$ (\forcode{pco2at}) to 280 ppm, and the ocean $\Rq$ is initialized with \forcode{rc14init=0.85}, i.e., $\Dcq=$-150\textperthousand \cite[typical for deep-ocean, Fig 6 in][]{key_2004}.
573
574Equilibrium 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. \autoref{fig:drift}).
575%
576
577\begin{figure}[!h]
578\begin{center}
579\includegraphics[width=0.9\hsize]{drift-EXP06}
580\end{center}
581\vspace{-4ex}
582\caption{ Time evolution of $\Rq$ inventory anomaly for equilibrium run with homogeneous ocean initial state.
583The anomaly (or drift) is given in \%  change in total ocean inventory per 50 years.
584Time on x-axis is in simulation year.\label{fig:drift} }
585\end{figure}
586
587\textbf{Transient: Bomb}
588\label{sec:bomb}
589\forcode{kc14typ}=1
590
591\begin{figure}[!h]
592\begin{center}
593\includegraphics[width=0.9\hsize]{C14bombCO2-NB}
594\end{center}
595\vspace{-4ex}
596\caption{Atmospheric $\Dcq$ (solid; left axis) and $\cd$ (dashed; right axis)  forcing for the $\cq$-bomb experiments.
597The $\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}
598\end{figure}
599
600Performing this type of experiment requires that a pre-industrial equilibrium run has been performed beforehand (\forcode{ln\_rsttr} should be set to \texttt{.TRUE.}).
601
602An exception to this rule is when performing a perturbation bomb experiment as was possible with the package \texttt{C14b}.
603It is still possible to easily set-up that type of transient experiment for which no previous run is needed.
604In addition to the instructions 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).
605
606The model  is integrated from a given initial date following the observed records provided from 1765 AD on ( Fig. \autoref{fig:bomb}).
607The file \texttt{atmc14.dat}  \cite[][\& I.
608Levin, personal comm.]{enting_1994} provides atmospheric $\Dcq$ for three latitudinal bands: 90S-20S,    20S-20N \&    20N-90N.
609Atmospheric $\cd$ in the file \texttt{splco2.dat} is obtained from a spline fit through ice core data and direct atmospheric measurements \cite[][\& J.
610Orr, personal comm.]{orr_2000}.
611Dates in these forcing files are expressed as yr AD.
612
613To 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:
614
615\begin{itemize}
616\item Specify the starting date of the experiment: \forcode{nn\_date0} in \texttt{namelist}\forcode{nn\_date0} is written as Year0101 where Year may take any positive value (AD).
617\item Then the parameters \forcode{nn\_rstctl} in  \texttt{namelist} (on-line) and \forcode{nn\_rsttr} in \texttt{namelist\_top} (off-line)  must be \textbf{set to 0} at the start of the experiment (force the date to \forcode{nn\_date0} for the \textbf{first} experiment year).
618\item These two parameters (\forcode{nn\_rstctl} and \forcode{nn\_rsttr}) have then to be \textbf{set to 2} for the following years (the date must be read in the restart file).
619\end{itemize}
620
621If the experiment date is outside the data time span, the first or last atmospheric concentrations are then prescribed depending on whether the date is earlier or later.
622   Note that \forcode{tyrc14\_beg} (\texttt{namelist\_c14}) is not used in this context.
623
624%
625\textbf{Transient: Past}
626\forcode{kc14typ}=2
627%
628\begin{figure}[!h]
629\begin{center}
630\includegraphics[width=0.9\hsize]{PaleoCO2C14-NB}
631\end{center}
632\vspace{-4ex}
633\caption{Atmospheric $\Dcq$ (solid) and $\cd$ (dashed)  forcing for the Paleo experiments.
634The $\cd$ scale is given on the right axis.} \label{fig:paleo}
635\end{figure}
636
637This experiment type does not need a previous equilibrium run.
638It should start 5--6 kyr earlier than the period to be analyzed.
639Atmospheric $\Rq_a$ and $\cd$ are prescribed from forcing files.
640The ocean $\Rq$ is initialized with the value attributed to \forcode{rc14init} in \texttt{namelist\_c14}.
641
642The 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}.
643The $\cd$ forcing is provided in file \texttt{ByrdEdcCO2.txt}.
644The 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}.
645These atmospheric values are reproduced in Fig. \autoref{fig:paleo}.
646Dates in these files are expressed as yr BP.
647
648To 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.
649The true experiment starting date is given by \forcode{tyrc14\_beg} (in yr BP) in \texttt{namelist\_c14}.
650In consequence, \forcode{nn\_date0} in \texttt{namelist} MUST be set to 00010101.\\
651Then the parameters \forcode{nn\_rstctl} in  \texttt{namelist} (on-line) and \forcode{nn\_rsttr} in \texttt{namelist\_top} (off-line)  must be set to 0 at the start of the experiment (force the date to \forcode{nn\_date0} for the first experiment year).
652These two parameters have then to be set to 2 for the following years (read the date in the restart file). \\
653If 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.
654
655%
656\paragraph{Model output}
657\label{sec:output}
658
659All output fields in Table \autoref{tab:out} are routinely computed.
660It depends on the actual settings in \texttt{iodef.xml} whether they are saved or not.
661%
662\begin{table}[!h]
663\begin{center}
664\caption{Standard output fields for the C14 package \label{tab:out}.}
665%\begin{small}
666\renewcommand{\arraystretch}{1.3}%
667\begin{tabular}[h]{|l*{3}{|c}|l|}
668\hline
669Field     & Type   & Dim & Units              & Description                                               \\ \hline
670RC14      & ptrc   & 3-D & -                  & Radiocarbon ratio                                         \\
671DeltaC14  & diad   & 3-D & \textperthousand   & $\Dcq$                                                    \\
672C14Age    & diad   & 3-D & yr                 & Radiocarbon age                                           \\
673RAge      & diad   & 2-D & yr                 & Reservoir age                                             \\
674qtr\_c14  & diad   & 2-D & m$^{-2}$ yr$^{-1}$ & Air-to-sea net $\Rq$ flux                                 \\
675qint\_c14 & diad   & 2-D & m$^{-2}$           & Cumulative air-to-sea $\Rq$ flux                          \\
676AtmCO2    & scalar & 0-D & ppm                & Global atmospheric $\cd$                                  \\
677AtmC14    & scalar & 0-D & \textperthousand   & Global atmospheric $\Dcq$                                 \\
678K\_CO2    & scalar & 0-D & cm h$^{-1}$        & Global $\cd$ piston velocity ($ \overline{\kappa_{\cd}}$) \\
679K\_C14    & scalar & 0-D & m yr$^{-1}$        & Global $\Rq$ transfer velocity  ($ \overline{\kappa_R}$\\
680C14Inv    & scalar & 0-D & $10^{26}$ atoms    & Ocean radiocarbon inventory                               \\ \hline
681\end{tabular}
682%\end{small}
683\end{center}
684\end{table}
685%!   Standard ratio: 1.176E-12 ; Avogadro's nbr = 6.022E+23 at/mol ; bomb C14 traditionally reported as 1.E+26 atoms
686%   REAL(wp), PARAMETER            :: atomc14=1.176*6.022E-15   ! conversion factor
687% atomc14 * xdicsur * zdum
688
689The radiocarbon age is computed as  $(-1/\lambda) \ln{ \left( \Rq \right)}$, with zero age corresponding to $\Rq=1$.
690
691The reservoir age is the age difference between the ocean uppermost layer and the atmosphere.
692It is usually reported as conventional radiocarbon age; i.e., computed by means of the Libby radiocarbon mean life \cite[8033 yr;][]{stuiver_1977}
693
694\begin{align}
695{^{14}\tau_\mathrm{c}}= -8033 \; \ln \left(1 + \frac{\Dcq}{10^3}\right), \label{eq:convage}
696\end{align}
697
698where ${^{14}\tau_\mathrm{c}}$ is expressed in years B.P.
699Here we do not use that convention and compute reservoir ages with the mean lifetime $1/\lambda$.
700Conversion from one scale to the other is readily performed.
701The conventional radiocarbon age is lower than the radiocarbon age by $\simeq3\%$.
702
703The ocean radiocarbon  inventory is computed as
704
705\begin{equation}
706N_A \Rq_\mathrm{oxa} \overline{\Ct} \left( \int_\Omega \Rq d\Omega \right) /10^{26}, \label{eq:inv}
707\end{equation}
708
709where $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.
710Bomb $\cq$ inventories are traditionally reported in units of $10^{26}$ atoms, hence the denominator in \autoref{eq:inv}.
711
712All transformations from second to year, and inversely, are performed with the help of the physical constant \forcode{rsiyea} the sideral year length expressed in seconds\footnote{The variable (\forcode{nyear\_len}) which reports the length in days of the previous/current/future year (see \textrm{oce\_trc.F90}) is not a constant. }.
713
714The global transfer velocities represent time-averaged\footnote{the actual duration is set in \texttt{iodef.xml}} global integrals of the transfer rates:
715
716\begin{equation}
717 \overline{\kappa_{\cd}}= \int_\mathcal{S} \kappa_{\cd} d\mathcal{S}  \text{ and } \overline{\kappa_R}= \int_\mathcal{S} \kappa_R d\mathcal{S}
718\end{equation}
719
720
721\subsection{PISCES biogeochemical model}
722
723PISCES is a biogeochemical model that simulates the lower trophic levels of marine ecosystem (phytoplankton, microzooplankton, and mesozooplankton) and the biogeochemical cycles of carbon and of the main nutrients (P, N, Si, and Fe) (\autoref{img_piscesdesign} and \autoref{img_pisces}).
724
725\begin{figure}[ht]
726   \begin{center}
727      \vspace{0cm}
728      \includegraphics[width=0.80\textwidth]{Fig_PISCES_model}
729      \caption{Schematic view of the PISCES-v2 model (figure by Jorge Martinez-Rey).}
730      \label{img_piscesdesign}
731   \end{center}
732\end{figure}
733
734\begin{figure}[!h]
735   \centering
736   \includegraphics[width=0.80\textwidth]{PISCES_tracers}
737   \caption{Surface concentrations of NO$_{3}$, PO$_{4}$, total chlorophyll, and air-sea CO$_{2}$ flux from the last year of a 62-year simulation.}
738   \label{img_pisces}
739\end{figure}
740
741The  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.
742
743Two versions of PISCES are available in NEMO v4.0 :
744
745\begin{itemize}
746   \item PISCES-v2, by setting \textit{ln\_p4z} = \texttt{.true.} in \textit{namelist\_pisces\_ref}. This version 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.
747   
748   \item PISCES-QUOTA, by setting \textit{ln\_p5z} = \texttt{.true.} in \textit{namelist\_pisces\_ref}. This version has been built on the PISCES-v2 model described in \citet{aumont_2015}. PISCES-QUOTA has thirty-nine prognostic compartments. Phytoplankton growth is 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 the three 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.
749\end{itemize}
750
751There are three non-living compartments: Semi-labile dissolved organic matter, small sinking particles, and large sinking particles.
752As 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.
753Indeed, the nitrogen, phosphorus, iron, silicon, and calcite pools of the particles are now all explicitly modeled.
754The sinking speed of the particles is not altered by their content in calcite and biogenic silicate (''The ballast effect'', \citep{honjo_1996,armstrong_2001}).
755The latter particles are assumed to sink at the same speed as the large organic matter particles.
756All the non-living compartments experience aggregation due to turbulence and differential settling as well as Brownian coagulation for DOM.
757
758\subsection{MY\_TRC interface for coupling external BGC models}
759\label{Mytrc}
760
761NEMO-TOP has one built-in biogeochemical model - PISCES - but there are several BGC models - MEDUSA, ERSEM, BFM or ECO3M - which are meant to be used within the NEMO plateform.
762Therefore it was necessary to provide to the users a framework to easily add their own BGCM model.
763The generalized interface is pivoted on MY\_TRC module that contains template files to build the coupling between NEMO and any external BGC model.
764Call to MY\_TRC is activated by setting  \textit{ln\_my\_trc} = \texttt{.true.} in namelist \textit{namtrc}.\\
765
766The following 6 fortran files are available in MY\_TRC with the specific purposes here described.
767
768\begin{itemize}
769   \item \textit{par\_my\_trc.F90} :  This module allows to define additional arrays and public variables to be used within the MY\_TRC interface
770   \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).
771Here are also likely to be defined suport arrays related to system metrics that could be needed by the BGC model.
772  \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.
773  \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.
774Be aware that lateral boundary conditions are applied in trcnxt routine.
775IMPORTANT: the routines to compute 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.
776 \item \textit{trcice\_my\_trc.F90} : Here it is possible to prescribe the tracers concentrations in sea ice that will be used as boundary conditions when ice formation and melting occurs (nn\_ice\_tr =1 in namtrc\_ice).
777See e.g. the correspondent PISCES subroutine.
778 \item \textit{trcwri\_my\_trc.F90} : This routine performs the output of the model tracers using IOM module (see Manual Chapter Output and Diagnostics).
779It 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}.
780\end{itemize}
781
782\section{The Offline Option}
783\label{Offline}
784
785Coupling passive tracers offline with NEMO requires precomputed physical fields
786 from OGCM. Those fields are read in files and interpolated on-the-fly at each model
787 time step. There are two sets of fields to perform offline simulations :
788
789\begin{itemize}
790   \item linear free surface ( ln\_linssh = .true. )  where the vertical scale factor is constant with time. At least, the following dynamical parameters should be absolutely passed
791   to transport : the effective ocean transport velocities (eulerian plus the eddy induced plus all others parameterizations), vertical diffusion coefficient and the freshwater flux
792.
793   %------------------------------------------namtrc_sms----------------------------------------------------
794   \nlst{namdta_dyn_linssh}
795   %-----------------------------------------------------------------------------------------------------------
796   \item non linear free surface ( ln\_linssh = .false. or key\_qco ) : the same fields than the ones in the linear free surface case. In addition, the horizontal divergence transport is needed to  recompute the time evolution of the sea surface heigth and the vertical scale factor and depth, and thus the time evolution of the vertical transport velocity.
797   %------------------------------------------namtrc_sms----------------------------------------------------
798   \nlst{namdta_dyn_nolinssh}
799   %-----------------------------------------------------------------------------------------------------------
800\end{itemize}
801
802Additionally, temperature, salinity, and mixed layer depth are needed to compute slopes for isopycnal diffusion. Some ecosystem models like PISCES need sea ice concentration, short-wave radiation at the ocean surface, and wind speed (or at least, wind stress).
803
804The 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 CO$_{2}$ sinks for climate-carbon studies.
805
806The offline interface is located in the code repository : <repository>/src/OFF/. It is activated by adding the\textit{ key\_offline} CPP key to the CPP keys list.
807There are
808two specifics routines for the offline code :
809\begin{itemize}
810   \item dtadyn.F90 : this module reads and computes the dynamical fields at
811each model time-step
812   \item nemogcm.F90 : a degraded version of the main nemogcm.F90 code of NEMO to
813manage the time-stepping
814\end{itemize}
815
816
817\end{document}
Note: See TracBrowser for help on using the repository browser.