Changeset 1224
- Timestamp:
- 2008-11-26T14:52:28+01:00 (15 years ago)
- Location:
- trunk/DOC/TexFiles/Chapters
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/TexFiles/Chapters/Abstracts_Foreword.tex
r994 r1224 9 9 10 10 \small{ 11 The ocean engine of NEMO (Nucleus for European Modelling of the Ocean) is a primitive equation model adapted to regional and global ocean circulation problems. It is intended to be a flexible tool for studying the ocean and its interactions with the others components of the earth climate system (atmosphere, sea-ice, biogeochemical tracers, ...) over a wide range of space and time scales. Prognostic variables are the three-dimensional velocity field, a linear or non-linear sea surface height, the temperature and the salinity. In the horizontal direction, the model uses a curvilinear orthogonal grid and in the vertical direction, a full or partial step $z$-coordinate, or $s$-coordinate, or a mixture of the two. The distribution of variables is a three-dimensional Arakawa C-type grid. Various physical choices are available to describe ocean physics, including TKE and KPP vertical physics. Within NEMO, the ocean is interfaced with a sea-ice model (LIM), passive tracer and biogeochemical models (TOP) and, via the OASIS coupler, with several atmospheric general circulation models. 11 The ocean engine of NEMO (Nucleus for European Modelling of the Ocean) is a primitive 12 equation model adapted to regional and global ocean circulation problems. It is intended to 13 be a flexible tool for studying the ocean and its interactions with the others components of 14 the earth climate system (atmosphere, sea-ice, biogeochemical tracers, ...) over a wide range 15 of space and time scales. Prognostic variables are the three-dimensional velocity field, a linear 16 or non-linear sea surface height, the temperature and the salinity. In the horizontal direction, 17 the model uses a curvilinear orthogonal grid and in the vertical direction, a full or partial step 18 $z$-coordinate, or $s$-coordinate, or a mixture of the two. The distribution of variables is a 19 three-dimensional Arakawa C-type grid. Various physical choices are available to describe 20 ocean physics, including TKE and KPP vertical physics. Within NEMO, the ocean is interfaced 21 with a sea-ice model (LIM v2 and v3), passive tracer and biogeochemical models (TOP) 22 and, via the OASIS coupler, with several atmospheric general circulation models. 12 23 13 24 % ================================================================ 14 25 \vspace{0.5cm} 15 26 16 Le moteur oc\'{e}anique de NEMO (Nucleus for European Modelling of the Ocean) est un mod\`{e}le aux \'{e}quations primitives de la circulation oc\'{e}anique r\'{e}gionale et globale. Il se veut un outil flexible pour \'{e}tudier sur un vaste spectre spatiotemporel l'oc\'{e}an et ses interactions avec les autres composantes du syst\`{e}me climatique terrestre (atmosph\`{e}re, glace de mer, traceurs biog\'{e}ochimiques...). Les variables pronostiques sont le champ tridimensionnel de vitesse, une hauteur de la mer lin\'{e}aire ou non, la temperature et la salinit\'{e}. La distribution des variables se fait sur une grille C d'Arakawa tridimensionnelle utilisant une coordonn\'{e}e verticale $z$ \`{a} niveaux entiers ou partiels, ou une coordonn\'{e}e s, ou encore une combinaison des deux. Diff\'{e}rents choix sont propos\'{e}s pour d\'{e}crire la physique oc\'{e}anique, incluant notamment des physiques verticales TKE et KPP . A travers l'infrastructure NEMO, l'oc\'{e}an est interfac\'{e} avec un mod\`{e}le de glace de mer, des mod\`{e}les biog\'{e}ochimiques et de traceur passif, et, via le coupleur OASIS, \`{a} plusieurs mod\`{e}les de circulation g\'{e}n\'{e}rale atmosph\'{e}rique. 27 Le moteur oc\'{e}anique de NEMO (Nucleus for European Modelling of the Ocean) est un 28 mod\`{e}le aux \'{e}quations primitives de la circulation oc\'{e}anique r\'{e}gionale et globale. 29 Il se veut un outil flexible pour \'{e}tudier sur un vaste spectre spatiotemporel l'oc\'{e}an et ses 30 interactions avec les autres composantes du syst\`{e}me climatique terrestre (atmosph\`{e}re, 31 glace de mer, traceurs biog\'{e}ochimiques...). Les variables pronostiques sont le champ 32 tridimensionnel de vitesse, une hauteur de la mer lin\'{e}aire ou non, la temperature et la salinit\'{e}. 33 La distribution des variables se fait sur une grille C d'Arakawa tridimensionnelle utilisant une 34 coordonn\'{e}e verticale $z$ \`{a} niveaux entiers ou partiels, ou une coordonn\'{e}e s, ou encore 35 une combinaison des deux. Diff\'{e}rents choix sont propos\'{e}s pour d\'{e}crire la physique 36 oc\'{e}anique, incluant notamment des physiques verticales TKE et KPP. A travers l'infrastructure 37 NEMO, l'oc\'{e}an est interfac\'{e} avec un mod\`{e}le de glace de mer, des mod\`{e}les 38 biog\'{e}ochimiques et de traceur passif, et, via le coupleur OASIS, \`{a} plusieurs mod\`{e}les 39 de circulation g\'{e}n\'{e}rale atmosph\'{e}rique. 17 40 } 18 41 … … 32 55 33 56 \vspace{0.5cm} 34 Additional information can be found on www.locean-ipsl.upmc.fr/NEMO57 Additional information can be found on http://www.nemo-ocean.eu/ 35 58 \vspace{0.5cm} 36 59 -
trunk/DOC/TexFiles/Chapters/Chap_DOM.tex
r998 r1224 73 73 provided by \eqref{Eq_scale_factors}. As a result, the mesh on which partial 74 74 derivatives $\frac{\partial}{\partial \lambda}, \frac{\partial}{\partial \varphi}$, and 75 $\frac{\partial}{\partial z} $ are evaluated is a uniform mesh with a grid size of unity. Discrete partial derivatives are formulated by the traditional, centred second order 75 $\frac{\partial}{\partial z} $ are evaluated is a uniform mesh with a grid size of unity. 76 Discrete partial derivatives are formulated by the traditional, centred second order 76 77 finite difference approximation while the scale factors are chosen equal to their 77 78 local analytical value. An important point here is that the partial derivative of the … … 262 263 same $k$ index, in opposition to what is done in the horizontal plane where 263 264 it is the $T$-point and the nearest velocity points in the direction of the horizontal 264 axis that have the same $i$ or $j$ index (compare the dashed area in Fig.\ref{Fig_index_hor} and \ref{Fig_index_vert}). Since the scale factors are chosen 265 to be strictly positive, a \emph{minus sign} appears in the \textsc{Fortran} code 266 \emph{before all the vertical derivatives} of the discrete equations given in this 267 documentation. 265 axis that have the same $i$ or $j$ index (compare the dashed area in 266 Fig.\ref{Fig_index_hor} and \ref{Fig_index_vert}). Since the scale factors are 267 chosen to be strictly positive, a \emph{minus sign} appears in the \textsc{Fortran} 268 code \emph{before all the vertical derivatives} of the discrete equations given in 269 this documentation. 268 270 269 271 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 601 603 through statement functions, using parameters provided in the \textit{par\_oce.h90} file. 602 604 603 It is possible to define a simple regular vertical grid by giving zero stretching (\pp{ppacr=0}). In that case, the parameters \jp{jpk} (number of $w$-levels) and \pp{pphmax} (total ocean depth in meters) fully define the grid. 605 It is possible to define a simple regular vertical grid by giving zero stretching (\pp{ppacr=0}). 606 In that case, the parameters \jp{jpk} (number of $w$-levels) and \pp{pphmax} 607 (total ocean depth in meters) fully define the grid. 604 608 605 609 For climate-related studies it is often desirable to concentrate the vertical resolution 606 near the ocean surface. The following function is proposed as a standard for a $z$-coordinate (with either full or partial steps): 610 near the ocean surface. The following function is proposed as a standard for a 611 $z$-coordinate (with either full or partial steps): 607 612 \begin{equation} \label{DOM_zgr_ana} 608 613 \begin{split} … … 715 720 one grid point to the next). The reference layer thicknesses $e_{3t}^0$ have been 716 721 defined in the absence of bathymetry. With partial steps, layers from 1 to 717 \jp{jpk}-2 can have a thickness smaller than $e_{3t}(jk)$. The model deepest layer (\jp{jpk}-1) is718 allowed to have either a smaller or larger thickness than $e_{3t}(jpk)$: the722 \jp{jpk}-2 can have a thickness smaller than $e_{3t}(jk)$. The model deepest layer (\jp{jpk}-1) 723 is allowed to have either a smaller or larger thickness than $e_{3t}(jpk)$: the 719 724 maximum thickness allowed is $2*e_{3t}(jpk-1)$. This has to be kept in mind when 720 725 specifying the maximum depth \pp{pphmax} in partial steps: for example, with 721 \pp{pphmax}$=5750~m$ for the DRAKKAR 45 layer grid, the maximum ocean depth allowed is actually $6000~m$ (the default thickness $e_{3t}(jpk-1)$ being $250~m$). Two 722 variables in the namdom namelist are used to define the partial step 726 \pp{pphmax}$=5750~m$ for the DRAKKAR 45 layer grid, the maximum ocean depth 727 allowed is actually $6000~m$ (the default thickness $e_{3t}(jpk-1)$ being $250~m$). 728 Two variables in the namdom namelist are used to define the partial step 723 729 vertical grid. The mimimum water thickness (in meters) allowed for a cell 724 730 partially filled with bathymetry at level jk is the minimum of \np{e3zpsmin} … … 750 756 surface to $1$ at the ocean bottom. The depth field $h$ is not necessary the ocean 751 757 depth, since a mixed step-like and bottom-following representation of the 752 topography can be used (Fig.~\ref{Fig_z_zps_s_sps}d-e). In the example provided (\hf{zgr\_s} file) $h$ is a smooth envelope bathymetry and steps are used to represent sharp bathymetric gradients. 758 topography can be used (Fig.~\ref{Fig_z_zps_s_sps}d-e). In the example provided 759 (\hf{zgr\_s} file) $h$ is a smooth envelope bathymetry and steps are used to represent 760 sharp bathymetric gradients. 753 761 754 762 A new flexible stretching function, modified from \citet{Song1994} is provided as an example: … … 763 771 where $h_c$ is the thermocline depth and $\theta$ and $b$ are the surface and 764 772 bottom control parameters such that $0\leqslant \theta \leqslant 20$, and 765 $0\leqslant b\leqslant 1$. $b$ has been designed to allow surface and/or bottom increase of the vertical resolution (Fig.~\ref{Fig_sco_function}). 773 $0\leqslant b\leqslant 1$. $b$ has been designed to allow surface and/or bottom 774 increase of the vertical resolution (Fig.~\ref{Fig_sco_function}). 766 775 767 776 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 768 777 \begin{figure}[!tb] \label{Fig_sco_function} \begin{center} 769 778 \includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_sco_function.pdf} 770 \caption{Examples of the stretching function applied to a sea mont; from left to right: surface, surface and bottom, and bottom intensified resolutions} 779 \caption{Examples of the stretching function applied to a sea mont; from left to right: 780 surface, surface and bottom, and bottom intensified resolutions} 771 781 \end{center} \end{figure} 772 782 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 859 869 well as the implications in terms of starting or restarting a model 860 870 simulation. Note that the time stepping is generally performed in a one step 861 operation. With such a complex and nonlinear system of equations it would be dangerous to let a prognostic variable evolve in time for each term separately. 862 %%% 863 \gmcomment{ STEVEN suggest separately instead of successively... wrong?} 864 %%% 871 operation. With such a complex and nonlinear system of equations it would be 872 dangerous to let a prognostic variable evolve in time for each term separately. 865 873 866 874 The three level scheme requires three arrays for each prognostic variables. … … 896 904 to diverge into a physical and a computational mode. Time splitting can 897 905 be controlled through the use of an Asselin time filter (first designed by 898 \citep{Robert1966} and more comprehensively studied by \citet{Asselin1972}), or by899 periodically reinitialising the leapfrog solution through a single906 \citep{Robert1966} and more comprehensively studied by \citet{Asselin1972}), 907 or by periodically reinitialising the leapfrog solution through a single 900 908 integration step with a two-level scheme. In \NEMO we follow the first 901 909 strategy: … … 996 1004 \right. 997 1005 \end{equation} 998 where $e$ is the smallest grid size in the two horizontal directions and $A^h$ is the mixing coefficient. The linear constraint \eqref{Eq_DOM_nxt_euler_stability} is a necessary condition, but not sufficient. If it is not satisfied, even mildly, then the model soon becomes wildly unstable. The instability can be removed by either reducing the length of the time steps or reducing the mixing coefficient. 1006 where $e$ is the smallest grid size in the two horizontal directions and $A^h$ is 1007 the mixing coefficient. The linear constraint \eqref{Eq_DOM_nxt_euler_stability} 1008 is a necessary condition, but not sufficient. If it is not satisfied, even mildly, 1009 then the model soon becomes wildly unstable. The instability can be removed 1010 by either reducing the length of the time steps or reducing the mixing coefficient. 999 1011 1000 1012 For the vertical diffusion terms, a forward time differencing scheme can be … … 1032 1044 \right] 1033 1045 \end{equation} 1034 where RHS is the right hand side of the equation except for the vertical diffusion term. We rewrite \eqref{Eq_DOM_nxt_imp} as: 1046 where RHS is the right hand side of the equation except for the vertical diffusion term. 1047 We rewrite \eqref{Eq_DOM_nxt_imp} as: 1035 1048 \begin{equation} \label{Eq_DOM_nxt_imp_mat} 1036 1049 -c(k+1)\;u^{t+1}(k+1)+d(k)\;u^{t+1}(k)-\;c(k)\;u^{t+1}(k-1) \equiv b(k) … … 1075 1088 gradient (see \S\ref{DYN_hpg_imp}), an extra three-dimensional field has to be 1076 1089 added in the restart file to ensure an exact restartability. This is done only optionally 1077 via the namelist parameter \np{nn\_dynhpg\_rst}, so that a reduction of the size of restart file can be obtained when the restartability is not a key issue (operational oceanography or ensemble simulation for seasonal forcast). 1090 via the namelist parameter \np{nn\_dynhpg\_rst}, so that a reduction of the size of 1091 restart file can be obtained when the restartability is not a key issue (operational 1092 oceanography or ensemble simulation for seasonal forcast). 1078 1093 %%% 1079 1094 \gmcomment{add here how to force the restart to contain only one time step for operational purposes} -
trunk/DOC/TexFiles/Chapters/Chap_DYN.tex
r998 r1224 8 8 % add a figure for dynvor ens, ene latices 9 9 10 10 %\vspace{2.cm} 11 11 $\ $\newline %force an empty line 12 12 … … 59 59 MISC correspond to "extracting tendency terms" or "vorticity balance"?} 60 60 61 $\ $\newline % force a new ligne 61 62 % ================================================================ 62 63 % Coriolis and Advection terms: vector invariant form … … 70 71 The vector invariant form of the momentum equations is the one most 71 72 often used in applications of \NEMO ocean model. The flux form option 72 (see next section) has been recently introduced inversion $2$.73 Coriolis and momentum 74 advection terms are evaluated using a leapfrog scheme, $i.e.$ the velocity75 appearing in these expressions is centred intime (\textit{now} velocity).73 (see next section) has been introduced since version $2$. 74 Coriolis and momentum advection terms are evaluated using a leapfrog 75 scheme, $i.e.$ the velocity appearing in these expressions is centred in 76 time (\textit{now} velocity). 76 77 At the lateral boundaries either free slip, no slip or partial slip boundary 77 78 conditions are applied following Chap.\ref{LBC}. … … 88 89 89 90 Different discretisations of the vorticity term (\textit{ln\_dynvor\_xxx}=.true.) are 90 available: conserving potential enstrophy of horizontally non-divergent flow; 91 conserving horizontal kinetic energy; or conserving potential enstrophy for the 92 relative vorticity term and horizontal kinetic energy for the planetary vorticity term 93 (see Appendix~\ref{Apdx_C}). The vorticity terms are given below for the general 94 case, but note that in the full step $z$-coordinate (\key{zco} is defined), 95 $e_{3u} =e_{3v} =e_{3f}$ so that the vertical scale factors disappear. 91 available: conserving potential enstrophy of horizontally non-divergent flow ; 92 conserving horizontal kinetic energy ; or conserving potential enstrophy for the 93 relative vorticity term and horizontal kinetic energy for the planetary vorticity 94 term (see Appendix~\ref{Apdx_C}). The vorticity terms are given below for the 95 general case, but note that in the full step $z$-coordinate (\key{zco} is defined), 96 $e_{3u} =e_{3v} =e_{3f}$ so that the vertical scale factors disappear. They are 97 all computed in dedicated routines that can be found in the \mdl{dynvor} module. 96 98 97 99 %------------------------------------------------------------- … … 108 110 \left\{ 109 111 \begin{aligned} 110 {+\frac{1}{e_{1u} } } & {\overline {\left( { \frac{\zeta +f}{e_{3f} }} \right)} }^{\,i} & {\overline{\overline {\left( {e_{1v} e_{3v} v} \right)}} }^{\,i, j+1/2} \\ 111 {-\frac{1}{e_{2v} } } & {\overline {\left( {\frac{\zeta +f}{e_{3f} }} \right)} }^{\,j} & {\overline{\overline {\left( {e_{2u} e_{3u} u} \right)}} }^{\,i+1/2, j} 112 {+\frac{1}{e_{1u} } } & {\overline {\left( { \frac{\zeta +f}{e_{3f} }} \right)} }^{\,i} 113 & {\overline{\overline {\left( {e_{1v} e_{3v} v} \right)}} }^{\,i, j+1/2} \\ 114 {- \frac{1}{e_{2v} } } & {\overline {\left( {\frac{\zeta +f}{e_{3f} }} \right)} }^{\,j} 115 & {\overline{\overline {\left( {e_{2u} e_{3u} u} \right)}} }^{\,i+1/2, j} 112 116 \end{aligned} 113 117 \right. … … 123 127 kinetic energy but not the global enstrophy. It is given by: 124 128 \begin{equation} \label{Eq_dynvor_ene} 125 \left\{ { 126 \begin{aligned} 127 {+\frac{1}{e_{1u} }\; {\overline {\left( {\frac{\zeta +f}{e_{3f} }} \right) 128 \;\overline {\left( {e_{1v} e_{3v} v} \right)} ^{\,i+1/2}} }^{\,j} } \\ 129 {-\frac{1}{e_{2v} }\; {\overline {\left( {\frac{\zeta +f}{e_{3f} }} \right) 130 \;\overline {\left( {e_{2u} e_{3u} u} \right)} ^{\,j+1/2}} }^{\,i} } 131 \end{aligned} 132 } \right. 129 \left\{ \begin{aligned} 130 {+\frac{1}{e_{1u}}\; {\overline {\left( {\frac{\zeta +f}{e_{3f} }} \right) 131 \; \overline {\left( {e_{1v} e_{3v} v} \right)} ^{\,i+1/2}} }^{\,j} } \\ 132 {- \frac{1}{e_{2v}}\; {\overline {\left( {\frac{\zeta +f}{e_{3f} }} \right) 133 \; \overline {\left( {e_{2u} e_{3u} u} \right)} ^{\,j+1/2}} }^{\,i} } 134 \end{aligned} \right. 133 135 \end{equation} 134 136 … … 230 232 } \right. 231 233 \end{equation} 232 where $a$, $b$, $c$ and $d$ are t riad combinations of the neighbouring233 potential vorticities (Fig.\ref{Fig_DYN_een_triad}):234 where $a$, $b$, $c$ and $d$ are the following triad combinations of the 235 neighbouring potential vorticities (Fig.~\ref{Fig_DYN_een_triad}): 234 236 \begin{equation} \label{Eq_een_triads} 235 237 \left\{ … … 377 379 378 380 The scheme is non diffusive (i.e. conserves the kinetic energy) but dispersive 379 ($i.e.$ it may create false extrema). It is therefore notoriously noisy and must 380 be used in conjunction with an explicit diffusion operator to produce a sensible381 solution. The associated time-stepping is performed using a leapfrog scheme in conjunction with an Asselin time-filter, so $u$ and $v$ are the \emph{now}382 velocities.381 ($i.e.$ it may create false extrema). It is therefore notoriously noisy and must be 382 used in conjunction with an explicit diffusion operator to produce a sensible solution. 383 The associated time-stepping is performed using a leapfrog scheme in conjunction 384 with an Asselin time-filter, so $u$ and $v$ are the \emph{now} velocities. 383 385 384 386 %------------------------------------------------------------- … … 716 718 by $t-\Delta t$, $t, t+\Delta t$, and $t+2\Delta t$. 717 719 The curved line represents a leap-frog time step, and the smaller time 718 steps $N \Delta t_e=\frac{3}{2}\Delta t$ are denoted by the zig-zag line. The vertically719 integrated forcing \textbf{M}(t) computed at the model time step $t$720 steps $N \Delta t_e=\frac{3}{2}\Delta t$ are denoted by the zig-zag line. 721 The vertically integrated forcing \textbf{M}(t) computed at the model time step $t$ 720 722 represents the interaction between the external and internal motions. 721 While keeping \textbf{M} and freshwater forcing field fixed, a 722 leap-frog integration carries the external mode variables (surface height and vertically integrated velocity) from $t$ to $t+\frac{3}{2} \Delta t$ using N external time steps of length $\Delta t_e$.723 Time averaging the external fields over the $\frac{2}{3}N+1$ time steps (endpoints724 included) centers the vertically integrated velocity and the sea surface height at the model timestep $t+\Delta t$. These averaged values are used to update \textbf{M}(t) with both the surface pressure gradient and the Coriolis force.725 A baroclinic leap-frog time step carries the surface height to The model time stepping scheme can then be achieved by726 $t+\Delta t$ using the convergence of the time averaged vertically integrated727 velocity taken from baroclinic time step t. } 728 %%% 729 \gmcomment{STEVEN: what does convergence mean in this context?} 730 %%% 723 While keeping \textbf{M} and freshwater forcing field fixed, a leap-frog 724 integration carries the external mode variables (surface height and vertically 725 integrated velocity) from $t$ to $t+\frac{3}{2} \Delta t$ using N external time 726 steps of length $\Delta t_e$. Time averaging the external fields over the 727 $\frac{2}{3}N+1$ time steps (endpoints included) centers the vertically integrated 728 velocity and the sea surface height at the model timestep $t+\Delta t$. 729 These averaged values are used to update \textbf{M}(t) with both the surface 730 pressure gradient and the Coriolis force, therefore providing the $t+\Delta t$ 731 velocity. The model time stepping scheme can then be achieved by a baroclinic 732 leap-frog time step that carries the surface height from $t-\Delta t$ to $t+\Delta t$. } 731 733 \end{center} 732 734 \end{figure} … … 988 990 989 991 The turbulent flux of momentum at the bottom of the ocean is specified through 990 a bottom friction parameteri zation (see \S\ref{ZDF_bfr})992 a bottom friction parameterisation (see \S\ref{ZDF_bfr}) 991 993 992 994 % ================================================================ … … 1061 1063 \end{equation} 1062 1064 1063 Note that in the $z$-coordinate with full step (\key{zco} is defined), $e_{3u} =e_{3v} =e_{3f}$ so that they cancel in \eqref{Eq_divcur_div}. 1065 Note that in the $z$-coordinate with full step (\key{zco} is defined), 1066 $e_{3u} =e_{3v} =e_{3f}$ so that they cancel in \eqref{Eq_divcur_div}. 1064 1067 1065 1068 Note also that whereas the vorticity have the same discrete expression in $z$- -
trunk/DOC/TexFiles/Chapters/Chap_LBC.tex
r998 r1224 5 5 \label{LBC} 6 6 \minitoc 7 8 \newpage 9 $\ $\newline % force a new ligne 10 7 11 8 12 %gm% add here introduction to this chapter … … 146 150 \label{LBC_jperio} 147 151 148 At the model domain boundaries several choices are offered: closed, cyclic east-west, south symmetric across the equator, a north-fold, and combination closed-north fold or cyclic-north-fold. The north-fold boundary condition is associated with the 3-pole ORCA mesh. 152 At the model domain boundaries several choices are offered: closed, cyclic east-west, 153 south symmetric across the equator, a north-fold, and combination closed-north fold 154 or cyclic-north-fold. The north-fold boundary condition is associated with the 3-pole ORCA mesh. 149 155 150 156 % ------------------------------------------------------------------------------------------------------------- … … 198 204 \label{LBC_north_fold} 199 205 200 The north fold boundary condition has been introduced in order to handle the north boundary of a three-polar ORCA grid. Such a grid has two poles in the northern hemisphere. \colorbox{yellow}{to be completed...} 206 The north fold boundary condition has been introduced in order to handle the north 207 boundary of a three-polar ORCA grid. Such a grid has two poles in the northern hemisphere. 208 \colorbox{yellow}{to be completed...} 201 209 202 210 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 203 211 \begin{figure}[!t] \label{Fig_North_Fold_T} \begin{center} 204 212 \includegraphics[width=0.90\textwidth]{./TexFiles/Figures/Fig_North_Fold_T.pdf} 205 \caption {North fold boundary with a $T$-point pivot and cyclic east-west boundary condition ($jperio=4$), as used in ORCA 2, 1/4, and 1/12. Pink shaded area corresponds to the inner domain mask (see text). } 213 \caption {North fold boundary with a $T$-point pivot and cyclic east-west boundary condition 214 ($jperio=4$), as used in ORCA 2, 1/4, and 1/12. Pink shaded area corresponds to the inner 215 domain mask (see text). } 206 216 \end{center} \end{figure} 207 217 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 240 250 and the solving of the elliptic equation associated with the surface pressure 241 251 gradient computation (delocalization over the whole horizontal domain). 242 Therefore, a pencil strategy is used for the data sub-structuration \gmcomment{no 243 idea what this means!}: the 3D initial domain is laid out on local processor 252 Therefore, a pencil strategy is used for the data sub-structuration 253 \gmcomment{no idea what this means!} 254 : the 3D initial domain is laid out on local processor 244 255 memories following a 2D horizontal topological splitting. Each sub-domain 245 256 computes its own surface and bottom boundary conditions and has a side … … 249 260 phase starts: each processor sends to its neighbouring processors the update 250 261 values of the points corresponding to the interior overlapping area to its 251 neighbouring sub-domain (i.e. the innermost of the two overlapping rows). The communication is done through message passing. Usually the parallel virtual 262 neighbouring sub-domain (i.e. the innermost of the two overlapping rows). 263 The communication is done through message passing. Usually the parallel virtual 252 264 language, PVM, is used as it is a standard language available on nearly all 253 265 MPP computers. More specific languages (i.e. computer dependant languages) … … 272 284 \jp{jpnij} most often equal to $jpni \times jpnj$ (model parameters set in 273 285 \mdl{par\_oce}). Each processor is independent and without message passing 274 or synchronous process \gmcomment{how does a synchronous process relate to this?}, 286 or synchronous process 287 \gmcomment{how does a synchronous process relate to this?}, 275 288 programs run alone and access just its own local memory. For this reason, the 276 289 main model dimensions are now the local dimensions of the subdomain (pencil) … … 286 299 where \jp{jpni}, \jp{jpnj} are the number of processors following the i- and j-axis. 287 300 288 \colorbox{yellow}{Figure IV.3: example of a domain splitting with 9 processors and no east-west cyclic boundary conditions.} 301 \colorbox{yellow}{Figure IV.3: example of a domain splitting with 9 processors and 302 no east-west cyclic boundary conditions.} 289 303 290 304 One also defines variables nldi and nlei which correspond to the internal … … 309 323 \item nbondi = 2 no splitting following the i-axis. 310 324 \end{itemize} 311 During the simulation, processors exchange data with their neighbours. If there is effectively a neighbour, the processor receives variables from this processor on its overlapping row, and sends the data issued from internal domain corresponding to the overlapping row of the other processor. 325 During the simulation, processors exchange data with their neighbours. 326 If there is effectively a neighbour, the processor receives variables from this 327 processor on its overlapping row, and sends the data issued from internal 328 domain corresponding to the overlapping row of the other processor. 312 329 313 314 330 \colorbox{yellow}{Figure IV.4: pencil splitting with the additional outer halos } 315 331 316 332 317 318 The OPA model computes equation terms with the help of mask arrays (0 on land 333 The \NEMO model computes equation terms with the help of mask arrays (0 on land 319 334 points and 1 on sea points). It is easily readable and very efficient in the context of 320 335 a computer with vectorial architecture. However, in the case of a scalar processor, … … 332 347 nono, noea,...) so that the land-only processors are not taken into account. 333 348 334 \colorbox{yellow}{Note that the inimpp2 routine is general so that the original inimpp routine should be suppressed from the code.} 335 336 When land processors are eliminated, the value corresponding to these locations in the model output files is zero. Note that this is a problem for a mesh output file written by such a model configuration, because model users often divide by the scale factors ($e1t$, $e2t$, etc) and do not expect the grid size to be zero, even on land. It may be best not to eliminate land processors when running the model especially to write the mesh files as outputs (when \np{nmsh} namelist parameter differs from 0). 337 \gmcomment{Steven : dont understand this, no land processor means no output file covering this part of globe; its only when files are stitched together into one that you can leave a hole} 349 \colorbox{yellow}{Note that the inimpp2 routine is general so that the original inimpp 350 routine should be suppressed from the code.} 351 352 When land processors are eliminated, the value corresponding to these locations in 353 the model output files is zero. Note that this is a problem for a mesh output file written 354 by such a model configuration, because model users often divide by the scale factors 355 ($e1t$, $e2t$, etc) and do not expect the grid size to be zero, even on land. It may be 356 best not to eliminate land processors when running the model especially to write the 357 mesh files as outputs (when \np{nmsh} namelist parameter differs from 0). 358 \gmcomment{Steven : dont understand this, no land processor means no output file 359 covering this part of globe; its only when files are stitched together into one that you 360 can leave a hole} 338 361 339 362 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 383 406 NEMO (originally in OPA8.2). It allows the user to 384 407 \begin{itemize} 385 \item tell the model that a boundary is ''open'' and not closed by a wall, for example by modifying the calculation of the divergence of velocity there; 386 \item impose values of tracers and velocities at that boundary (values which may be taken from a climatology): this is the``fixed OBC'' option. 387 \item calculate boundary values by a sophisticated algorithm combining radiation and relaxation (``radiative OBC'' option) 408 \item tell the model that a boundary is ''open'' and not closed by a wall, for example 409 by modifying the calculation of the divergence of velocity there; 410 \item impose values of tracers and velocities at that boundary (values which may 411 be taken from a climatology): this is the``fixed OBC'' option. 412 \item calculate boundary values by a sophisticated algorithm combining radiation 413 and relaxation (``radiative OBC'' option) 388 414 \end{itemize} 389 415 … … 529 555 to indices $ib:ie$, $jb:je$ of the global domain, the bathymetry and forcing of the 530 556 small domain can be created by using the following netcdf utility on the global files: 531 ncks -F $-d\;x,ib,ie$ $-d\;y,jb,je$ (part of the nco series of utilities, see http://nco.sourceforge.net). The open boundary files can be constructed using ncks 557 ncks -F $-d\;x,ib,ie$ $-d\;y,jb,je$ (part of the nco series of utilities, see http://nco.sourceforge.net). 558 The open boundary files can be constructed using ncks 532 559 commands, following table~\ref{Tab_obc_ind}. 533 560 -
trunk/DOC/TexFiles/Chapters/Chap_LDF.tex
r999 r1224 75 75 76 76 \subsubsection{Horizontally Varying Mixing Coefficients (\key{ldftra\_c2d} and \key{ldfdyn\_c2d})} 77 By default the horizontal variation of the eddy coefficient depends on the local mesh size and the type of operator used: 77 By default the horizontal variation of the eddy coefficient depends on the local mesh 78 size and the type of operator used: 78 79 \begin{equation} \label{Eq_title} 79 80 A_l = \left\{ … … 84 85 \quad \text{comments} 85 86 \end{equation} 86 where $e_{max}$ is the maximum of $e_1$ and $e_2$ taken over the whole masked ocean domain, and $A_o^l$ is the \np{ahm0} (momentum) or \np{aht0} (tracer) namelist parameter. This variation is intended to reflect the lesser need for subgrid scale eddy mixing where the grid size is smaller in the domain. It was introduced in the context of the DYNAMO modelling project \citep{Willebrand2001}. 87 where $e_{max}$ is the maximum of $e_1$ and $e_2$ taken over the whole masked 88 ocean domain, and $A_o^l$ is the \np{ahm0} (momentum) or \np{aht0} (tracer) 89 namelist parameter. This variation is intended to reflect the lesser need for subgrid 90 scale eddy mixing where the grid size is smaller in the domain. It was introduced in 91 the context of the DYNAMO modelling project \citep{Willebrand2001}. 87 92 %%% 88 \gmcomment { not only that! stability reasons: with non uniform grid size, it is common to face a blow up of the model due to to large diffusive coefficient compare to the smallest grid size... this is especially true for bilaplacian (to be added in the text!) } 93 \gmcomment { not only that! stability reasons: with non uniform grid size, it is common 94 to face a blow up of the model due to to large diffusive coefficient compare to the smallest 95 grid size... this is especially true for bilaplacian (to be added in the text!) } 89 96 90 97 Other formulations can be introduced by the user for a given configuration. … … 150 157 151 158 %%% 152 \gmcomment{ we should emphasize here that the implementation is a rather old one. Better work can be achieved by using \citet{Griffies1998, Griffies2004} iso-neutral scheme. } 159 \gmcomment{ we should emphasize here that the implementation is a rather old one. 160 Better work can be achieved by using \citet{Griffies1998, Griffies2004} iso-neutral scheme. } 153 161 154 162 A direction for lateral mixing has to be defined when the desired operator does … … 227 235 \end{equation} 228 236 229 %gm% rewrite this as the explanation i nnot very clear !!!237 %gm% rewrite this as the explanation is not very clear !!! 230 238 %In practice, \eqref{Eq_ldfslp_iso} is of little help in evaluating the neutral surface slopes. Indeed, for an unsimplified equation of state, the density has a strong dependancy on pressure (here approximated as the depth), therefore applying \eqref{Eq_ldfslp_iso} using the $in situ$ density, $\rho$, computed at T-points leads to a flattening of slopes as the depth increases. This is due to the strong increase of the $in situ$ density with depth. 231 239 … … 262 270 263 271 %gm% 264 Note: The solution for $s$-coordinate passes trough the use of different (and better) expression for the constraint on iso-neutral fluxes. Following \citet{Griffies2004}, instead of specifying directly that there is a zero neutral diffusive flux of locally referenced potential density, we stay in the $T$-$S$ plane and consider the balance between the neutral direction diffusive fluxes of potential temperature and salinity: 272 Note: The solution for $s$-coordinate passes trough the use of different 273 (and better) expression for the constraint on iso-neutral fluxes. Following 274 \citet{Griffies2004}, instead of specifying directly that there is a zero neutral 275 diffusive flux of locally referenced potential density, we stay in the $T$-$S$ 276 plane and consider the balance between the neutral direction diffusive fluxes 277 of potential temperature and salinity: 265 278 \begin{equation} 266 279 \alpha \ \textbf{F}(T) = \beta \ \textbf{F}(S) … … 323 336 the effect of an horizontal background mixing. 324 337 325 Nevertheless, this iso-neutral operator does not ensure that variance cannot increase, contrary to the \citet{Griffies1998} operator which has that property. 338 Nevertheless, this iso-neutral operator does not ensure that variance cannot increase, 339 contrary to the \citet{Griffies1998} operator which has that property. 326 340 327 341 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 332 346 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 333 347 334 %There are three additional questions about the slope calculation. First the expression for the rotation tensor has been obtain assuming the "small slope" approximation, so a bound has to be imposed on slopes. Second, numerical stability issues also require a bound on slopes. Third, the question of boundary condition specified on slopes... 348 %There are three additional questions about the slope calculation. 349 %First the expression for the rotation tensor has been obtain assuming the "small slope" approximation, so a bound has to be imposed on slopes. 350 %Second, numerical stability issues also require a bound on slopes. 351 %Third, the question of boundary condition specified on slopes... 335 352 336 353 %from griffies: chapter 13.1.... … … 338 355 339 356 340 In addition and also for numerical stability reasons \citep{Cox1987, Griffies2004}, the slopes are bounded by $1/100$ everywhere. This limit is decreasing linearly to zero fom $70$ meters depth 341 and the surface (the fact that the eddies "feel" the surface motivates this 342 flattening of isopycnals near the surface). 357 In addition and also for numerical stability reasons \citep{Cox1987, Griffies2004}, 358 the slopes are bounded by $1/100$ everywhere. This limit is decreasing linearly 359 to zero fom $70$ meters depth and the surface (the fact that the eddies "feel" the 360 surface motivates this flattening of isopycnals near the surface). 343 361 344 362 For numerical stability reasons \citep{Cox1987, Griffies2004}, the slopes must also … … 404 422 an eddy induced tracer advection term is added, the formulation of which 405 423 depends on the slopes of iso-neutral surfaces. Contrary to the case of iso-neutral 406 mixing, the slopes used here are referenced to the geopotential surfaces, $i.e.$ \eqref{Eq_ldfslp_geo} is used in $z$-coordinates, and the sum \eqref{Eq_ldfslp_geo} 424 mixing, the slopes used here are referenced to the geopotential surfaces, $i.e.$ 425 \eqref{Eq_ldfslp_geo} is used in $z$-coordinates, and the sum \eqref{Eq_ldfslp_geo} 407 426 + \eqref{Eq_ldfslp_iso} in $s$-coordinates. The eddy induced velocity is given by: 408 427 \begin{equation} \label{Eq_ldfeiv} -
trunk/DOC/TexFiles/Chapters/Chap_MISC.tex
r998 r1224 40 40 \textit{Top}: using partially open cells. The meridional scale factor at $v$-point 41 41 is reduced on both sides of the strait to account for the real width of the strait 42 (about 20 km). Note that the scale factors of the strait $T$-point remains unchanged. \textit{Bottom}: using viscous boundary layers. The four fmask parameters 42 (about 20 km). Note that the scale factors of the strait $T$-point remains unchanged. 43 \textit{Bottom}: using viscous boundary layers. The four fmask parameters 43 44 along the strait coastlines are set to a value larger than 4, $i.e.$ "strong" no-slip 44 45 case (see Fig.\ref{Fig_LBC_shlat}) creating a large viscous boundary layer … … 124 125 \key{cfg\_1d} CPP key. This 1D model is a very useful tool \textit{(a)} to learn 125 126 about the physics and numerical treatment of vertical mixing processes ; \textit{(b)} 126 to investigate suitable parameteri zations of unresolved turbulence (wind steering,127 to investigate suitable parameterisations of unresolved turbulence (wind steering, 127 128 langmuir circulation, skin layers) ; \textit{(c)} to compare the behaviour of different 128 129 vertical mixing schemes ; \textit{(d)} to perform sensitivity studies on the vertical … … 254 255 size. This allows a very large model domain to be used, just by changing the domain 255 256 size (\jp{jpiglo}, \jp{jpjglo}) and without adjusting either the time-step or the physical 256 parameteri zations.257 parameterisations. 257 258 258 259 … … 429 430 {\textbf{ x}}^{n+1}=\text{inf} _{{\textbf{ y}}={\textbf{ x}}^n+\alpha^n \,{\textbf{ d}}^n} \,\phi ({\textbf{ y}})\;\;\Leftrightarrow \;\;\frac{d\phi }{d\alpha}=0 430 431 \end{equation*} 431 and expressing $\phi (\textbf{y})$ as a function of \textit{$\alpha $}, we obtain the value that minimises the functional: 432 and expressing $\phi (\textbf{y})$ as a function of \textit{$\alpha $}, we obtain the 433 value that minimises the functional: 432 434 \begin{equation*} 433 435 \alpha ^n = \langle{ \textbf{r}^n , \textbf{r}^n} \rangle / \langle {\textbf{ A d}^n, \textbf{d}^n} \rangle … … 439 441 product linked to \textbf{A}. Expressing the condition 440 442 $\langle \textbf{A d}^n, \textbf{d}^{n-1} \rangle = 0$ the value of $\beta ^n$ is found: 441 $\beta ^n = \langle{ \textbf{r}^n , \textbf{r}^n} \rangle / \langle {\textbf{r}^{n-1}, \textbf{r}^{n-1}} \rangle$. As a result, the errors $ \textbf{r}^n$ form an orthogonal 443 $\beta ^n = \langle{ \textbf{r}^n , \textbf{r}^n} \rangle / \langle {\textbf{r}^{n-1}, \textbf{r}^{n-1}} \rangle$. 444 As a result, the errors $ \textbf{r}^n$ form an orthogonal 442 445 base for the canonic dot product while the descent vectors $\textbf{d}^n$ form 443 446 an orthogonal base for the dot product linked to \textbf{A}. The resulting … … 497 500 The same algorithm can be used to solve \eqref{Eq_pmat} if instead of the 498 501 canonical dot product the following one is used: 499 ${\langle{ \textbf{a} , \textbf{b}} \rangle}_Q = \langle{ \textbf{a} , \textbf{Q b}} \rangle$, 500 and if $\textbf{\~{b}} = \textbf{Q}^{-1}\;\textbf{b}$ and $\textbf{\~{A}} = \textbf{Q}^{-1}\;\textbf{A}$ are substituted to \textbf{b} and \textbf{A} \citep{Madec1988}. 501 In \NEMO, \textbf{Q} is chosen as the diagonal of \textbf{ A}, i.e. the simplest form for \textbf{Q} so that it can be easily inverted. In this case, the discrete formulation of 502 ${\langle{ \textbf{a} , \textbf{b}} \rangle}_Q = \langle{ \textbf{a} , \textbf{Q b}} \rangle$, and 503 if $\textbf{\~{b}} = \textbf{Q}^{-1}\;\textbf{b}$ and $\textbf{\~{A}} = \textbf{Q}^{-1}\;\textbf{A}$ 504 are substituted to \textbf{b} and \textbf{A} \citep{Madec1988}. 505 In \NEMO, \textbf{Q} is chosen as the diagonal of \textbf{ A}, i.e. the simplest form for 506 \textbf{Q} so that it can be easily inverted. In this case, the discrete formulation of 502 507 \eqref{Eq_pmat} is in fact given by \eqref{Eq_solmat_p} and thus the matrix and 503 508 right hand side are computed independently from the solver used. … … 609 614 % Tracer/Dynamics Trends 610 615 % ------------------------------------------------------------------------------------------------------------- 611 \subsection{Tracer/Dynamics Trends (\key{trdlmd}, \key{diatrdtra}, \key{diatrddyn})} 616 \subsection[Tracer/Dynamics Trends (\key{trdlmd}, \textbf{key\_diatrd...})] 617 {Tracer/Dynamics Trends (\key{trdlmd}, \key{diatrdtra}, \key{diatrddyn})} 612 618 \label{MISC_tratrd} 613 619 … … 636 642 637 643 The on-line computation of floats adevected either by the three dimensional velocity 638 field or constraint to remain at a given depth ($w = 0$ in the computation) have been introduced in the system during the CLIPPER project. The algorithm used is based on 644 field or constraint to remain at a given depth ($w = 0$ in the computation) have been 645 introduced in the system during the CLIPPER project. The algorithm used is based on 639 646 the work of \cite{Blanke_Raynaud_JPO97}. (see also the web site describing the off-line 640 647 use of this marvellous diagnostic tool (http://stockage.univ-brest.fr/~grima/Ariane/). -
trunk/DOC/TexFiles/Chapters/Chap_Model_Basics.tex
r998 r1224 27 27 velocity, plus the following additional assumptions made from scale considerations: 28 28 29 \textit{(1) spherical earth approximation: }the geopotential surfaces are assumed to be spheres so that gravity (local vertical) is parallel to the earth's radius 29 \textit{(1) spherical earth approximation: }the geopotential surfaces are assumed to 30 be spheres so that gravity (local vertical) is parallel to the earth's radius 30 31 31 32 \textit{(2) thin-shell approximation: }the ocean depth is neglected compared to the earth's radius 32 33 33 \textit{(3) turbulent closure hypothesis: }the turbulent fluxes (which represent the effect of small scale processes on the large-scale) are expressed in terms of large-scale features 34 35 \textit{(4) Boussinesq hypothesis:} density variations are neglected except in their contribution to the buoyancy force 36 37 \textit{(5) Hydrostatic hypothesis: }the vertical momentum equation is reduced to a balance between the vertical pressure gradient and the buoyancy force (this removes convective processes from 38 the initial Navier-Stokes equations and so convective processes must be parameterized instead) 39 40 \textit{(6) Incompressibility hypothesis: }the three dimensional divergence of the velocity vector is assumed to be zero. 41 42 Because the gravitational force is so dominant in the equations of large-scale motions, it is useful to choose an orthogonal set of unit vectors (\textbf{i},\textbf{j},\textbf{k}) linked to the earth such that \textbf{k} is the local upward vector and (\textbf{i},\textbf{j}) are two vectors orthogonal to \textbf{k}, $i.e.$ tangent to the geopotential surfaces. Let us define the following variables: \textbf{U} the vector velocity, $\textbf{U}=\textbf{U}_h + w\, \textbf{k}$ (the subscript $h$ denotes the local horizontal vector, $i.e.$ over the (\textbf{i},\textbf{j}) plane), $T$ the potential temperature, $S$ the salinity, \textit{$\rho $} the \textit{in situ} density. The vector invariant form of the primitive equations in the (\textbf{i},\textbf{j},\textbf{k}) vector system provides the following six equations (namely the momentum balance, the hydrostatic equilibrium, the incompressibility equation, the heat and salt conservation equations and an equation of state): 34 \textit{(3) turbulent closure hypothesis: }the turbulent fluxes (which represent the effect 35 of small scale processes on the large-scale) are expressed in terms of large-scale features 36 37 \textit{(4) Boussinesq hypothesis:} density variations are neglected except in their 38 contribution to the buoyancy force 39 40 \textit{(5) Hydrostatic hypothesis: }the vertical momentum equation is reduced to a 41 balance between the vertical pressure gradient and the buoyancy force (this removes 42 convective processes from the initial Navier-Stokes equations and so convective processes 43 must be parameterized instead) 44 45 \textit{(6) Incompressibility hypothesis: }the three dimensional divergence of the velocity 46 vector is assumed to be zero. 47 48 Because the gravitational force is so dominant in the equations of large-scale motions, 49 it is useful to choose an orthogonal set of unit vectors (\textbf{i},\textbf{j},\textbf{k}) linked 50 to the earth such that \textbf{k} is the local upward vector and (\textbf{i},\textbf{j}) are two 51 vectors orthogonal to \textbf{k}, $i.e.$ tangent to the geopotential surfaces. Let us define 52 the following variables: \textbf{U} the vector velocity, $\textbf{U}=\textbf{U}_h + w\, \textbf{k}$ 53 (the subscript $h$ denotes the local horizontal vector, $i.e.$ over the (\textbf{i},\textbf{j}) plane), 54 $T$ the potential temperature, $S$ the salinity, \textit{$\rho $} the \textit{in situ} density. 55 The vector invariant form of the primitive equations in the (\textbf{i},\textbf{j},\textbf{k}) 56 vector system provides the following six equations (namely the momentum balance, the 57 hydrostatic equilibrium, the incompressibility equation, the heat and salt conservation 58 equations and an equation of state): 43 59 \begin{subequations} \label{Eq_PE} 44 60 \begin{equation} \label{Eq_PE_dyn} … … 65 81 \end{equation} 66 82 \end{subequations} 67 where $\nabla$ is the generalised derivative vector operator in $(\bf i,\bf j, \bf k)$ directions, $t$ is the time, $z$ is the vertical coordinate, $\rho $ is the \textit{in situ} density given by the equation of state (\ref{Eq_PE_eos}), $\rho_o$ is a reference density, $p$ the pressure, $f=2 \bf \Omega \cdot \bf k$ is the Coriolis acceleration (where $\bf \Omega$ is the Earth's angular velocity vector), and $g$ is the gravitational acceleration. 68 ${\rm {\bf D}}^{\rm {\bf U}}$, $D^T$ and $D^S$ are the parameterizations of small-scale physics for momentum, temperature and salinity, and ${\rm {\bf F}}^{\rm {\bf U}}$, $F^T$ and $F^S$ surface forcing terms. Their nature and formulation are discussed in \S\ref{PE_zdf_ldf} and page \S\ref{PE_boundary_condition}. 83 where $\nabla$ is the generalised derivative vector operator in $(\bf i,\bf j, \bf k)$ directions, 84 $t$ is the time, $z$ is the vertical coordinate, $\rho $ is the \textit{in situ} density given by 85 the equation of state (\ref{Eq_PE_eos}), $\rho_o$ is a reference density, $p$ the pressure, 86 $f=2 \bf \Omega \cdot \bf k$ is the Coriolis acceleration (where $\bf \Omega$ is the Earth's 87 angular velocity vector), and $g$ is the gravitational acceleration. 88 ${\rm {\bf D}}^{\rm {\bf U}}$, $D^T$ and $D^S$ are the parameterisations of small-scale 89 physics for momentum, temperature and salinity, and ${\rm {\bf F}}^{\rm {\bf U}}$, $F^T$ 90 and $F^S$ surface forcing terms. Their nature and formulation are discussed in 91 \S\ref{PE_zdf_ldf} and page \S\ref{PE_boundary_condition}. 69 92 70 93 . … … 76 99 \label{PE_boundary_condition} 77 100 78 An ocean is bounded by complex coastlines, bottom topography at its base and an air-sea or ice-sea interface at its top. These boundaries can be defined by two surfaces, $z=-H(i,j)$ and $z=\eta(i,j,k,t)$, where $H$ is the depth of the ocean bottom and $\eta$ is the height of the sea surface. Both $H$ and $\eta$ are usually referenced to a given surface, $z=0$, chosen as a mean sea surface (Fig.~\ref{Fig_ocean_bc}). Through these two boundaries, the ocean can exchange fluxes of heat, fresh water, salt, and momentum with the solid earth, the continental margins, the sea ice and the atmosphere. However, some of these fluxes are so weak that even on climatic time scales of thousands of years they can be neglected. In the following, we briefly review the fluxes exchanged at the interfaces between the ocean and the other components of the earth system. 101 An ocean is bounded by complex coastlines, bottom topography at its base and an air-sea 102 or ice-sea interface at its top. These boundaries can be defined by two surfaces, $z=-H(i,j)$ 103 and $z=\eta(i,j,k,t)$, where $H$ is the depth of the ocean bottom and $\eta$ is the height 104 of the sea surface. Both $H$ and $\eta$ are usually referenced to a given surface, $z=0$, 105 chosen as a mean sea surface (Fig.~\ref{Fig_ocean_bc}). Through these two boundaries, 106 the ocean can exchange fluxes of heat, fresh water, salt, and momentum with the solid earth, 107 the continental margins, the sea ice and the atmosphere. However, some of these fluxes are 108 so weak that even on climatic time scales of thousands of years they can be neglected. 109 In the following, we briefly review the fluxes exchanged at the interfaces between the ocean 110 and the other components of the earth system. 79 111 80 112 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 81 113 \begin{figure}[!ht] \label{Fig_ocean_bc} \begin{center} 82 114 \includegraphics[width=0.90\textwidth]{./TexFiles/Figures/Fig_I_ocean_bc.pdf} 83 \caption{The ocean is bounded by two surfaces, $z=-H(i,j)$ and $z=\eta(i,j,k,t)$, where $H$ is the depth of the sea floor and $\eta$ the height of the sea surface. Both $H$ and $\eta $ are referenced to $z=0$.} 115 \caption{The ocean is bounded by two surfaces, $z=-H(i,j)$ and $z=\eta(i,j,k,t)$, where $H$ 116 is the depth of the sea floor and $\eta$ the height of the sea surface. Both $H$ and $\eta $ 117 are referenced to $z=0$.} 84 118 \end{center} \end{figure} 85 119 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 87 121 88 122 \begin{description} 89 \item[Land - ocean interface:] the major flux between continental margins and the ocean is a mass exchange of fresh water through river runoff. Such an exchange modifies the sea surface salinity especially in the vicinity of major river mouths. It can be neglected for short range integrations but has to be taken into account for long term integrations as it influences the characteristics of water masses formed (especially at high latitudes). It is required in order to close the water cycle of the climate system. It is usually specified as a fresh water flux at the air-sea interface in the vicinity of river mouths. 90 \item[Solid earth - ocean interface:] heat and salt fluxes through the sea floor are small, except in special areas of little extent. They are usually neglected in the model \footnote{In fact, it has been shown that the heat flux associated with the solid Earth cooling ($i.e.$the geothermal heating) is not negligible for the thermohaline circulation of the world ocean (see \ref{TRA_bbc}).}. The boundary condition is thus set to no flux of heat and salt across solid boundaries. For momentum, the situation is different. There is no flow across solid boundaries, $i.e.$ the velocity normal to the ocean bottom and coastlines is zero (in other words, the bottom velocity is parallel to solid boundaries). This kinematic boundary condition can be expressed as: 123 \item[Land - ocean interface:] the major flux between continental margins and the ocean is 124 a mass exchange of fresh water through river runoff. Such an exchange modifies the sea 125 surface salinity especially in the vicinity of major river mouths. It can be neglected for short 126 range integrations but has to be taken into account for long term integrations as it influences 127 the characteristics of water masses formed (especially at high latitudes). It is required in order 128 to close the water cycle of the climate system. It is usually specified as a fresh water flux at 129 the air-sea interface in the vicinity of river mouths. 130 \item[Solid earth - ocean interface:] heat and salt fluxes through the sea floor are small, 131 except in special areas of little extent. They are usually neglected in the model 132 \footnote{In fact, it has been shown that the heat flux associated with the solid Earth cooling 133 ($i.e.$the geothermal heating) is not negligible for the thermohaline circulation of the world 134 ocean (see \ref{TRA_bbc}).}. 135 The boundary condition is thus set to no flux of heat and salt across solid boundaries. 136 For momentum, the situation is different. There is no flow across solid boundaries, 137 $i.e.$ the velocity normal to the ocean bottom and coastlines is zero (in other words, 138 the bottom velocity is parallel to solid boundaries). This kinematic boundary condition 139 can be expressed as: 91 140 \begin{equation} \label{Eq_PE_w_bbc} 92 141 w = -{\rm {\bf U}}_h \cdot \nabla _h \left( H \right) 93 142 \end{equation} 94 In addition, the ocean exchanges momentum with the earth through frictional processes. Such momentum transfer occurs at small scales in a boundary layer. It must be parameterized in terms of turbulent fluxes using bottom and/or lateral boundary conditions. Its specification depends on the nature of the physical parameterization used for ${\rm {\bf D}}^{\rm {\bf U}}$ in \eqref{Eq_PE_dyn}. It is discussed in \S\ref{PE_zdf}, page~\pageref{PE_zdf}.% and Chap. III.6 to 9. 95 \item[Atmosphere - ocean interface:] the kinematic surface condition plus the mass flux of fresh water PE (the precipitation minus evaporation budget) leads to: 143 In addition, the ocean exchanges momentum with the earth through frictional processes. 144 Such momentum transfer occurs at small scales in a boundary layer. It must be parameterized 145 in terms of turbulent fluxes using bottom and/or lateral boundary conditions. Its specification 146 depends on the nature of the physical parameterisation used for ${\rm {\bf D}}^{\rm {\bf U}}$ 147 in \eqref{Eq_PE_dyn}. It is discussed in \S\ref{PE_zdf}, page~\pageref{PE_zdf}.% and Chap. III.6 to 9. 148 \item[Atmosphere - ocean interface:] the kinematic surface condition plus the mass flux 149 of fresh water PE (the precipitation minus evaporation budget) leads to: 96 150 \begin{equation} \label{Eq_PE_w_sbc} 97 151 w = \frac{\partial \eta }{\partial t} … … 99 153 + P-E 100 154 \end{equation} 101 The dynamic boundary condition, neglecting the surface tension (which removes capillary waves from the system) leads to the continuity of pressure across the interface $z=\eta$. The atmosphere and ocean also exchange horizontal momentum (wind stress), and heat. 102 \item[Sea ice - ocean interface:] the ocean and sea ice exchange heat, salt, fresh water and momentum. The sea surface temperature is constrained to be at the freezing point at the interface. Sea ice salinity is very low ($\sim4-6 \,psu$) compared to those of the ocean ($\sim34 \,psu$). The cycle of freezing/melting is associated with fresh water and salt fluxes that cannot be neglected. 155 The dynamic boundary condition, neglecting the surface tension (which removes capillary 156 waves from the system) leads to the continuity of pressure across the interface $z=\eta$. 157 The atmosphere and ocean also exchange horizontal momentum (wind stress), and heat. 158 \item[Sea ice - ocean interface:] the ocean and sea ice exchange heat, salt, fresh water 159 and momentum. The sea surface temperature is constrained to be at the freezing point 160 at the interface. Sea ice salinity is very low ($\sim4-6 \,psu$) compared to those of the 161 ocean ($\sim34 \,psu$). The cycle of freezing/melting is associated with fresh water and 162 salt fluxes that cannot be neglected. 103 163 \end{description} 104 164 … … 116 176 \label{PE_p_formulation} 117 177 118 The total pressure at a given depth $z$ is composed of a surface pressure $p_s$ at a reference geopotential surface ($z=0$) and a hydrostatic pressure $p_h$ such that: $p(i,j,k,t)=p_s(i,j,t)+p_h(i,j,k,t)$. The latter is computed by integrating (\ref{Eq_PE_hydrostatic}), assuming that pressure in decibars can be approximated by depth in meters in (\ref{Eq_PE_eos}). The hydrostatic pressure is then given by: 178 The total pressure at a given depth $z$ is composed of a surface pressure $p_s$ at a 179 reference geopotential surface ($z=0$) and a hydrostatic pressure $p_h$ such that: 180 $p(i,j,k,t)=p_s(i,j,t)+p_h(i,j,k,t)$. The latter is computed by integrating (\ref{Eq_PE_hydrostatic}), 181 assuming that pressure in decibars can be approximated by depth in meters in (\ref{Eq_PE_eos}). 182 The hydrostatic pressure is then given by: 119 183 \begin{equation} \label{Eq_PE_pressure} 120 184 p_h \left( {i,j,z,t} \right) 121 = \int_{\varsigma =z}^{\varsigma =0} {g\;\rho \left( {T,S,z} \right)\;d\varsigma } 122 \end{equation} 123 Two strategies can be considered for the surface pressure term: $(a)$ introduce of a new variable $\eta$, the free-surface elevation, for which a prognostic equation can be established and solved; $(b)$ assume that the ocean surface is a rigid lid, on which the pressure (or its horizontal gradient) can be diagnosed. When the former strategy is used, one solution of the free-surface elevation consists of the excitation of external gravity waves. The flow is barotropic and the surface moves up and down with gravity as the restoring force. The phase speed of such waves is high (some hundreds of metres per second) so that the time step would have to be very short if they were present in the model. The latter strategy filters out these waves since the rigid lid approximation implies $\eta=0$, $i.e.$ the sea surface is the surface $z=0$. This well known approximation increases the surface wave speed to infinity and modifies certain other longwave dynamics ($e.g.$ barotropic Rossby or planetary waves). In the present release of \NEMO, both strategies are still available. They are further described in the next two sub-sections. 185 = \int_{\varsigma =z}^{\varsigma =0} {g\;\rho \left( {T,S,\varsigma} \right)\;d\varsigma } 186 \end{equation} 187 Two strategies can be considered for the surface pressure term: $(a)$ introduce of a 188 new variable $\eta$, the free-surface elevation, for which a prognostic equation can be 189 established and solved; $(b)$ assume that the ocean surface is a rigid lid, on which the 190 pressure (or its horizontal gradient) can be diagnosed. When the former strategy is used, 191 one solution of the free-surface elevation consists of the excitation of external gravity waves. 192 The flow is barotropic and the surface moves up and down with gravity as the restoring force. 193 The phase speed of such waves is high (some hundreds of metres per second) so that 194 the time step would have to be very short if they were present in the model. The latter 195 strategy filters out these waves since the rigid lid approximation implies $\eta=0$, $i.e.$ 196 the sea surface is the surface $z=0$. This well known approximation increases the surface 197 wave speed to infinity and modifies certain other longwave dynamics ($e.g.$ barotropic 198 Rossby or planetary waves). In the present release of \NEMO, both strategies are still available. 199 They are further described in the next two sub-sections. 124 200 125 201 % ------------------------------------------------------------------------------------------------------------- … … 129 205 \label{PE_free_surface} 130 206 131 In the free surface formulation, a variable $\eta$, the sea-surface height, is introduced which describes the shape of the air-sea interface. This variable is solution of a prognostic equation which is established by forming the vertical average of the kinematic surface condition (\ref{Eq_PE_w_bbc}): 207 In the free surface formulation, a variable $\eta$, the sea-surface height, is introduced 208 which describes the shape of the air-sea interface. This variable is solution of a 209 prognostic equation which is established by forming the vertical average of the kinematic 210 surface condition (\ref{Eq_PE_w_bbc}): 132 211 \begin{equation} \label{Eq_PE_ssh} 133 212 \frac{\partial \eta }{\partial t}=-D+P-E … … 137 216 and using (\ref{Eq_PE_hydrostatic}) the surface pressure is given by: $p_s = \rho \, g \, \eta$. 138 217 139 Allowing the air-sea interface to move introduces the external gravity waves (EGWs) as a class of solution of the primitive equations. These waves are barotropic because of hydrostatic assumption, and their phase speed is quite high. Their time scale is short with respect to the other processes described by the primitive equations. 140 141 Three choices can be made regarding the implementation of the free surface in the model, depending on the physical processes of interest. 218 Allowing the air-sea interface to move introduces the external gravity waves (EGWs) 219 as a class of solution of the primitive equations. These waves are barotropic because 220 of hydrostatic assumption, and their phase speed is quite high. Their time scale is 221 short with respect to the other processes described by the primitive equations. 222 223 Three choices can be made regarding the implementation of the free surface in the model, 224 depending on the physical processes of interest. 142 225 143 226 $\bullet$ If one is interested in EGWs, in particular the tides and their interaction 144 with the baroclinic structure of the ocean (internal waves) possibly in 145 shallow seas, then a non linear free surface is the most appropriate. This 146 means that no approximation is made in (\ref{Eq_PE_ssh}) and that the variation of the 147 ocean volume is fully taken into account. Note that in order to study the 148 fast time scales associated with EGWs it is necessary to minimize time 149 filtering effects (use an explicit time scheme with very small time step, or 150 a split-explicit scheme with reasonably small time step, see \S\ref{DYN_spg_exp} or 151 \S\ref{DYN_spg_ts}. 227 with the baroclinic structure of the ocean (internal waves) possibly in shallow seas, 228 then a non linear free surface is the most appropriate. This means that no 229 approximation is made in (\ref{Eq_PE_ssh}) and that the variation of the ocean 230 volume is fully taken into account. Note that in order to study the fast time scales 231 associated with EGWs it is necessary to minimize time filtering effects (use an 232 explicit time scheme with very small time step, or a split-explicit scheme with 233 reasonably small time step, see \S\ref{DYN_spg_exp} or \S\ref{DYN_spg_ts}. 152 234 153 235 $\bullet$ If one is not interested in EGW but rather sees them as high frequency … … 163 245 external waves are removed from the system. 164 246 165 The filtering of EGWs in models with a free surface is usually a matter of discretisation of the temporal derivatives, using the time splitting method \citep{Killworth1991, Zhang1992} or the implicit scheme \citep{Dukowicz1994}. In \NEMO, we use a slightly different approach developed by \citet{Roullet2000}: the damping of EGWs is ensured by introducing an additional force in the momentum equation. \eqref{Eq_PE_dyn} becomes: 247 The filtering of EGWs in models with a free surface is usually a matter of discretisation 248 of the temporal derivatives, using the time splitting method \citep{Killworth1991, Zhang1992} 249 or the implicit scheme \citep{Dukowicz1994}. In \NEMO, we use a slightly different approach 250 developed by \citet{Roullet2000}: the damping of EGWs is ensured by introducing an 251 additional force in the momentum equation. \eqref{Eq_PE_dyn} becomes: 166 252 \begin{equation} \label{Eq_PE_flt} 167 253 \frac{\partial {\rm {\bf U}}_h }{\partial t}= {\rm {\bf M}} … … 169 255 - g \ T_c \nabla \left( \widetilde{\rho} \ \partial_t \eta \right) 170 256 \end{equation} 171 where $T_c$, is a parameter with dimensions of time which characterizes the force, $\widetilde{\rho} = \rho / \rho_o$ is the dimensionless density, and $\rm {\bf M}$ represents the collected contributions of the Coriolis, hydrostatic pressure gradient, non-linear and viscous terms in \eqref{Eq_PE_dyn}. 172 173 The new force can be interpreted as a diffusion of vertically integrated volume flux divergence. The time evolution of $D$ is thus governed by a balance of two terms, $-g$ \textbf{A} $\eta$ and $g \, T_c \,$ \textbf{A} $D$, associated with a propagative regime and a diffusive regime in the temporal spectrum, respectively. In the diffusive regime, the EGWs no longer propagate, $i.e.$ they are stationary and damped. The diffusion regime applies to the modes shorter than $T_c$. For longer ones, the diffusion term vanishes. Hence, the temporally unresolved EGWs can be damped by choosing $T_c > \Delta t$. \citet{Roullet2000} demonstrate that (\ref{Eq_PE_flt}) can be integrated with a leap frog scheme except the additional term which has to be computed implicitly. This is not surprising since the use of a large time step has a necessarily numerical cost. Two gains arise in comparison with the previous formulations. Firstly, the damping of EGWs can be quantified through the magnitude of the additional term. Secondly, the numerical scheme does not need any tuning. Numerical stability is ensured as soon as $T_c > \Delta t$. 174 175 When the variations of free surface elevation are small compared to the thickness of the first model layer, the free surface equation (\ref{Eq_PE_ssh}) can be linearized. As emphasized by \citet{Roullet2000} the linearization of (\ref{Eq_PE_ssh}) has consequences on the conservation of salt in the model. With the nonlinear free surface equation, the time evolution of the total salt content is 257 where $T_c$, is a parameter with dimensions of time which characterizes the force, 258 $\widetilde{\rho} = \rho / \rho_o$ is the dimensionless density, and $\rm {\bf M}$ 259 represents the collected contributions of the Coriolis, hydrostatic pressure gradient, 260 non-linear and viscous terms in \eqref{Eq_PE_dyn}. 261 262 The new force can be interpreted as a diffusion of vertically integrated volume flux divergence. 263 The time evolution of $D$ is thus governed by a balance of two terms, $-g$ \textbf{A} $\eta$ 264 and $g \, T_c \,$ \textbf{A} $D$, associated with a propagative regime and a diffusive regime 265 in the temporal spectrum, respectively. In the diffusive regime, the EGWs no longer propagate, 266 $i.e.$ they are stationary and damped. The diffusion regime applies to the modes shorter than 267 $T_c$. For longer ones, the diffusion term vanishes. Hence, the temporally unresolved EGWs 268 can be damped by choosing $T_c > \Delta t$. \citet{Roullet2000} demonstrate that 269 (\ref{Eq_PE_flt}) can be integrated with a leap frog scheme except the additional term which 270 has to be computed implicitly. This is not surprising since the use of a large time step has a 271 necessarily numerical cost. Two gains arise in comparison with the previous formulations. 272 Firstly, the damping of EGWs can be quantified through the magnitude of the additional term. 273 Secondly, the numerical scheme does not need any tuning. Numerical stability is ensured as 274 soon as $T_c > \Delta t$. 275 276 When the variations of free surface elevation are small compared to the thickness of the first 277 model layer, the free surface equation (\ref{Eq_PE_ssh}) can be linearized. As emphasized 278 by \citet{Roullet2000} the linearization of (\ref{Eq_PE_ssh}) has consequences on the 279 conservation of salt in the model. With the nonlinear free surface equation, the time evolution 280 of the total salt content is 176 281 \begin{equation} \label{Eq_PE_salt_content} 177 \frac{\partial }{\partial t}\int\limits_{D\eta } {S\;dv} =\int\limits_S 178 {S\;(-\frac{\partial \eta }{\partial t}-D+P-E)\;ds} 179 \end{equation} 180 where $S$ is the salinity, and the total salt is integrated over the whole ocean volume $D_\eta$ bounded by the time-dependent free surface. The right hand side (which is an integral over the free surface) vanishes when the nonlinear equation (\ref{Eq_PE_ssh}) is satisfied, so that the salt is perfectly conserved. When the free surface equation is linearized, \citet{Roullet2000} show that the total salt content integrated in the fixed volume $D$ (bounded by the surface $z=0$) is no longer conserved: 282 \frac{\partial }{\partial t}\int\limits_{D\eta } {S\;dv} 283 =\int\limits_S {S\;(-\frac{\partial \eta }{\partial t}-D+P-E)\;ds} 284 \end{equation} 285 where $S$ is the salinity, and the total salt is integrated over the whole ocean volume 286 $D_\eta$ bounded by the time-dependent free surface. The right hand side (which is an 287 integral over the free surface) vanishes when the nonlinear equation (\ref{Eq_PE_ssh}) 288 is satisfied, so that the salt is perfectly conserved. When the free surface equation is 289 linearized, \citet{Roullet2000} show that the total salt content integrated in the fixed 290 volume $D$ (bounded by the surface $z=0$) is no longer conserved: 181 291 \begin{equation} \label{Eq_PE_salt_content_linear} 182 \frac{\partial }{\partial t}\int\limits_D {S\;dv} =-\int\limits_S 183 {S\;\frac{\partial \eta }{\partial t}ds} 184 \end{equation} 185 186 The right hand side of (\ref{Eq_PE_salt_content_linear}) is small in equilibrium solutions \citep{Roullet2000}. It can be significant when the freshwater forcing is not balanced and the globally averaged free surface is drifting. An increase in sea surface height \textit{$\eta $} results in a decrease of the salinity in the fixed volume $D$. Even in that case though, the total salt integrated in the variable volume $D_{\eta}$ varies much less, since (\ref{Eq_PE_salt_content_linear}) can be rewritten as 292 \frac{\partial }{\partial t}\int\limits_D {S\;dv} 293 = - \int\limits_S {S\;\frac{\partial \eta }{\partial t}ds} 294 \end{equation} 295 296 The right hand side of (\ref{Eq_PE_salt_content_linear}) is small in equilibrium solutions 297 \citep{Roullet2000}. It can be significant when the freshwater forcing is not balanced and 298 the globally averaged free surface is drifting. An increase in sea surface height \textit{$\eta $} 299 results in a decrease of the salinity in the fixed volume $D$. Even in that case though, 300 the total salt integrated in the variable volume $D_{\eta}$ varies much less, since 301 (\ref{Eq_PE_salt_content_linear}) can be rewritten as 187 302 \begin{equation} \label{Eq_PE_salt_content_corrected} 188 303 \frac{\partial }{\partial t}\int\limits_{D\eta } {S\;dv} … … 191 306 \end{equation} 192 307 193 Although the total salt content is not exactly conserved with the linearized free surface, its variations are driven by correlations of the time variation of surface salinity with the sea surface height, which is a negligible term. This situation contrasts with 194 the case of the rigid lid approximation (following section) in which case freshwater forcing is represented by a virtual salt flux, leading to a spurious source of salt at the ocean surface \citep{Roullet2000}. 308 Although the total salt content is not exactly conserved with the linearized free surface, 309 its variations are driven by correlations of the time variation of surface salinity with the 310 sea surface height, which is a negligible term. This situation contrasts with the case of 311 the rigid lid approximation (following section) in which case freshwater forcing is 312 represented by a virtual salt flux, leading to a spurious source of salt at the ocean 313 surface \citep{Roullet2000}. 195 314 196 315 % ------------------------------------------------------------------------------------------------------------- … … 200 319 \label{PE_rigid_lid} 201 320 202 With the rigid lid approximation, we assume that the ocean surface ($z=0$) is a rigid lid on which a pressure $p_s$ is exerted. This implies that the vertical velocity at the surface is equal to zero. From the continuity equation \eqref{Eq_PE_continuity} and the kinematic condition at the bottom \eqref{Eq_PE_w_bbc} (no flux across the bottom), it can be shown that the vertically integrated flow $H{\rm {\bf \bar {U}}}_h$ is non-divergent (where the overbar indicates a vertical average over the whole water column, i.e. from $z=-H$, the ocean bottom, to $z=0$ , the rigid-lid). Thus, $\rm {\bf \bar {U}}_h$ can be derived from a volume transport streamfunction $\psi$: 321 With the rigid lid approximation, we assume that the ocean surface ($z=0$) is a rigid lid 322 on which a pressure $p_s$ is exerted. This implies that the vertical velocity at the surface 323 is equal to zero. From the continuity equation \eqref{Eq_PE_continuity} and the kinematic 324 condition at the bottom \eqref{Eq_PE_w_bbc} (no flux across the bottom), it can be shown 325 that the vertically integrated flow $H{\rm {\bf \bar {U}}}_h$ is non-divergent (where the 326 overbar indicates a vertical average over the whole water column, i.e. from $z=-H$, 327 the ocean bottom, to $z=0$ , the rigid-lid). Thus, $\rm {\bf \bar {U}}_h$ can be derived 328 from a volume transport streamfunction $\psi$: 203 329 \begin{equation} \label{Eq_PE_u_psi} 204 330 \overline{\vect{U}}_h =\frac{1}{H}\left( \vect{k} \times \nabla \psi \right) 205 331 \end{equation} 206 332 207 As $p_s$ does not depend on depth, its horizontal gradient is obtained by forming the vertical average of \eqref{Eq_PE_dyn} and using \eqref{Eq_PE_u_psi}: 333 As $p_s$ does not depend on depth, its horizontal gradient is obtained by forming the 334 vertical average of \eqref{Eq_PE_dyn} and using \eqref{Eq_PE_u_psi}: 208 335 209 336 \begin{equation} \label{Eq_PE_u_barotrope} … … 214 341 \end{equation} 215 342 216 Here ${\rm {\bf M}} = \left( M_u,M_v \right)$ represents the collected contributions of the Coriolis, hydrostatic pressure gradient, nonlinear and viscous terms in \eqref{Eq_PE_dyn}. The time derivative of $\psi $ is the solution of an elliptic equation which is obtained from the vertical component of the curl of (\ref{Eq_PE_u_barotrope}): 343 Here ${\rm {\bf M}} = \left( M_u,M_v \right)$ represents the collected contributions of the 344 Coriolis, hydrostatic pressure gradient, nonlinear and viscous terms in \eqref{Eq_PE_dyn}. 345 The time derivative of $\psi $ is the solution of an elliptic equation which is obtained from 346 the vertical component of the curl of (\ref{Eq_PE_u_barotrope}): 217 347 \begin{equation} \label{Eq_PE_psi} 218 348 \left[ {\nabla \times \left[ {\frac{1}{H} \vect{\bf k} … … 221 351 \end{equation} 222 352 223 Using the proper boundary conditions, \eqref{Eq_PE_psi} can be solved to find $\partial_t \psi$ and thus using \eqref{Eq_PE_u_barotrope} the horizontal surface pressure gradient. It should be noted that $p_s$ can be computed by taking the divergence of \eqref{Eq_PE_u_barotrope} and solving the resulting elliptic equation. Thus the surface pressure is a diagnostic quantity that can be recovered for analysis purposes. 224 225 A difficulty lies in the determination of the boundary condition on $\partial_t \psi$. The boundary condition on velocity is that there is no flow normal to a solid wall, $i.e.$ the coastlines are streamlines. Therefore \eqref{Eq_PE_psi} is solved with the following Dirichlet boundary condition: $\partial_t \psi$ is constant along each coastline of the same continent or of the same island. When all the coastlines are connected (there are no islands), the constant value of $\partial_t \psi$ along the coast can be arbitrarily chosen to be zero. When islands are present in the domain, the value of the barotropic streamfunction will generally be different for each island and for the continent, and will vary with respect to time. So the boundary condition is: $\psi=0$ along the continent and $\psi=\mu_n$ along island $n$ ($1 \leq n \leq Q$), where $Q$ is the number of islands present in the domain and $\mu_n$ is a time dependent variable. A time evolution equation of the unknown $\mu_n$ can be found by evaluating the circulation of the time derivative of the vertical average (barotropic) velocity field along a closed contour around each island. Since the circulation of a gradient field along a closed contour is zero, from \eqref{Eq_PE_u_barotrope} we have: 353 Using the proper boundary conditions, \eqref{Eq_PE_psi} can be solved to find $\partial_t \psi$ 354 and thus using \eqref{Eq_PE_u_barotrope} the horizontal surface pressure gradient. 355 It should be noted that $p_s$ can be computed by taking the divergence of 356 \eqref{Eq_PE_u_barotrope} and solving the resulting elliptic equation. Thus the surface 357 pressure is a diagnostic quantity that can be recovered for analysis purposes. 358 359 A difficulty lies in the determination of the boundary condition on $\partial_t \psi$. 360 The boundary condition on velocity is that there is no flow normal to a solid wall, 361 $i.e.$ the coastlines are streamlines. Therefore \eqref{Eq_PE_psi} is solved with 362 the following Dirichlet boundary condition: $\partial_t \psi$ is constant along each 363 coastline of the same continent or of the same island. When all the coastlines are 364 connected (there are no islands), the constant value of $\partial_t \psi$ along the 365 coast can be arbitrarily chosen to be zero. When islands are present in the domain, 366 the value of the barotropic streamfunction will generally be different for each island 367 and for the continent, and will vary with respect to time. So the boundary condition is: 368 $\psi=0$ along the continent and $\psi=\mu_n$ along island $n$ ($1 \leq n \leq Q$), 369 where $Q$ is the number of islands present in the domain and $\mu_n$ is a time 370 dependent variable. A time evolution equation of the unknown $\mu_n$ can be found 371 by evaluating the circulation of the time derivative of the vertical average (barotropic) 372 velocity field along a closed contour around each island. Since the circulation of a 373 gradient field along a closed contour is zero, from \eqref{Eq_PE_u_barotrope} we have: 226 374 \begin{equation} \label{Eq_PE_isl_circulation} 227 375 \oint_n {\frac{1}{H}\left[ {{\rm {\bf k}}\times \nabla \left( … … 256 404 \right)_{1\leqslant n\leqslant Q} ={\rm {\bf B}} 257 405 \end{equation} 258 where \textbf{A} is a $Q \times Q$ matrix and \textbf{B} is a time dependent vector. As \textbf{A} is independent of time, it can be calculated and inverted once. The time derivative of the streamfunction when islands are present is thus given by: 406 where \textbf{A} is a $Q \times Q$ matrix and \textbf{B} is a time dependent vector. 407 As \textbf{A} is independent of time, it can be calculated and inverted once. The time 408 derivative of the streamfunction when islands are present is thus given by: 259 409 \begin{equation} \label{Eq_PE_psi_isl_dt} 260 410 \frac{\partial \psi }{\partial t}=\frac{\partial \psi _o }{\partial … … 277 427 \label{PE_tensorial} 278 428 279 In many ocean circulation problems, the flow field has regions of enhanced dynamics ($i.e.$ surface layers, western boundary currents, equatorial currents, or ocean fronts). The representation of such dynamical processes can be improved by specifically increasing the model resolution in these regions. As well, it may be convenient to use a lateral boundary-following coordinate system to better represent coastal dynamics. Moreover, the common geographical coordinate system has a singular point at the North Pole that cannot be easily treated in a global model without filtering. A solution consists of introducing an appropriate coordinate transformation that shifts the singular point onto land \citep{MadecImb1996, Murray1996}. As a consequence, it is important to solve the primitive equations in various curvilinear coordinate systems. An efficient way of introducing an appropriate coordinate transform can be found when using a tensorial formalism. This formalism is suited to any multidimensional curvilinear coordinate system. Ocean modellers mainly use three-dimensional orthogonal grids on the sphere (spherical earth approximation), with preservation of the local vertical. Here we give the simplified equations for this particular case. The general case is detailed by \citet{Eiseman1980} in their survey of the conservation laws of fluid dynamics. 280 281 Let (\textbf{i},\textbf{j},\textbf{k}) be a set of orthogonal curvilinear coordinates on the sphere associated with the positively oriented orthogonal set of unit vectors (\textbf{i},\textbf{j},\textbf{k}) linked to the earth such that \textbf{k} is the local upward vector and (\textbf{i},\textbf{j}) are two vectors orthogonal to \textbf{k}, $i.e.$ along geopotential surfaces (Fig.\ref{Fig_referential}). Let $(\lambda,\varphi,z)$ be the geographical coordinate system in which a position is defined by the latitude $\varphi(i,j)$, the longitude $\lambda(i,j)$ and the distance from the centre of the earth $a+z(k)$ where $a$ is the earth's radius and $z$ the altitude above a reference sea level (Fig.\ref{Fig_referential}). The local deformation of the curvilinear coordinate system is given by $e_1$, $e_2$ and $e_3$, the three scale factors: 429 In many ocean circulation problems, the flow field has regions of enhanced dynamics 430 ($i.e.$ surface layers, western boundary currents, equatorial currents, or ocean fronts). 431 The representation of such dynamical processes can be improved by specifically increasing 432 the model resolution in these regions. As well, it may be convenient to use a lateral 433 boundary-following coordinate system to better represent coastal dynamics. Moreover, 434 the common geographical coordinate system has a singular point at the North Pole that 435 cannot be easily treated in a global model without filtering. A solution consists of introducing 436 an appropriate coordinate transformation that shifts the singular point onto land 437 \citep{MadecImb1996, Murray1996}. As a consequence, it is important to solve the primitive 438 equations in various curvilinear coordinate systems. An efficient way of introducing an 439 appropriate coordinate transform can be found when using a tensorial formalism. 440 This formalism is suited to any multidimensional curvilinear coordinate system. Ocean 441 modellers mainly use three-dimensional orthogonal grids on the sphere (spherical earth 442 approximation), with preservation of the local vertical. Here we give the simplified equations 443 for this particular case. The general case is detailed by \citet{Eiseman1980} in their survey 444 of the conservation laws of fluid dynamics. 445 446 Let (\textbf{i},\textbf{j},\textbf{k}) be a set of orthogonal curvilinear coordinates on the sphere 447 associated with the positively oriented orthogonal set of unit vectors (\textbf{i},\textbf{j},\textbf{k}) 448 linked to the earth such that \textbf{k} is the local upward vector and (\textbf{i},\textbf{j}) are 449 two vectors orthogonal to \textbf{k}, $i.e.$ along geopotential surfaces (Fig.\ref{Fig_referential}). 450 Let $(\lambda,\varphi,z)$ be the geographical coordinate system in which a position is defined 451 by the latitude $\varphi(i,j)$, the longitude $\lambda(i,j)$ and the distance from the centre of 452 the earth $a+z(k)$ where $a$ is the earth's radius and $z$ the altitude above a reference sea 453 level (Fig.\ref{Fig_referential}). The local deformation of the curvilinear coordinate system is 454 given by $e_1$, $e_2$ and $e_3$, the three scale factors: 282 455 \begin{equation} \label{Eq_scale_factors} 283 456 \begin{aligned} … … 295 468 \begin{figure}[!tb] \label{Fig_referential} \begin{center} 296 469 \includegraphics[width=0.60\textwidth]{./TexFiles/Figures/Fig_I_earth_referential.pdf} 297 \caption{the geographical coordinate system $(\lambda,\varphi,z)$ and the curvilinear coordinate system (\textbf{i},\textbf{j},\textbf{k}). } 470 \caption{the geographical coordinate system $(\lambda,\varphi,z)$ and the curvilinear 471 coordinate system (\textbf{i},\textbf{j},\textbf{k}). } 298 472 \end{center} \end{figure} 299 473 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 300 474 301 Since the ocean depth is far smaller than the earth's radius, $a+z$, can be replaced by $a$ in (\ref{Eq_scale_factors}) (thin-shell approximation). The resulting horizontal scale factors $e_1$, $e_2$ are independent of $k$ while the vertical scale factor is a single function of $k$ as \textbf{k} is parallel to \textbf{z}. The scalar and vector operators that appear in the primitive equations (Eqs. \eqref{Eq_PE_dyn} to \eqref{Eq_PE_eos}) can be written in the tensorial form, invariant in any orthogonal horizontal curvilinear coordinate system transformation: 475 Since the ocean depth is far smaller than the earth's radius, $a+z$, can be replaced by 476 $a$ in (\ref{Eq_scale_factors}) (thin-shell approximation). The resulting horizontal scale 477 factors $e_1$, $e_2$ are independent of $k$ while the vertical scale factor is a single 478 function of $k$ as \textbf{k} is parallel to \textbf{z}. The scalar and vector operators that 479 appear in the primitive equations (Eqs. \eqref{Eq_PE_dyn} to \eqref{Eq_PE_eos}) can 480 be written in the tensorial form, invariant in any orthogonal horizontal curvilinear coordinate 481 system transformation: 302 482 \begin{subequations} \label{Eq_PE_discrete_operators} 303 483 \begin{equation} \label{Eq_PE_grad} … … 341 521 \label{PE_zco_Eq} 342 522 343 In order to express the Primitive Equations in tensorial formalism, it is necessary to compute the horizontal component of the non-linear and viscous terms of the equation using \eqref{Eq_PE_grad}) to \eqref{Eq_PE_lap_vector}. Let us set $\vect U=(u,v,w)={\vect{U}}_h +w\;\vect{k}$, the velocity in the $(i,j,k)$ coordinate system and define the relative vorticity $\zeta$ and the divergence of the horizontal velocity field $\chi$, by: 523 In order to express the Primitive Equations in tensorial formalism, it is necessary to compute 524 the horizontal component of the non-linear and viscous terms of the equation using 525 \eqref{Eq_PE_grad}) to \eqref{Eq_PE_lap_vector}. 526 Let us set $\vect U=(u,v,w)={\vect{U}}_h +w\;\vect{k}$, the velocity in the $(i,j,k)$ coordinate 527 system and define the relative vorticity $\zeta$ and the divergence of the horizontal velocity 528 field $\chi$, by: 344 529 \begin{equation} \label{Eq_PE_curl_Uh} 345 530 \zeta =\frac{1}{e_1 e_2 }\left[ {\frac{\partial \left( {e_2 \,v} … … 353 538 \end{equation} 354 539 355 Using the fact that the horizontal scale factors $e_1$ and $e_2$ are independent of $k$ and that $e_3$ is a function of the single variable $k$, the nonlinear term of \eqref{Eq_PE_dyn} can be transformed as follows: 540 Using the fact that the horizontal scale factors $e_1$ and $e_2$ are independent of $k$ 541 and that $e_3$ is a function of the single variable $k$, the nonlinear term of 542 \eqref{Eq_PE_dyn} can be transformed as follows: 356 543 \begin{flalign*} 357 544 &\left[ {\left( { \nabla \times {\rm {\bf U}} } \right) \times {\rm {\bf U}} … … 391 578 \end{flalign*} 392 579 393 The last term of the right hand side is obviously zero, and thus the nonlinear term of \eqref{Eq_PE_dyn} is written in the $(i,j,k)$ coordinate system: 580 The last term of the right hand side is obviously zero, and thus the nonlinear term of 581 \eqref{Eq_PE_dyn} is written in the $(i,j,k)$ coordinate system: 394 582 \begin{equation} \label{Eq_PE_vector_form} 395 583 \left[ {\left( { \nabla \times {\rm {\bf U}} } \right) \times {\rm {\bf U}} … … 401 589 \end{equation} 402 590 403 This is the so-called \textit{vector invariant form} of the momentum advection term. For some purposes, it can be advantageous to write this term in the so-called flux form, $i.e.$ to write it as the divergence of fluxes. For example, the first component of \eqref{Eq_PE_vector_form} (the $i$-component) is transformed as follows: 591 This is the so-called \textit{vector invariant form} of the momentum advection term. 592 For some purposes, it can be advantageous to write this term in the so-called flux form, 593 $i.e.$ to write it as the divergence of fluxes. For example, the first component of 594 \eqref{Eq_PE_vector_form} (the $i$-component) is transformed as follows: 404 595 \begin{flalign*} 405 596 &{ \begin{array}{*{20}l} … … 486 677 \end{multline} 487 678 488 The flux form has two terms, the first one is expressed as the divergence of momentum fluxes (hence the flux form name given to this formulation) and the second one is due to the curvilinear nature of the coordinate system used. The latter is called the \emph{metric} term and can be viewed as a modification of the Coriolis parameter: 679 The flux form has two terms, the first one is expressed as the divergence of momentum 680 fluxes (hence the flux form name given to this formulation) and the second one is due to 681 the curvilinear nature of the coordinate system used. The latter is called the \emph{metric} 682 term and can be viewed as a modification of the Coriolis parameter: 489 683 \begin{equation} \label{Eq_PE_cor+metric} 490 684 f \to f + \frac{1}{e_1 \; e_2} \left( v \frac{\partial e_2}{\partial i} … … 492 686 \end{equation} 493 687 494 Note that in the case of geographical coordinate, $i.e.$ when $(i,j) \to (\lambda ,\varphi )$ and $(e_1 ,e_2) \to (a \,\cos \varphi ,a)$, we recover the commonly used modification of the Coriolis parameter $f \to f+(u/a) \tan \varphi$. 688 Note that in the case of geographical coordinate, $i.e.$ when $(i,j) \to (\lambda ,\varphi )$ 689 and $(e_1 ,e_2) \to (a \,\cos \varphi ,a)$, we recover the commonly used modification of 690 the Coriolis parameter $f \to f+(u/a) \tan \varphi$. 495 691 496 692 To sum up, the equations solved by the ocean model can be written in the following tensorial formalism: … … 545 741 \end{multline} 546 742 \end{subequations} 547 where $\zeta$ is given by \eqref{Eq_PE_curl_Uh} and the surface pressure gradient formulation depends on the one of the free surface: 743 where $\zeta$ is given by \eqref{Eq_PE_curl_Uh} and the surface pressure gradient formulation 744 depends on the one of the free surface: 548 745 549 746 $*$ free surface formulation … … 566 763 \end{equation} 567 764 where ${\vect{M}}= \left( M_u,M_v \right)$ represents the collected contributions of nonlinear, 568 viscosity and hydrostatic pressure gradient terms in \eqref{Eq_PE_dyn_vect} and the overbar indicates a vertical average over the whole water column ($i.e.$ from $z=-H$, the ocean bottom, to $z=0$, the rigid-lid), and where the time derivative of $\psi$ is the solution of an elliptic equation: 765 viscosity and hydrostatic pressure gradient terms in \eqref{Eq_PE_dyn_vect} and the overbar 766 indicates a vertical average over the whole water column ($i.e.$ from $z=-H$, the ocean bottom, 767 to $z=0$, the rigid-lid), and where the time derivative of $\psi$ is the solution of an elliptic equation: 569 768 \begin{multline} \label{Eq_psi_total} 570 769 \frac{\partial }{\partial i}\left[ {\frac{e_2 }{H\,e_1}\frac{\partial}{\partial i} … … 605 804 \end{equation} 606 805 607 The expression of \textbf{D}$^{U}$, $D^{S}$ and $D^{T}$ depends on the subgrid 608 scale parameterization used. It will be defined in \S\ref{PE_zdf}. The nature and formulation of ${\rm {\bf F}}^{\rm {\bf U}}$, $F^T$ and $F^S$, the surface forcing terms, are discussed in Chapter~\ref{SBC}. 806 The expression of \textbf{D}$^{U}$, $D^{S}$ and $D^{T}$ depends on the subgrid scale 807 parameterisation used. It will be defined in \S\ref{PE_zdf}. The nature and formulation of 808 ${\rm {\bf F}}^{\rm {\bf U}}$, $F^T$ and $F^S$, the surface forcing terms, are discussed 809 in Chapter~\ref{SBC}. 609 810 610 811 \newpage … … 617 818 \begin{figure}[!b] \label{Fig_z_zstar} \begin{center} 618 819 \includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_z_zstar.pdf} 619 \caption{(a) $z$-coordinate in linear free-surface case ; (b) $z-$coordinate in non-linear free surface case (c) re-scaled height coordinate (become popular as the \textit{z*-}coordinate \citep{Adcroft_Campin_OM04} ).} 820 \caption{(a) $z$-coordinate in linear free-surface case ; (b) $z-$coordinate in non-linear 821 free surface case (c) re-scaled height coordinate (become popular as the \textit{z*-}coordinate 822 \citep{Adcroft_Campin_OM04} ).} 620 823 \end{center} \end{figure} 621 824 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 622 825 623 826 624 In that case, the free surface equation is nonlinear, and the variations of volume are fully taken into account. These coordinates systems is presented in a report 625 \citep{Levier2007} available on the \NEMO web site. 827 In that case, the free surface equation is nonlinear, and the variations of volume are fully 828 taken into account. These coordinates systems is presented in a report \citep{Levier2007} 829 available on the \NEMO web site. 626 830 627 831 \gmcomment{ 628 The \textit{z*} coordinate approach is an unapproximated, non-linear free surface implementation which allows one to deal with large amplitude free-surface 832 The \textit{z*} coordinate approach is an unapproximated, non-linear free surface implementation 833 which allows one to deal with large amplitude free-surface 629 834 variations relative to the vertical resolution \citep{Adcroft_Campin_OM04}. In 630 835 the \textit{z*} formulation, the variation of the column thickness due to sea-surface … … 642 847 643 848 Since the vertical displacement of the free surface is incorporated in the vertical 644 coordinate \textit{z*}, the upper and lower boundaries are at fixed \textit{z*} position, $\textit{z*} = 0$ and $\textit{z*} = ?H$ respectively. Also the divergence of the flow field is no longer zero as shown by the continuity equation: 849 coordinate \textit{z*}, the upper and lower boundaries are at fixed \textit{z*} position, 850 $\textit{z*} = 0$ and $\textit{z*} = ?H$ respectively. Also the divergence of the flow field 851 is no longer zero as shown by the continuity equation: 645 852 646 853 $\frac{\partial r}{\partial t} = \nabla_{\textit{z*}} \cdot \left( r \; \rm{\bf U}_h \right) … … 662 869 \subsection{Introduction} 663 870 664 Several important aspects of the ocean circulation are influenced by bottom topography. Of course, the most important is that bottom topography determines deep ocean sub-basins, barriers, sills and channels that strongly constrain the path of water masses, but more subtle effects exist. For example, the topographic $\beta$-effect is usually larger than the planetary one along continental slopes. Topographic Rossby waves can be excited and can interact with the mean current. In the $z-$coordinate system presented in the previous section (\S\ref{PE_zco}), $z-$surfaces are geopotential surfaces. The bottom topography is discretised by steps. This often leads to a misrepresentation of a gradually sloping bottom and to large localized depth gradients associated with large localized vertical velocities. The response to such a velocity field often leads to numerical dispersion effects. One solution to strongly reduce this error is to use a partial step representation of bottom topography instead of a full step one \cite{Pacanowski_Gnanadesikan_MWR98}. Another solution is to introduce a terrain-following coordinate system (hereafter $s-$coordinate) 665 666 The $s$-coordinate avoids the discretisation error in the depth field since the layers of computation are gradually adjusted with depth to the ocean bottom. Relatively small topographic features as well as gentle, large-scale slopes of the sea floor in the deep ocean, which would be ignored in typical $z$-model applications with the largest grid spacing at greatest depths, can easily be represented (with relatively low vertical resolution). A terrain-following model (hereafter $s-$model) also facilitates the modelling of the boundary layer flows over a large depth range, which in the framework of the $z$-model would require high vertical resolution over the whole depth range. Moreover, with a $s$-coordinate it is possible, at least in principle, to have the bottom and the sea surface as the only boundaries of the domain (nomore lateral boundary condition to specify). Nevertheless, a $s$-coordinate also has its drawbacks. Perfectly adapted to a homogeneous ocean, it has strong limitations as soon as stratification is introduced. The main two problems come from the truncation error in the horizontal pressure gradient and a possibly increased diapycnal diffusion. The horizontal pressure force in $s$-coordinate consists of two terms (see Appendix~\ref{Apdx_A}), 871 Several important aspects of the ocean circulation are influenced by bottom topography. 872 Of course, the most important is that bottom topography determines deep ocean sub-basins, 873 barriers, sills and channels that strongly constrain the path of water masses, but more subtle 874 effects exist. For example, the topographic $\beta$-effect is usually larger than the planetary 875 one along continental slopes. Topographic Rossby waves can be excited and can interact 876 with the mean current. In the $z-$coordinate system presented in the previous section 877 (\S\ref{PE_zco}), $z-$surfaces are geopotential surfaces. The bottom topography is 878 discretised by steps. This often leads to a misrepresentation of a gradually sloping bottom 879 and to large localized depth gradients associated with large localized vertical velocities. 880 The response to such a velocity field often leads to numerical dispersion effects. 881 One solution to strongly reduce this error is to use a partial step representation of bottom 882 topography instead of a full step one \cite{Pacanowski_Gnanadesikan_MWR98}. 883 Another solution is to introduce a terrain-following coordinate system (hereafter $s-$coordinate) 884 885 The $s$-coordinate avoids the discretisation error in the depth field since the layers of 886 computation are gradually adjusted with depth to the ocean bottom. Relatively small 887 topographic features as well as gentle, large-scale slopes of the sea floor in the deep 888 ocean, which would be ignored in typical $z$-model applications with the largest grid 889 spacing at greatest depths, can easily be represented (with relatively low vertical resolution). 890 A terrain-following model (hereafter $s-$model) also facilitates the modelling of the 891 boundary layer flows over a large depth range, which in the framework of the $z$-model 892 would require high vertical resolution over the whole depth range. Moreover, with a 893 $s$-coordinate it is possible, at least in principle, to have the bottom and the sea surface 894 as the only boundaries of the domain (nomore lateral boundary condition to specify). 895 Nevertheless, a $s$-coordinate also has its drawbacks. Perfectly adapted to a 896 homogeneous ocean, it has strong limitations as soon as stratification is introduced. 897 The main two problems come from the truncation error in the horizontal pressure 898 gradient and a possibly increased diapycnal diffusion. The horizontal pressure force 899 in $s$-coordinate consists of two terms (see Appendix~\ref{Apdx_A}), 667 900 668 901 \begin{equation} \label{Eq_PE_p_sco} … … 671 904 \end{equation} 672 905 673 The second term in \eqref{Eq_PE_p_sco} depends on the tilt of the coordinate surface and introduces a truncation error that is not present in a $z$-model. In the special case of a $\sigma-$coordinate (i.e. a depth-normalised coordinate system $\sigma = z/H$), \citet{Haney1991} and \citet{Beckmann1993} have given estimates of the magnitude of this truncation error. It depends on topographic slope, stratification, horizontal and vertical resolution, the equation of state, and the finite difference scheme. This error limits the possible topographic slopes that a model can handle at a given horizontal and vertical resolution. This is a severe restriction for large-scale applications using realistic bottom topography. The large-scale slopes require high horizontal resolution, and the computational cost becomes prohibitive. This problem can be at least partially overcome by mixing $s$-coordinate and step-like representation of bottom topography \citep{Gerdes1993a,Gerdes1993b,Madec1996}. However, the definition of the model domain vertical coordinate becomes then a non-trivial thing for a realistic bottom topography: a envelope topography is defined in $s$-coordinate on which a full or partial step bottom topography is then applied in order to adjust the model depth to the observed one (see \S\ref{DOM_zgr}. 674 675 For numerical reasons a minimum of diffusion is required along the coordinate surfaces of any finite difference model. It causes spurious diapycnal mixing when coordinate surfaces do not coincide with isoneutral surfaces. This is the case for a $z$-model as well as for a $s$-model. 676 However, density varies more strongly on $s-$surfaces than on horizontal surfaces in regions of large topographic slopes, implying larger diapycnal diffusion in a $s$-model than in a $z$-model. Whereas such a diapycnal diffusion in a $z$-model tends to weaken horizontal density (pressure) gradients and thus the horizontal circulation, it usually reinforces these gradients in a $s$-model, creating spurious circulation. For example, imagine an isolated bump of topography in an ocean at rest with a horizontally uniform stratification. Spurious diffusion along $s$-surfaces will induce a bump of isoneutral surfaces over the topography, and thus will generate there a baroclinic eddy. In contrast, the ocean will stay at rest in a $z$-model. As for the truncation error, the problem can be reduced by introducing the terrain-following coordinate below the strongly stratified portion of the water column (i.e. the main thermocline) \citep{Madec1996}. An alternate solution consists of rotating the lateral diffusive tensor to geopotential or to isoneutral surfaces (see \S\ref{PE_ldf}. Unfortunately, the slope of isoneutral surfaces relative to the $s$-surfaces can very large, strongly exceeding the stability limit of such a operator when it is discretized (see Chapter~\ref{LDF}). 677 678 The $s-$coordinates introduced here \citep{Lott1990,Madec1996} differ mainly in two aspects from similar models: it allows a representation of bottom topography with mixed full or partial step-like/terrain following topography ; It also offers a completely general transformation, $s=s(i,j,z)$ for the vertical coordinate. 906 The second term in \eqref{Eq_PE_p_sco} depends on the tilt of the coordinate surface 907 and introduces a truncation error that is not present in a $z$-model. In the special case 908 of a $\sigma-$coordinate (i.e. a depth-normalised coordinate system $\sigma = z/H$), 909 \citet{Haney1991} and \citet{Beckmann1993} have given estimates of the magnitude 910 of this truncation error. It depends on topographic slope, stratification, horizontal and 911 vertical resolution, the equation of state, and the finite difference scheme. This error 912 limits the possible topographic slopes that a model can handle at a given horizontal 913 and vertical resolution. This is a severe restriction for large-scale applications using 914 realistic bottom topography. The large-scale slopes require high horizontal resolution, 915 and the computational cost becomes prohibitive. This problem can be at least partially 916 overcome by mixing $s$-coordinate and step-like representation of bottom topography \citep{Gerdes1993a,Gerdes1993b,Madec1996}. However, the definition of the model 917 domain vertical coordinate becomes then a non-trivial thing for a realistic bottom 918 topography: a envelope topography is defined in $s$-coordinate on which a full or 919 partial step bottom topography is then applied in order to adjust the model depth to 920 the observed one (see \S\ref{DOM_zgr}. 921 922 For numerical reasons a minimum of diffusion is required along the coordinate surfaces 923 of any finite difference model. It causes spurious diapycnal mixing when coordinate 924 surfaces do not coincide with isoneutral surfaces. This is the case for a $z$-model as 925 well as for a $s$-model. However, density varies more strongly on $s-$surfaces than 926 on horizontal surfaces in regions of large topographic slopes, implying larger diapycnal 927 diffusion in a $s$-model than in a $z$-model. Whereas such a diapycnal diffusion in a 928 $z$-model tends to weaken horizontal density (pressure) gradients and thus the horizontal 929 circulation, it usually reinforces these gradients in a $s$-model, creating spurious circulation. 930 For example, imagine an isolated bump of topography in an ocean at rest with a horizontally 931 uniform stratification. Spurious diffusion along $s$-surfaces will induce a bump of isoneutral 932 surfaces over the topography, and thus will generate there a baroclinic eddy. In contrast, 933 the ocean will stay at rest in a $z$-model. As for the truncation error, the problem can be reduced by introducing the terrain-following coordinate below the strongly stratified portion of the water column 934 ($i.e.$ the main thermocline) \citep{Madec1996}. An alternate solution consists of rotating 935 the lateral diffusive tensor to geopotential or to isoneutral surfaces (see \S\ref{PE_ldf}. 936 Unfortunately, the slope of isoneutral surfaces relative to the $s$-surfaces can very large, 937 strongly exceeding the stability limit of such a operator when it is discretized (see Chapter~\ref{LDF}). 938 939 The $s-$coordinates introduced here \citep{Lott1990,Madec1996} differ mainly in two 940 aspects from similar models: it allows a representation of bottom topography with mixed 941 full or partial step-like/terrain following topography ; It also offers a completely general 942 transformation, $s=s(i,j,z)$ for the vertical coordinate. 679 943 680 944 % ------------------------------------------------------------------------------------------------------------- … … 683 947 \subsection{The \textit{s-}coordinate Formulation} 684 948 685 Starting from the set of equations established in \S\ref{PE_zco} for the special case $k=z$ and thus $e_3=1$, we introduce an arbitrary vertical coordinate $s=s(i,j,k,t)$, which includes $z$-, \textit{z*}- and $\sigma-$coordinates as special cases ($s=z$, $s=\textit{z*}$, and $s=\sigma=z/H$ or $=z/\left(H+\eta \right)$, resp.). A formal derivation of the transformed equations is given in Appendix~\ref{Apdx_A}. Let us define the vertical scale factor by $e_3=\partial_s z$ ($e_3$ is now a function of $(i,j,k,t)$ ), and the slopes in the (\textbf{i},\textbf{j}) directions between $s-$ and $z-$surfaces by : 949 Starting from the set of equations established in \S\ref{PE_zco} for the special case $k=z$ 950 and thus $e_3=1$, we introduce an arbitrary vertical coordinate $s=s(i,j,k,t)$, which includes 951 $z$-, \textit{z*}- and $\sigma-$coordinates as special cases ($s=z$, $s=\textit{z*}$, and 952 $s=\sigma=z/H$ or $=z/\left(H+\eta \right)$, resp.). A formal derivation of the transformed 953 equations is given in Appendix~\ref{Apdx_A}. Let us define the vertical scale factor by 954 $e_3=\partial_s z$ ($e_3$ is now a function of $(i,j,k,t)$ ), and the slopes in the 955 (\textbf{i},\textbf{j}) directions between $s-$ and $z-$surfaces by : 686 956 \begin{equation} \label{Eq_PE_sco_slope} 687 957 \sigma _1 =\frac{1}{e_1 }\;\left. {\frac{\partial z}{\partial i}} \right|_s … … 689 959 \sigma _2 =\frac{1}{e_2 }\;\left. {\frac{\partial z}{\partial j}} \right|_s 690 960 \end{equation} 691 We also introduce $\omega $, a dia-surface velocity component, defined as the velocity relative to the moving $s$-surfaces and normal to them: 961 We also introduce $\omega $, a dia-surface velocity component, defined as the velocity 962 relative to the moving $s$-surfaces and normal to them: 692 963 \begin{equation} \label{Eq_PE_sco_w} 693 964 \omega = w - e_3 \, \frac{\partial s}{\partial t} - \sigma _1 \,u - \sigma _2 \,v \\ … … 716 987 + D_v^{\vect{U}} + F_v^{\vect{U}} \quad 717 988 \end{multline} 718 where the relative vorticity, \textit{$\zeta $}, the surface pressure gradient, and the hydrostatic pressure have the same expressions as in $z$-coordinates although they do not represent exactly the same quantities. $\omega$ is provided by the continuity equation (see Appendix~\ref{Apdx_A}): 989 where the relative vorticity, \textit{$\zeta $}, the surface pressure gradient, and the hydrostatic 990 pressure have the same expressions as in $z$-coordinates although they do not represent 991 exactly the same quantities. $\omega$ is provided by the continuity equation 992 (see Appendix~\ref{Apdx_A}): 719 993 720 994 \begin{equation} \label{Eq_PE_sco_continuity} … … 742 1016 \end{multline} 743 1017 744 The equation of state has the same expression as in $z$-coordinate, and similar expressions are used for mixing and forcing terms. 1018 The equation of state has the same expression as in $z$-coordinate, and similar expressions 1019 are used for mixing and forcing terms. 745 1020 746 1021 \gmcomment{ … … 768 1043 It is usually called the subgrid scale physics. It must be emphasized that 769 1044 this is the weakest part of the primitive equations, but also one of the 770 most important for long-term simulations as small scale processes \textit{in fine} balance771 the surface input of kinetic energy and heat.1045 most important for long-term simulations as small scale processes \textit{in fine} 1046 balance the surface input of kinetic energy and heat. 772 1047 773 1048 The control exerted by gravity on the flow induces a strong anisotropy 774 between the lateral and vertical motions. Therefore subgrid-scale physics \textbf{D}$^{\vect{U}}$, $D^{S}$ and $D^{T}$ in \eqref{Eq_PE_dyn}, \eqref{Eq_PE_tra_T} and \eqref{Eq_PE_tra_S} are divided into a lateral part \textbf{D}$^{l \vect{U}}$, $D^{lS}$ and $D^{lT}$ and a vertical part \textbf{D}$^{vU}$, $D^{vS}$ and $D^{vT}$. The formulation of these terms and their underlying physics are briefly discussed in the next two subsections. 1049 between the lateral and vertical motions. Therefore subgrid-scale physics 1050 \textbf{D}$^{\vect{U}}$, $D^{S}$ and $D^{T}$ in \eqref{Eq_PE_dyn}, 1051 \eqref{Eq_PE_tra_T} and \eqref{Eq_PE_tra_S} are divided into a lateral part 1052 \textbf{D}$^{l \vect{U}}$, $D^{lS}$ and $D^{lT}$ and a vertical part 1053 \textbf{D}$^{vU}$, $D^{vS}$ and $D^{vT}$. The formulation of these terms 1054 and their underlying physics are briefly discussed in the next two subsections. 775 1055 776 1056 % ------------------------------------------------------------------------------------------------------------- … … 785 1065 partially, but always parameterized. The vertical turbulent fluxes are 786 1066 assumed to depend linearly on the gradients of large-scale quantities (for 787 example, the turbulent heat flux is given by $\overline{T'w'}=-A^{vT} \partial_z \overline T$, where $A^{vT}$ is an eddy coefficient). This formulation is 1067 example, the turbulent heat flux is given by $\overline{T'w'}=-A^{vT} \partial_z \overline T$, 1068 where $A^{vT}$ is an eddy coefficient). This formulation is 788 1069 analogous to that of molecular diffusion and dissipation. This is quite 789 1070 clearly a necessary compromise: considering only the molecular viscosity … … 794 1075 \begin{equation} \label{Eq_PE_zdf} 795 1076 \begin{split} 796 {\vect{D}}^{v \vect{U}} 797 &=\frac{\partial }{\partial z}\left( {A^{vm}\frac{\partial {\vect{U}}_h }{\partial z}} \right) \ , \\ D^{vT}&= \frac{\partial }{\partial z}\left( {A^{vT}\frac{\partial T}{\partial z}} \right) \ ,1077 {\vect{D}}^{v \vect{U}} &=\frac{\partial }{\partial z}\left( {A^{vm}\frac{\partial {\vect{U}}_h }{\partial z}} \right) \ , \\ 1078 D^{vT} &= \frac{\partial }{\partial z}\left( {A^{vT}\frac{\partial T}{\partial z}} \right) \ , 798 1079 \quad 799 1080 D^{vS}=\frac{\partial }{\partial z}\left( {A^{vT}\frac{\partial S}{\partial z}} \right) 800 1081 \end{split} 801 1082 \end{equation} 802 where $A^{vm}$ and $A^{vT}$ are the vertical eddy viscosity and diffusivity coefficients, respectively. At the sea surface and at the bottom, turbulent fluxes of momentum, heat and salt must be specified (see Chap.~\ref{SBC} and \ref{ZDF} and \S\ref{TRA_bbl}). All the vertical physics is embedded in the specification of the eddy coefficients. They can be assumed to be either constant, or function of the local fluid properties ($e.g.$ Richardson number, Brunt-Vais\"{a}l\"{a} frequency...), or computed from a turbulent closure model. The choices available in \NEMO are discussed in \S\ref{ZDF}). 1083 where $A^{vm}$ and $A^{vT}$ are the vertical eddy viscosity and diffusivity coefficients, 1084 respectively. At the sea surface and at the bottom, turbulent fluxes of momentum, heat 1085 and salt must be specified (see Chap.~\ref{SBC} and \ref{ZDF} and \S\ref{TRA_bbl}). 1086 All the vertical physics is embedded in the specification of the eddy coefficients. 1087 They can be assumed to be either constant, or function of the local fluid properties 1088 ($e.g.$ Richardson number, Brunt-Vais\"{a}l\"{a} frequency...), or computed from a 1089 turbulent closure model. The choices available in \NEMO are discussed in \S\ref{ZDF}). 803 1090 804 1091 % ------------------------------------------------------------------------------------------------------------- … … 821 1108 lateral diffusive and dissipative operators are of second order. 822 1109 Observations show that lateral mixing induced by mesoscale turbulence tends 823 to be along isopycnal surfaces (or more precisely neutral surfaces \cite{McDougall1987}) rather than across them. 1110 to be along isopycnal surfaces (or more precisely neutral surfaces \cite{McDougall1987}) 1111 rather than across them. 824 1112 As the slope of neutral surfaces is small in the ocean, a common 825 1113 approximation is to assume that the `lateral' direction is the horizontal, … … 834 1122 energy whereas potential energy is a main source of turbulence (through 835 1123 baroclinic instabilities). \citet{Gent1990} have proposed a 836 parameteri zation of mesoscale eddy-induced turbulence which associates an1124 parameterisation of mesoscale eddy-induced turbulence which associates an 837 1125 eddy-induced velocity to the isoneutral diffusion. Its mean effect is to 838 1126 reduce the mean potential energy of the ocean. This leads to a formulation … … 850 1138 the model while not interfering with the solved mesoscale activity. Another approach 851 1139 is becoming more and more popular: instead of specifying explicitly a sub-grid scale 852 term in the momentum and tracer time evolution equations, one uses a advective scheme which is diffusive enough to maintain the model stability. It must be emphasised 1140 term in the momentum and tracer time evolution equations, one uses a advective 1141 scheme which is diffusive enough to maintain the model stability. It must be emphasised 853 1142 that then, all the sub-grid scale physics is in this case include in the formulation of the 854 1143 advection scheme. 855 1144 856 All these parameteri zations of subgrid scale physics present advantages and1145 All these parameterisations of subgrid scale physics present advantages and 857 1146 drawbacks. There are not all available in \NEMO. In the $z$-coordinate 858 1147 formulation, five options are offered for active tracers (temperature and 859 1148 salinity): second order geopotential operator, second order isoneutral 860 operator, \citet{Gent1990} parameterization, fourth order 861 geopotential operator, and various slightly diffusive advection schemes. The same options are available for momentum, except 862 \citet{Gent1990} parameterization which only involves tracers. In the 1149 operator, \citet{Gent1990} parameterisation, fourth order 1150 geopotential operator, and various slightly diffusive advection schemes. 1151 The same options are available for momentum, except 1152 \citet{Gent1990} parameterisation which only involves tracers. In the 863 1153 $s$-coordinate formulation, additional options are offered for tracers: second 864 1154 order operator acting along $s-$surfaces, and for momentum: fourth order … … 881 1171 rotation between geopotential and $s$-surfaces, while it is only an approximation 882 1172 for the rotation between isoneutral and $z$- or $s$-surfaces. Indeed, in the latter 883 case, two assumptions are made to simplify \eqref{Eq_PE_iso_tensor} \citep{Cox1987}. First, the horizontal contribution of the dianeutral mixing is neglected since the ratio between iso and dia-neutral diffusive coefficients is known to be several orders of magnitude smaller than unity. Second, the two isoneutral directions of diffusion are assumed to be independent since the slopes are generally less than $10^{-2}$ in the ocean (see Appendix~\ref{Apdx_B}). 1173 case, two assumptions are made to simplify \eqref{Eq_PE_iso_tensor} \citep{Cox1987}. 1174 First, the horizontal contribution of the dianeutral mixing is neglected since the ratio 1175 between iso and dia-neutral diffusive coefficients is known to be several orders of 1176 magnitude smaller than unity. Second, the two isoneutral directions of diffusion are 1177 assumed to be independent since the slopes are generally less than $10^{-2}$ in the 1178 ocean (see Appendix~\ref{Apdx_B}). 884 1179 885 1180 For \textit{geopotential} diffusion, $r_1$ and $r_2 $ are the slopes between the 886 geopotential and computational surfaces: in $z$-coordinates they are zero ($r_1 = r_2 = 0$) while in $s$-coordinate (including $\textit{z*}$ case) they are equal to $\sigma _1$ and $\sigma _2$, respectively (see \eqref{Eq_PE_sco_slope} ). 887 888 For \textit{isoneutral} diffusion $r_1$ and $r_2$ are the slopes between the isoneutral and computational surfaces. Therefore, they have a same expression in $z$- and $s$-coordinates: 1181 geopotential and computational surfaces: in $z$-coordinates they are zero 1182 ($r_1 = r_2 = 0$) while in $s$-coordinate (including $\textit{z*}$ case) they are 1183 equal to $\sigma _1$ and $\sigma _2$, respectively (see \eqref{Eq_PE_sco_slope} ). 1184 1185 For \textit{isoneutral} diffusion $r_1$ and $r_2$ are the slopes between the isoneutral 1186 and computational surfaces. Therefore, they have a same expression in $z$- and $s$-coordinates: 889 1187 \begin{equation} \label{Eq_PE_iso_slopes} 890 1188 r_1 =\frac{e_3 }{e_1 } \left( {\frac{\partial \rho }{\partial i}} \right) … … 894 1192 \end{equation} 895 1193 896 When the \textit{Eddy Induced Velocity} parametrisation (eiv) \citep{Gent1990} is used, an additional tracer advection is introduced in combination with the isoneutral diffusion of tracers: 1194 When the \textit{Eddy Induced Velocity} parametrisation (eiv) \citep{Gent1990} is used, 1195 an additional tracer advection is introduced in combination with the isoneutral diffusion of tracers: 897 1196 \begin{equation} \label{Eq_PE_iso+eiv} 898 1197 D^{lT}=\nabla \cdot \left( {A^{lT}\;\Re \;\nabla T} \right) 899 1198 +\nabla \cdot \left( {{\vect{U}}^\ast \,T} \right) 900 1199 \end{equation} 901 where ${\vect{U}}^\ast =\left( {u^\ast ,v^\ast ,w^\ast } \right)$ is a non-divergent, eddy-induced transport velocity. This velocity field is defined by: 1200 where ${\vect{U}}^\ast =\left( {u^\ast ,v^\ast ,w^\ast } \right)$ is a non-divergent, 1201 eddy-induced transport velocity. This velocity field is defined by: 902 1202 \begin{equation} \label{Eq_PE_eiv} 903 1203 \begin{split} … … 909 1209 \end{split} 910 1210 \end{equation} 911 where $A^{eiv}$ is the eddy induced velocity coefficient (or equivalently the isoneutral thickness diffusivity coefficient), and $\tilde{r}_1$ and $\tilde{r}_2$ are the slopes between isoneutral and \emph{geopotential} surfaces and thus depends on the coordinate considered: 1211 where $A^{eiv}$ is the eddy induced velocity coefficient (or equivalently the isoneutral 1212 thickness diffusivity coefficient), and $\tilde{r}_1$ and $\tilde{r}_2$ are the slopes 1213 between isoneutral and \emph{geopotential} surfaces and thus depends on the coordinate 1214 considered: 912 1215 \begin{align} \label{Eq_PE_slopes_eiv} 913 1216 \tilde{r}_n = \begin{cases} … … 918 1221 \end{align} 919 1222 920 The normal component of the eddy induced velocity is zero at all the boundaries. this can be achieved in a model by tapering either the eddy coefficient or the slopes to zero in the vicinity of the boundaries. The latter strategy is used in \NEMO (cf. Chap.~\ref{LDF}). 1223 The normal component of the eddy induced velocity is zero at all the boundaries. 1224 This can be achieved in a model by tapering either the eddy coefficient or the slopes 1225 to zero in the vicinity of the boundaries. The latter strategy is used in \NEMO (cf. Chap.~\ref{LDF}). 921 1226 922 1227 \subsubsection{lateral fourth order tracer diffusive operator} … … 928 1233 \end{equation} 929 1234 930 It is the second order operator given by \eqref{Eq_PE_iso_tensor} applied twice with the eddy diffusion coefficient correctly placed. 1235 It is the second order operator given by \eqref{Eq_PE_iso_tensor} applied twice with 1236 the eddy diffusion coefficient correctly placed. 931 1237 932 1238 … … 952 1258 horizontal divergence fields (see Appendix~\ref{Apdx_C}). Unfortunately, it is not 953 1259 available for geopotential diffusion in $s-$coordinates and for isoneutral 954 diffusion in both $z$- and $s$-coordinates ($i.e.$ when a rotation is required). In these two cases, the $u$ and $v-$fields are considered as independent scalar fields, so that the diffusive operator is given by: 1260 diffusion in both $z$- and $s$-coordinates ($i.e.$ when a rotation is required). 1261 In these two cases, the $u$ and $v-$fields are considered as independent scalar 1262 fields, so that the diffusive operator is given by: 955 1263 \begin{equation} \label{Eq_PE_lapU_iso} 956 1264 \begin{split} … … 959 1267 \end{split} 960 1268 \end{equation} 961 where $\Re$ is given by \eqref{Eq_PE_iso_tensor}. It is the same expression as those used for diffusive operator on tracers. It must be emphasised that such a formulation is only exact in a Cartesian coordinate system, $i.e.$ on a $f-$ or $\beta-$plane, not on the sphere. It is also a very good approximation in vicinity of the Equator in a geographical coordinate system \citep{Lengaigne_al_JGR03}. 1269 where $\Re$ is given by \eqref{Eq_PE_iso_tensor}. It is the same expression as 1270 those used for diffusive operator on tracers. It must be emphasised that such a 1271 formulation is only exact in a Cartesian coordinate system, $i.e.$ on a $f-$ or 1272 $\beta-$plane, not on the sphere. It is also a very good approximation in vicinity 1273 of the Equator in a geographical coordinate system \citep{Lengaigne_al_JGR03}. 962 1274 963 1275 \subsubsection{lateral fourth order momentum diffusive operator} 964 1276 965 As for tracers, the fourth order momentum diffusive operator along $z$ or $s$-surfaces is a re-entering second order operator \eqref{Eq_PE_lapU} or \eqref{Eq_PE_lapU} with the eddy viscosity coefficient correctly placed: 1277 As for tracers, the fourth order momentum diffusive operator along $z$ or $s$-surfaces 1278 is a re-entering second order operator \eqref{Eq_PE_lapU} or \eqref{Eq_PE_lapU} 1279 with the eddy viscosity coefficient correctly placed: 966 1280 967 1281 geopotential diffusion in $z$-coordinate: -
trunk/DOC/TexFiles/Chapters/Chap_SBC.tex
r996 r1224 404 404 % Handling of ice-covered area 405 405 % ------------------------------------------------------------------------------------------------------------- 406 \subsection{Handling of ice-covered area }406 \subsection{Handling of ice-covered area (\textit{sbcice\_...})} 407 407 \label{SBC_ice-cover} 408 408 … … 411 411 depending on the value of the \np{nn{\_}ice} namelist parameter. 412 412 \begin{description} 413 \item[nn{\_}ice = 0] there will never be sea-ice in the computational domain. This is a typical namelist value used for tropical ocean domain. The surface fluxes are simply specified for an ice-free ocean. No specific things are done for sea-ice. 414 \item[nn{\_}ice = 1] sea-ice can exist in the computational domain, but no sea-ice model is used. An observed ice covered area is read in a file. Below this area, the SST is restored to the freezing point and the heat fluxes are set to $-4~W/m^2$ ($-2~W/m^2$) in the northern (southern) hemisphere. The associated modification of the freshwater fluxes are done in such a way that the change in buoyancy fluxes remains zero. This prevents deep convection to occur when trying to reach the freezing point (and so ice covered area condition) while the SSS is too large. This manner of managing sea-ice area, just by using si IF case, is usually referred as the \textit{ice-if} model. It can be found in the \mdl{sbcice{\_}if} module. 415 \item[nn{\_}ice = 2 or more] A full sea ice model is used. This model computes the ice-ocean fluxes, that are combined with the air-sea fluxes using the ice fraction of each model cell to provide the surface ocean fluxes. Note that the activation of a sea-ice model is is done by defining a CPP key (\key{lim2} or \key{lim3}). The activation automatically ovewrite the read value of nn{\_}ice to its appropriate value ($i.e.$ $2$ for LIM-2 and $3$ for LIM-3). 413 \item[nn{\_}ice = 0] there will never be sea-ice in the computational domain. 414 This is a typical namelist value used for tropical ocean domain. The surface fluxes 415 are simply specified for an ice-free ocean. No specific things is done for sea-ice. 416 \item[nn{\_}ice = 1] sea-ice can exist in the computational domain, but no sea-ice model 417 is used. An observed ice covered area is read in a file. Below this area, the SST is 418 restored to the freezing point and the heat fluxes are set to $-4~W/m^2$ ($-2~W/m^2$) 419 in the northern (southern) hemisphere. The associated modification of the freshwater 420 fluxes are done in such a way that the change in buoyancy fluxes remains zero. 421 This prevents deep convection to occur when trying to reach the freezing point 422 (and so ice covered area condition) while the SSS is too large. This manner of 423 managing sea-ice area, just by using si IF case, is usually referred as the \textit{ice-if} 424 model. It can be found in the \mdl{sbcice{\_}if} module. 425 \item[nn{\_}ice = 2 or more] A full sea ice model is used. This model computes the 426 ice-ocean fluxes, that are combined with the air-sea fluxes using the ice fraction of 427 each model cell to provide the surface ocean fluxes. Note that the activation of a 428 sea-ice model is is done by defining a CPP key (\key{lim2} or \key{lim3}). 429 The activation automatically ovewrite the read value of nn{\_}ice to its appropriate 430 value ($i.e.$ $2$ for LIM-2 and $3$ for LIM-3). 416 431 \end{description} 417 432 … … 428 443 %------------------------------------------------------------------------------------------------------------- 429 444 445 The river runoffs 446 430 447 It is convenient to introduce the river runoff in the model as a surface 431 448 fresh water flux. 432 449 450 451 %Griffies: River runoff generally enters the ocean at a nonzero depth rather than through the surface. Many global models, however, have traditionally inserted river runoff to the top model cell. Such can become problematic numerically and physically when the top grid cells are reÞned to levels common in coastal modelling. Hence, more applications are now considering the input of runoff throughout a nonzero depth. Likewise, sea ice can melt at depth, thus necessitating a mass transport to occur within the ocean between the liquid and solid water masses. 452 433 453 \colorbox{yellow}{Nevertheless, Pb of vertical resolution and increase of Kz in vicinity of } 434 454 435 455 \colorbox{yellow}{river mouths{\ldots}} 436 456 437 Control of the mean sea level 457 %IF( ln_rnf ) THEN ! increase diffusivity at rivers mouths 458 % DO jk = 2, nkrnf ; avt(:,:,jk) = avt(:,:,jk) + rn_avt_rnf * rnfmsk(:,:) ; END DO 459 %ENDIF 460 461 438 462 439 463 % ------------------------------------------------------------------------------------------------------------- … … 444 468 \label{SBC_fwb} 445 469 446 To be written later... 447 448 \gmcomment{The descrition of the technique used to control the freshwater budget has to be added here} 449 450 451 452 470 For global ocean simulation it can be useful to introduce a control of the mean sea 471 level in order to prevent unrealistic drift of the sea surface height due to inaccuracy 472 in the freshwater fluxes. In \NEMO, two way of controlling the the freshwater budget. 473 \begin{description} 474 \item[\np{nn\_fwb}=0] no control at all. The mean sea level is free to drift, and will 475 certainly do so. 476 \item[\np{nn\_fwb}=1] global mean EMP set to zero at each model time step. 477 %Note that with a sea-ice model, this technique only control the mean sea level with linear free surface (\key{vvl} not defined) and no mass flux between ocean and ice (as it is implemented in the current ice-ocean coupling). 478 \item[\np{nn\_fwb}=2] freshwater budget is adjusted from the previous year annual 479 mean budget which is read in the \textit{EMPave\_old.dat} file. As the model uses the 480 Boussinesq approximation, the annual mean fresh water budget is simply evaluated 481 from the change in the mean sea level at January the first and saved in the 482 \textit{EMPav.dat} file. 483 \end{description} 484 485 % Griffies doc: 486 % When running ocean-ice simulations, we are not explicitly representing land processes, such as rivers, catchment areas, snow accumulation, etc. However, to reduce model drift, it is important to balance the hydrological cycle in ocean-ice models. We thus need to prescribe some form of global normalization to the precipitation minus evaporation plus river runoff. The result of the normalization should be a global integrated zero net water input to the ocean-ice system over a chosen time scale. 487 %How often the normalization is done is a matter of choice. In mom4p1, we choose to do so at each model time step, so that there is always a zero net input of water to the ocean-ice system. Others choose to normalize over an annual cycle, in which case the net imbalance over an annual cycle is used to alter the subsequent yearÕs water budget in an attempt to damp the annual water imbalance. Note that the annual budget approach may be inappropriate with interannually varying precipitation forcing. 488 %When running ocean-ice coupled models, it is incorrect to include the water transport between the ocean and ice models when aiming to balance the hydrological cycle. The reason is that it is the sum of the water in the ocean plus ice that should be balanced when running ocean-ice models, not the water in any one sub-component. As an extreme example to illustrate the issue, consider an ocean-ice model with zero initial sea ice. As the ocean-ice model spins up, there should be a net accumulation of water in the growing sea ice, and thus a net loss of water from the ocean. The total water contained in the ocean plus ice system is constant, but there is an exchange of water between the subcomponents. This exchange should not be part of the normalization used to balance the hydrological cycle in ocean-ice models. 489 490 491 -
trunk/DOC/TexFiles/Chapters/Chap_TRA.tex
r998 r1224 14 14 %STEVEN : is the use of the word "positive" to describe a scheme enough, or should it be "positive definite"? I added a comment to this effect on some instances of this below 15 15 16 \newpage 17 $\ $\newline % force a new ligne 16 %\newpage 17 \vspace{2.cm} 18 %$\ $\newline % force a new ligne 18 19 19 20 Using the representation described in Chap.~\ref{DOM}, several semi-discrete … … 37 38 Bottom Boundary Condition), the contribution from the bottom boundary Layer 38 39 (BBL) parametrisation, and an internal damping (DMP) term. The terms QSR, 39 BBC, BBL and DMP are optional. The external forcings and parameteri zations40 BBC, BBL and DMP are optional. The external forcings and parameterisations 40 41 require complex inputs and complex calculations (e.g. bulk formulae, estimation 41 42 of mixing coefficients) that are carried out in the SBC, LDF and ZDF modules and … … 54 55 55 56 The different options available to the user are managed by namelist logical or 56 CPP keys. For each equation term ttt, the namelist logicals are \textit{ln\_trattt\_xxx},57 CPP keys. For each equation term \textit{ttt}, the namelist logicals are \textit{ln\_trattt\_xxx}, 57 58 where \textit{xxx} is a 3 or 4 letter acronym accounting for each optional scheme. 58 59 The CPP key (when it exists) is \textbf{key\_trattt}. The corresponding code can be … … 62 63 equation for output (\key{trdtra} is defined), as described in Chap.~\ref{MISC}. 63 64 65 $\ $\newline % force a new ligne 64 66 % ================================================================ 65 67 % Tracer Advection … … 75 77 fluxes. Its discrete expression is given by : 76 78 \begin{equation} \label{Eq_tra_adv} 77 ADV_\tau =-\frac{1}{e_{1T} {\kern 1pt}e_{2T} {\kern 1pt}e_{3T} }\left( 78 {\;\delta _i \left[ {e_{2u} {\kern 1pt}e_{3u} {\kern 1pt}\;u\;\tau _u } 79 \right]+\delta _j \left[ {e_{1v} {\kern 1pt}e_{3v} {\kern 1pt}v\;\tau _v } 80 \right]\;} \right)-\frac{1}{\mathop e\nolimits_{3T} }\delta _k \left[ 81 {w\;\tau _w } \right] 82 \end{equation} 83 where $\tau$ is either T or S. In pure $z$-coordinate (\key{zco} is defined), 84 it reduces to : 79 ADV_\tau =-\frac{1}{b_T} \left( 80 \;\delta _i \left[ e_{2u}\,e_{3u} \; u\; \tau _u \right] 81 +\delta _j \left[ e_{1v}\,e_{3v} \; v\; \tau _v \right] \; \right) 82 -\frac{1}{e_{3T}} \;\delta _k \left[ w\; \tau _w \right] 83 \end{equation} 84 where $\tau$ is either T or S, and $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. 85 In pure $z$-coordinate (\key{zco} is defined), it reduces to : 85 86 \begin{equation} \label{Eq_tra_adv_zco} 86 87 ADV_\tau =-\frac{1}{e_{1T} {\kern 1pt}e_{2T} {\kern 1pt}}\left( {\;\delta _i … … 89 90 e\nolimits_{3T} }\delta _k \left[ {w\;\tau _w } \right] 90 91 \end{equation} 91 since the vertical scale factors are functions of $k$ only, and thus $e_{3u}92 =e_{3v} =e_{3T} $. 93 94 The flux form in \eqref{Eq_tra_adv} requires implicitly the use of the continuity equation:95 $\nabla \cdot \left( \vect{U}\,T \right)=\vect{U} \cdot \nabla T$96 (using $\nabla \cdot \vect{U}=0)$ or $\partial _t e_3 + e_3\;\nabla \cdot \vect{U}=0$ 97 in variable volume case ($i.e.$ \key{vvl} defined). Therefore it is of98 paramount importance to design the discrete analogue of the advection99 tendency so that it is consistent with the continuity equation in order to92 since the vertical scale factors are functions of $k$ only, and thus 93 $e_{3u} =e_{3v} =e_{3T} $. The flux form in \eqref{Eq_tra_adv} 94 requires implicitly the use of the continuity equation. Indeed, it is obtained 95 by using the following equality : $\nabla \cdot \left( \vect{U}\,T \right)=\vect{U} \cdot \nabla T$ 96 which results from the use of the continuity equation, $\nabla \cdot \vect{U}=0$ or 97 $\partial _t e_3 + e_3\;\nabla \cdot \vect{U}=0$ in constant (default option) 98 or variable (\key{vvl} defined) volume case, respectively. 99 Therefore it is of paramount importance to design the discrete analogue of the 100 advection tendency so that it is consistent with the continuity equation in order to 100 101 enforce the conservation properties of the continuous equations. In other words, 101 102 by substituting $\tau$ by 1 in (\ref{Eq_tra_adv}) we recover the discrete form of … … 192 193 produce a sensible solution. The associated time-stepping is performed using 193 194 a leapfrog scheme in conjunction with an Asselin time-filter, so $T$ in 194 (\ref{Eq_tra_adv_cen2}) is the \textit{now} tracer value. 195 (\ref{Eq_tra_adv_cen2}) is the \textit{now} tracer value. The centered second 196 order advection is computed in the \mdl{traadv\_cen2} module. In this module, 197 it is also proposed to combine the \textit{cen2} scheme with an upstream scheme 198 in specific areas which requires a strong diffusion in order to avoid the generation 199 of false extrema. These areas are the vicinity of large river mouths, some straits 200 with coarse resolution, and the vicinity of ice cover area ($i.e.$ when the ocean 201 temperature is close to the freezing point). 195 202 196 203 Note that using the cen2 scheme, the overall tracer advection is of second 197 204 order accuracy since both (\ref{Eq_tra_adv}) and (\ref{Eq_tra_adv_cen2}) 198 have this order of accuracy. 205 have this order of accuracy. Note also that 199 206 200 207 % ------------------------------------------------------------------------------------------------------------- … … 223 230 224 231 A direct consequence of the pseudo-fourth order nature of the scheme is that 225 it is not non-diffusive, i.e. the global variance of a tracer is not 226 preserved using \textit{cen4}. Furthermore, it must be used in conjunction with an227 explicit diffusion operator to produce a sensible solution. The228 time-stepping is also performed using a leapfrog scheme in conjunction with229 an Asselin time-filter,so $T$ in (\ref{Eq_tra_adv_cen4}) is the \textit{now} tracer.232 it is not non-diffusive, i.e. the global variance of a tracer is not preserved using 233 \textit{cen4}. Furthermore, it must be used in conjunction with an explicit 234 diffusion operator to produce a sensible solution. The time-stepping is also 235 performed using a leapfrog scheme in conjunction with an Asselin time-filter, 236 so $T$ in (\ref{Eq_tra_adv_cen4}) is the \textit{now} tracer. 230 237 231 238 At a $T$-grid cell adjacent to a boundary (coastline, bottom and surface), an … … 244 251 245 252 In the Total Variance Dissipation (TVD) formulation, the tracer at velocity 246 points is evaluated using a combination of an upstream and a centred scheme. For247 example, in the $i$-direction :253 points is evaluated using a combination of an upstream and a centred scheme. 254 For example, in the $i$-direction : 248 255 \begin{equation} \label{Eq_tra_adv_tvd} 249 256 \begin{split} … … 256 263 \end{split} 257 264 \end{equation} 258 where $c_u$ is a flux limiter function taking values between 0 and 1. There259 exist many ways to define $c_u$, each correcponding to a different total260 variance decreasing scheme. The one chosen in \NEMO is described in265 where $c_u$ is a flux limiter function taking values between 0 and 1. 266 There exist many ways to define $c_u$, each correcponding to a different 267 total variance decreasing scheme. The one chosen in \NEMO is described in 261 268 \citet{Zalesak1979}. $c_u$ only departs from $1$ when the advective term 262 269 produces a local extremum in the tracer field. The resulting scheme is quite … … 264 271 This scheme is tested and compared with MUSCL and the MPDATA scheme in 265 272 \citet{Levy2001}; note that in this paper it is referred to as "FCT" (Flux corrected 266 transport) rather than TVD. 273 transport) rather than TVD. The TVD scheme is computed in the \mdl{traadv\_tvd} module. 267 274 268 275 For stability reasons (see \S\ref{DOM_nxt}), in (\ref{Eq_tra_adv_tvd}) … … 302 309 (\np{ln\_traadv\_muscl2}=.true.). Note that the latter choice does not ensure 303 310 the \textit{positive} character of the scheme. Only the former can be used 304 on both active and passive tracers. 311 on both active and passive tracers. The two MUSCL schemes are computed 312 in the \mdl{traadv\_tvd} and \mdl{traadv\_tvd2} modules. 305 313 306 314 % ------------------------------------------------------------------------------------------------------------- … … 325 333 326 334 This results in a dissipatively dominant (i.e. hyper-diffusive) truncation 327 error \citep{Sacha2005}. The overall performance of the 328 advectionscheme is similar to that reported in \cite{Farrow1995}.329 It is a relatively good compromise between accuracy and smoothness. It is330 not a \emph{positive} scheme, meaning that false extrema are permitted, but the331 amplitude of such are significantly reduced over the centred second order332 method. Nevertheless it is not recommended that it should be applied to a passive333 t racer that requires positivity.335 error \citep{Sacha2005}. The overall performance of the advection 336 scheme is similar to that reported in \cite{Farrow1995}. 337 It is a relatively good compromise between accuracy and smoothness. 338 It is not a \emph{positive} scheme, meaning that false extrema are permitted, 339 but the amplitude of such are significantly reduced over the centred second 340 order method. Nevertheless it is not recommended that it should be applied 341 to a passive tracer that requires positivity. 334 342 335 343 The intrinsic diffusion of UBS makes its use risky in the vertical direction 336 344 where the control of artificial diapycnal fluxes is of paramount importance. 337 Therefore the vertical flux is evaluated using the TVD 338 scheme when\np{ln\_traadv\_ubs}=.true..345 Therefore the vertical flux is evaluated using the TVD scheme when 346 \np{ln\_traadv\_ubs}=.true.. 339 347 340 348 For stability reasons (see \S\ref{DOM_nxt}), in \eqref{Eq_tra_adv_ubs}, … … 343 351 second term (which is the diffusive part of the scheme), is 344 352 evaluated using the \textit{before} tracer (forward in time). 345 This is discussed by \citet{Webb1998} in the context of the Quick 346 advection scheme. UBS and QUICK 347 schemes only differ by one coefficient. Replacing 1/6 with 1/8 in 348 \eqref{Eq_tra_adv_ubs} leads to the QUICK advection scheme 349 \citep{Webb1998}. This option is not available through a namelist 350 parameter, since the 1/6 coefficient is hard coded. Nevertheless 351 it is quite easy to make the substitution in the \mdl{traadv\_ubs} module 352 and obtain a QUICK scheme. 353 This choice is discussed by \citet{Webb1998} in the context of the 354 QUICK advection scheme. UBS and QUICK schemes only differ 355 by one coefficient. Replacing 1/6 with 1/8 in \eqref{Eq_tra_adv_ubs} 356 leads to the QUICK advection scheme \citep{Webb1998}. 357 This option is not available through a namelist parameter, since the 358 1/6 coefficient is hard coded. Nevertheless it is quite easy to make the 359 substitution in the \mdl{traadv\_ubs} module and obtain a QUICK scheme. 353 360 354 361 Note that : 355 362 356 (1) :When a high vertical resolution $O(1m)$ is used, the model stability can363 (1) When a high vertical resolution $O(1m)$ is used, the model stability can 357 364 be controlled by vertical advection (not vertical diffusion which is usually 358 365 solved using an implicit scheme). Computer time can be saved by using a 359 time-splitting technique on vertical advection. This case has been360 implemented and validated in ORCA05 with 301 levels. It is not available in the361 current reference version.362 363 (2) :In a forthcoming release four options will be available for the vertical366 time-splitting technique on vertical advection. Such a technique has been 367 implemented and validated in ORCA05 with 301 levels. It is not available 368 in the current reference version. 369 370 (2) In a forthcoming release four options will be available for the vertical 364 371 component used in the UBS scheme. $\tau _w^{ubs}$ will be evaluated 365 using either \textit{(a)} a centred $2^{nd}$ order scheme 372 using either \textit{(a)} a centred $2^{nd}$ order scheme, or \textit{(b)} 366 373 a TVD scheme, or \textit{(c)} an interpolation based on conservative 367 374 parabolic splines following the \citet{Sacha2005} implementation of UBS … … 369 376 similar to an eighth-order accurate conventional scheme. 370 377 371 following \citet{Sacha2005} implementation of UBS in ROMS, or \textit{(d)} 372 an UBS. The $3^{rd}$ case has dispersion properties similar to an 373 eight-order accurate conventional scheme. 374 375 (3) : It is straightforward to rewrite \eqref{Eq_tra_adv_ubs} as follows: 376 \begin{equation} \label{Eq_tra_adv_ubs2} 377 \tau _u^{ubs} = \left\{ \begin{aligned} 378 & \tau _u^{cen4} + \frac{1}{12} \tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ 379 & \tau _u^{cen4} - \frac{1}{12} \tau"_{i+1} & \quad \text{if }\ u_{i+1/2} < 0 380 \end{aligned} \right. 378 (3) It is straightforward to rewrite \eqref{Eq_tra_adv_ubs} as follows: 379 \begin{equation} \label{Eq_traadv_ubs2} 380 \tau _u^{ubs} = \tau _u^{cen4} + \frac{1}{12} \left\{ 381 \begin{aligned} 382 & + \tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ 383 & - \tau"_{i+1} & \quad \text{if }\ u_{i+1/2} < 0 384 \end{aligned} \right. 381 385 \end{equation} 382 386 or equivalently 383 \begin{equation} \label{Eq_tra _adv_ubs2b}387 \begin{equation} \label{Eq_traadv_ubs2b} 384 388 u_{i+1/2} \ \tau _u^{ubs} 385 389 =u_{i+1/2} \ \overline{ T - \frac{1}{6}\,\delta _i\left[ \delta_{i+1/2}[T] \,\right] }^{\,i+1/2} 386 390 - \frac{1}{2} |u|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] 387 391 \end{equation} 388 \eqref{Eq_tra_adv_ubs2} has several advantages. Firstly, it clearly reveals 392 393 \eqref{Eq_traadv_ubs2} has several advantages. Firstly, it clearly reveals 389 394 that the UBS scheme is based on the fourth order scheme to which an 390 395 upstream-biased diffusion term is added. Secondly, this emphasises that the … … 394 399 coefficient which is simply proportional to the velocity: 395 400 $A_u^{lm}= - \frac{1}{12}\,{e_{1u}}^3\,|u|$. Note that NEMO v2.3 still uses 396 \eqref{Eq_tra_adv_ubs}, not \eqref{Eq_tra _adv_ubs2}. This should be401 \eqref{Eq_tra_adv_ubs}, not \eqref{Eq_traadv_ubs2}. This should be 397 402 changed in forthcoming release. 398 403 %%% … … 411 416 is the third order Godunov scheme. It is associated with the ULTIMATE QUICKEST 412 417 limiter \citep{Leonard1991}. It has been implemented in NEMO by G. Reffray 413 (MERCATOR-ocean). 414 The resulting scheme is quite expensive but \emph{positive}. It can be used on both active and passive tracers. Nevertheless, the intrinsic diffusion of QCK makes its use 415 risky in the vertical direction where the control of artificial diapycnal fluxes is of 416 paramount importance. Therefore the vertical flux is evaluated using the CEN2 417 scheme. This no more ensure the positivity of the scheme. The use of TVD in the 418 vertical direction as for the UBS case should be implemented to maintain the property. 418 (MERCATOR-ocean) and can be found in the \mdl{traadv\_qck} module. 419 The resulting scheme is quite expensive but \emph{positive}. 420 It can be used on both active and passive tracers. 421 Nevertheless, the intrinsic diffusion of QCK makes its use risky in the vertical 422 direction where the control of artificial diapycnal fluxes is of paramount importance. 423 Therefore the vertical flux is evaluated using the CEN2 scheme. 424 This no more ensure the positivity of the scheme. The use of TVD in the vertical 425 direction as for the UBS case should be implemented to maintain the property. 419 426 420 427 … … 430 437 with the ULTIMATE QUICKEST limiter \citep{Leonard1991}. It has been implemented 431 438 in \NEMO by G. Reffray (MERCATOR-ocean) but is not yet offered in the reference 432 version 2.3.439 version 3.0. 433 440 434 441 % ================================================================ … … 447 454 coefficients (either constant or variable in space and time) as well as the 448 455 computation of the slope along which the operators act, are performed in the 449 \mdl{ldftra} and \mdl{ldfslp} modules, respectively. This is described in Chap.~\ref{LDF}. The lateral diffusion of tracers is evaluated using a forward scheme, 456 \mdl{ldftra} and \mdl{ldfslp} modules, respectively. This is described in Chap.~\ref{LDF}. 457 The lateral diffusion of tracers is evaluated using a forward scheme, 450 458 $i.e.$ the tracers appearing in its expression are the \textit{before} tracers in time, 451 459 except for the pure vertical component that appears when a rotation tensor … … 456 464 % Iso-level laplacian operator 457 465 % ------------------------------------------------------------------------------------------------------------- 458 \subsection [Iso-level laplacian operator ( \textit{traldf\_lap} -\np{ln\_traldf\_lap})]459 {Iso-level laplacian operator ( \mdl{traldf\_lap} -\np{ln\_traldf\_lap}=.true.) }466 \subsection [Iso-level laplacian operator (lap) (\np{ln\_traldf\_lap})] 467 {Iso-level laplacian operator (lap) (\np{ln\_traldf\_lap}=.true.) } 460 468 \label{TRA_ldf_lap} 461 469 462 A laplacian diffusion operator ( i.e.a harmonic operator) acting along the model470 A laplacian diffusion operator ($i.e.$ a harmonic operator) acting along the model 463 471 surfaces is given by: 464 472 \begin{equation} \label{Eq_tra_ldf_lap} 465 \begin{split} 466 D_T^{lT} =\frac{1}{e_{1T} \; e_{2T}\; e_{3T} } &\left[ {\quad \delta _i 467 \left[ {A_u^{lT} \left( {\frac{e_{2u} e_{3u} }{e_{1u} }\;\delta _{i+1/2} 468 \left[ T \right]} \right)} \right]} \right. 469 \\ 470 &\ \left. {+\; \delta _j \left[ 471 {A_v^{lT} \left( {\frac{e_{1v} e_{3v} }{e_{2v} }\;\delta _{j+1/2} \left[ T 472 \right]} \right)} \right]\quad } \right] 473 \end{split} 474 \end{equation} 475 476 This lateral operator is a \emph{horizontal} one ($i.e.$ acting along 477 geopotential surfaces) in the $z$-coordinate with or without partial step, 478 but is simply an iso-level operator in the $s$-coordinate. 473 D_T^{lT} =\frac{1}{b_T} \left( \; 474 \delta _{i}\left[ A_u^{lT} \; \frac{e_{2u}\,e_{3u}}{e_{1u}} \;\delta _{i+1/2} [T] \right] 475 + \delta _{j}\left[ A_v^{lT} \; \frac{e_{1v}\,e_{3v}}{e_{2v}} \;\delta _{j+1/2} [T] \right] \;\right) 476 \end{equation} 477 where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells. 478 It can be found in the \mdl{traadv\_lap} module. 479 480 This lateral operator is computed in \mdl{traldf\_lap}. It is a \emph{horizontal} 481 operator ($i.e.$ acting along geopotential surfaces) in the $z$-coordinate with 482 or without partial step, but is simply an iso-level operator in the $s$-coordinate. 479 483 It is thus used when, in addition to \np{ln\_traldf\_lap}=.true., we have 480 \np{ln\_traldf\_level}=.true., or both \np{ln\_traldf\_hor}=.true. and481 \np{ln\_zco}=.false.. In both cases, it significantly contributes to482 diapycnal mixing.It is therefore not recommended.484 \np{ln\_traldf\_level}=.true., or \np{ln\_traldf\_hor}=\np{ln\_zco}=.true.. 485 In both cases, it significantly contributes to diapycnal mixing. 486 It is therefore not recommended. 483 487 484 488 Note that 485 ( 1) In pure $z$-coordinate (\key{zco} is defined), $e_{3u}=e_{3v}=e_{3T}$, so486 that the vertical scale factors disappear from (\ref{Eq_tra_ldf_lap}).487 ( 2) In partial step $z$-coordinate (\np{ln\_zps}=.true.), tracers in horizontally489 (a) In pure $z$-coordinate (\key{zco} is defined), $e_{3u}=e_{3v}=e_{3T}$, 490 so that the vertical scale factors disappear from (\ref{Eq_tra_ldf_lap}) ; 491 (b) In partial step $z$-coordinate (\np{ln\_zps}=.true.), tracers in horizontally 488 492 adjacent cells are located at different depths in the vicinity of the bottom. 489 493 In this case, horizontal derivatives in (\ref{Eq_tra_ldf_lap}) at the bottom level … … 494 498 % Rotated laplacian operator 495 499 % ------------------------------------------------------------------------------------------------------------- 496 \subsection [Rotated laplacian operator ( \textit{traldf\_iso} -\np{ln\_traldf\_lap})]497 {Rotated laplacian operator ( \mdl{traldf\_iso} -\np{ln\_traldf\_lap}=.true.)}500 \subsection [Rotated laplacian operator (iso) (\np{ln\_traldf\_lap})] 501 {Rotated laplacian operator (iso) (\np{ln\_traldf\_lap}=.true.)} 498 502 \label{TRA_ldf_iso} 499 503 … … 501 505 (\ref{Eq_PE_zdf}) takes the following semi-discrete space form in $z$- and 502 506 $s$-coordinates: 503 504 507 \begin{equation} \label{Eq_tra_ldf_iso} 505 508 \begin{split} 506 D_T^{lT} =& \frac{1}{e_{1T}\,e_{2T}\,e_{3T} } 507 \\ 508 & \left\{ {\delta _i \left[ {A_u^{lT} \left( 509 {\frac{e_{2u} \; e_{3u} }{e_{1u} } \,\delta _{i+1/2}[T] 510 -e_{2u} \; r_{1u} \,\overline{\overline {\delta _{k+1/2}[T]}}^{\,i+1/2,k}} 511 \right)} \right]} \right. 512 \\ 513 & +\delta 514 _j \left[ {A_v^{lT} \left( {\frac{e_{1v}\,e_{3v} }{e_{2v} 515 }\,\delta _{j+1/2} \left[ T \right]-e_{1v}\,r_{2v} 516 \,\overline{\overline {\delta _{k+1/2} \left[ T \right]}} ^{\,j+1/2,k}} 517 \right)} \right] 518 \\ 519 & +\delta 520 _k \left[ {A_w^{lT} \left( 521 -e_{2w}\,r_{1w} \,\overline{\overline {\delta _{i+1/2} \left[ T \right]}} ^{\,i,k+1/2} 522 \right.} \right. 523 \\ 509 D_T^{lT} = \frac{1}{b_T} & \left\{ \,\;\delta_i \left[ A_u^{lT} \left( 510 \frac{e_{2u}\;e_{3u}}{e_{1u}} \,\delta_{i+1/2}[T] 511 - e_{2u}\;r_{1u} \,\overline{\overline{ \delta_{k+1/2}[T] }}^{\,i+1/2,k} 512 \right) \right] \right. \\ 513 & +\delta_j \left[ A_v^{lT} \left( 514 \frac{e_{1v}\,e_{3v}}{e_{2v}} \,\delta_{j+1/2} [T] 515 - e_{1v}\,r_{2v} \,\overline{\overline{ \delta_{k+1/2} [T] }}^{\,j+1/2,k} 516 \right) \right] \\ 517 & +\delta_k \left[ A_w^{lT} \left( 518 -\;e_{2w}\,r_{1w} \,\overline{\overline{ \delta_{i+1/2} [T] }}^{\,i,k+1/2} 519 \right. \right. \\ 524 520 & \qquad \qquad \quad 525 -e_{1w}\,r_{2w} \,\overline{\overline {\delta _{j+1/2} \left[ T \right]}} ^{\,j,k+1/2} 526 \\ 527 & \left. {\left. { 528 \quad \quad \quad \left. {{\kern 529 1pt}+\frac{e_{1w}\,e_{2w} }{e_{3w} }\,\left( {r_{1w} ^2+r_{2w} ^2} 530 \right)\,\delta _{k+1/2} \left[ T \right]} \right)} \right]\;\;\;} \right\} 521 - e_{1w}\,r_{2w} \,\overline{\overline{ \delta_{j+1/2} [T] }}^{\,j,k+1/2} \\ 522 & \left. {\left. { \qquad \qquad \ \ \ \left. { 523 +\;\frac{e_{1w}\,e_{2w}}{e_{3w}} \,\left( r_{1w}^2 + r_{2w}^2 \right) 524 \,\delta_{k+1/2} [T] } \right) } \right] \quad } \right\} 531 525 \end{split} 532 526 \end{equation} 533 where $r_1$ and $r_2$ are the slopes between the surface of computation 527 where $b_T= e_{1T}\,e_{2T}\,e_{3T}$ is the volume of $T$-cells, 528 $r_1$ and $r_2$ are the slopes between the surface of computation 534 529 ($z$- or $s$-surfaces) and the surface along which the diffusion operator 535 530 acts ($i.e.$ horizontal or iso-neutral surfaces). It is thus used when, 536 in addition to \np{ln\_traldf\_lap}= .true., we have \np{ln\_traldf\_iso}=.true.,531 in addition to \np{ln\_traldf\_lap}= .true., we have \np{ln\_traldf\_iso}=.true., 537 532 or both \np{ln\_traldf\_hor}=.true. and \np{ln\_zco}=.true.. The way these 538 533 slopes are evaluated is given in \S\ref{LDF_slp}. At the surface, bottom … … 544 539 be solved using the same implicit time scheme as that used in the vertical 545 540 physics (see \S\ref{TRA_zdf}). For computer efficiency reasons, this term 546 is not computed in the \mdl{traldf } module, but in the \mdl{trazdf} module541 is not computed in the \mdl{traldf\_iso} module, but in the \mdl{trazdf} module 547 542 where, if iso-neutral mixing is used, the vertical mixing coefficient is simply 548 543 increased by $\frac{e_{1w}\,e_{2w} }{e_{3w} }\ \left( {r_{1w} ^2+r_{2w} ^2} \right)$. … … 552 547 (see \S\ref{LDF}) allows the model to run safely without any additional 553 548 background horizontal diffusion \citep{Guily2001}. An alternative scheme 554 \citep{Griffies1998} which preserves both tracer and its variance is currently 555 been tested in \NEMO. 549 developed by \cite{Griffies1998} which preserves both tracer and its variance 550 is currently been tested in \NEMO. It should be available in a forthcoming 551 release. 556 552 557 553 Note that in the partial step $z$-coordinate (\np{ln\_zps}=.true.), the horizontal … … 562 558 % Iso-level bilaplacian operator 563 559 % ------------------------------------------------------------------------------------------------------------- 564 \subsection [Iso-level bilaplacian operator ( \textit{traldf\_bilap} -\np{ln\_traldf\_bilap})]565 {Iso-level bilaplacian operator ( \mdl{traldf\_bilap} -\np{ln\_traldf\_bilap}=.true.)}560 \subsection [Iso-level bilaplacian operator (bilap) (\np{ln\_traldf\_bilap})] 561 {Iso-level bilaplacian operator (bilap) (\np{ln\_traldf\_bilap}=.true.)} 566 562 \label{TRA_ldf_bilap} 567 563 … … 569 565 applying (\ref{Eq_tra_ldf_lap}) twice. It requires an additional assumption 570 566 on boundary conditions: the first and third derivative terms normal to the 571 coast are set to zero. 572 573 It is used when, in addition to \np{ln\_traldf\_bilap}=.true., we have 574 \np{ln\_traldf\_level}=.true., or both \np{ln\_traldf\_hor}=.true. and 567 coast are set to zero. It is used when, in addition to \np{ln\_traldf\_bilap}=.true., 568 we have \np{ln\_traldf\_level}=.true., or both \np{ln\_traldf\_hor}=.true. and 575 569 \np{ln\_zco}=.false.. In both cases, it can contribute diapycnal mixing, 576 570 although less than in the laplacian case. It is therefore not recommended. 577 571 578 572 Note that in the code, the bilaplacian routine does not call the laplacian 579 routine twice but is rather a separate routine. This is due to the fact that we 580 introduce the eddy diffusivity coefficient, A, in the operator as: $\nabla 581 \cdot \nabla \left( {A\nabla \cdot \nabla T} \right)$, instead of 582 $-\nabla \cdot a\nabla \left( {\nabla \cdot a\nabla T} \right)$ where 583 $a=\sqrt{|A|}$ and $A<0$. This was a mistake: both formulations 584 ensure the total variance decrease, but the former requires a larger number 585 of code-lines. It will be corrected in a forthcoming release. 573 routine twice but is rather a separate routine that can be found in the 574 \mdl{traldf\_bilap} module. This is due to the fact that we introduce the 575 eddy diffusivity coefficient, A, in the operator as: 576 $\nabla \cdot \nabla \left( {A\nabla \cdot \nabla T} \right)$, 577 instead of 578 $-\nabla \cdot a\nabla \left( {\nabla \cdot a\nabla T} \right)$ 579 where $a=\sqrt{|A|}$ and $A<0$. This was a mistake: both formulations 580 ensure the total variance decrease, but the former requires a larger 581 number of code-lines. It will be corrected in a forthcoming release. 586 582 587 583 % ------------------------------------------------------------------------------------------------------------- 588 584 % Rotated bilaplacian operator 589 585 % ------------------------------------------------------------------------------------------------------------- 590 \subsection [Rotated bilaplacian operator ( \textit{traldf\_bilapg} -\np{ln\_traldf\_bilap})]591 {Rotated bilaplacian operator ( \mdl{traldf\_bilapg} -\np{ln\_traldf\_bilap}=.true.)}586 \subsection [Rotated bilaplacian operator (bilapg) (\np{ln\_traldf\_bilap})] 587 {Rotated bilaplacian operator (bilapg) (\np{ln\_traldf\_bilap}=.true.)} 592 588 \label{TRA_ldf_bilapg} 593 589 … … 595 591 applying (\ref{Eq_tra_ldf_iso}) twice. It requires an additional assumption 596 592 on boundary conditions: first and third derivative terms normal to the 597 coast, the bottom and the surface are set to zero. 598 599 It is used when, in addition to \np{ln\_traldf\_bilap}=T, we have 600 \np{ln\_traldf\_iso}=T, or both \np{ln\_traldf\_hor}=T and \np{ln\_zco}=T. 593 coast, the bottom and the surface are set to zero. It can be found in the 594 \mdl{traldf\_bilapg}. 595 596 It is used when, in addition to \np{ln\_traldf\_bilap}=.true., we have 597 \np{ln\_traldf\_iso}= .true, or both \np{ln\_traldf\_hor}=.true. and \np{ln\_zco}=.true.. 601 598 Nevertheless, this rotated bilaplacian operator has never been seriously 602 599 tested. No warranties that it is neither free of bugs or correctly formulated. … … 619 616 The vertical diffusion operator given by (\ref{Eq_PE_zdf}) takes the 620 617 following semi-discrete space form: 621 (\ref{Eq_PE_zdf}) takes the following semi-discrete space form:622 618 \begin{equation} \label{Eq_tra_zdf} 623 619 \begin{split} 624 D^{vT}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ 625 \frac{A^{vT}_w}{e_{3w}} \delta_{k+1/2}[T] \right] 620 D^{vT}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ \;\frac{A^{vT}_w}{e_{3w}} \delta_{k+1/2}[T] \;\right] 626 621 \\ 627 D^{vS}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ 628 \frac{A^{vS}_w}{e_{3w}} \delta_{k+1/2}[S] \right] 622 D^{vS}_T &= \frac{1}{e_{3T}} \; \delta_k \left[ \;\frac{A^{vS}_w}{e_{3w}} \delta_{k+1/2}[S] \;\right] 629 623 \end{split} 630 624 \end{equation} 631 632 625 where $A_w^{vT}$ and $A_w^{vS}$ are the vertical eddy diffusivity 633 coefficients on Temperature and Salinity, respectively. Generally,626 coefficients on temperature and salinity, respectively. Generally, 634 627 $A_w^{vT}=A_w^{vS}$ except when double diffusive mixing is 635 parameterised ( \key{zdfddm} is defined). The way these coefficients628 parameterised ($i.e.$ \key{zdfddm} is defined). The way these coefficients 636 629 are evaluated is given in \S\ref{ZDF} (ZDF). Furthermore, when 637 630 iso-neutral mixing is used, both mixing coefficients are increased … … 640 633 641 634 At the surface and bottom boundaries, the turbulent fluxes of 642 momentum, heat and salt must be specified. At the surface they643 are prescribed from the surface forcing(see \S\ref{TRA_sbc}),635 heat and salt must be specified. At the surface they are prescribed 636 from the surface forcing and added in a dedicated routine (see \S\ref{TRA_sbc}), 644 637 whilst at the bottom they are set to zero for heat and salt unless 645 638 a geothermal flux forcing is prescribed as a bottom boundary 646 condition ( \S\ref{TRA_bbc}).639 condition (see \S\ref{TRA_bbc}). 647 640 648 641 The large eddy coefficient found in the mixed layer together with high … … 712 705 \end{aligned} 713 706 \end{equation} 714 715 707 where EMP is the freshwater budget (evaporation minus precipitation 716 708 minus river runoff) which forces the ocean volume, $Q_{ns}$ is the … … 722 714 (except for the effect of the Asselin filter). 723 715 724 %AMT note: the ice-ocean flux had been forgotten in the first release of the key_vvl option, has this been corrected in the code? 716 %AMT note: the ice-ocean flux had been forgotten in the first release of the key_vvl option, has this been corrected in the code? ===> gm : NO to be added at NOCS 725 717 726 718 In the second case (linear free surface), the vertical scale factors are … … 729 721 temperature of precipitation and runoffs, $F_{wf}^e +F_{wf}^i =0$ 730 722 for temperature. The resulting forcing term for temperature is: 731 732 723 \begin{equation} \label{Eq_tra_forcing_q} 733 724 F^T=\frac{Q_{ns} }{\rho _o \;C_p \,e_{3T} } … … 779 770 \end{equation} 780 771 781 where $I$ is the downward irradiance. The additional term in \eqref{Eq_PE_qsr} is discretized as follows: 772 where $I$ is the downward irradiance. The additional term in \eqref{Eq_PE_qsr} 773 is discretized as follows: 782 774 \begin{equation} \label{Eq_tra_qsr} 783 775 \frac{1}{\rho_o\, C_p \,e_3} \; \frac{\partial I}{\partial k} \equiv \frac{1}{\rho_o\, C_p\, e_{3T}} \delta_k \left[ I_w \right] … … 796 788 \gmcomment : Jerlov reference to be added 797 789 % 798 classification: $\xi_1 = 0.35 m$, $\xi_2 = 0.23m$ and $R = 0.58$790 classification: $\xi_1 = 0.35~m$, $\xi_2 = 23~m$ and $R = 0.58$ 799 791 (corresponding to \np{xsi1}, \np{xsi2} and \np{rabs} namelist parameters, 800 792 respectively). $I$ is masked (no flux through the ocean bottom), … … 837 829 \begin{figure}[!t] \label{Fig_geothermal} \begin{center} 838 830 \includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_TRA_geoth.pdf} 839 \caption{Geothermal Heat flux (in $mW.m^{-2}$) as inferred from the age840 of the sea floor and the formulae of \citet{Stein1992}.}831 \caption{Geothermal Heat flux (in $mW.m^{-2}$) used by \cite{Emile-Geay_Madec_OSD08}. 832 It is inferred from the age of the sea floor and the formulae of \citet{Stein1992}.} 841 833 \end{center} \end{figure} 842 834 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 845 837 the ocean bottom, $i.e.$ a no flux boundary condition is applied on active 846 838 tracers at the bottom. This is the default option in \NEMO, and it is 847 implemented using the masking technique. Ho ever, there is a839 implemented using the masking technique. However, there is a 848 840 non-zero heat flux across the seafloor that is associated with solid 849 841 earth cooling. This flux is weak compared to surface fluxes (a mean 850 842 global value of $\sim0.1\;W/m^2$ \citep{Stein1992}), but it is 851 systematically positive and acts on the densest water masses. Taking852 this flux into account in a global ocean model increases853 the deepest overturning cell ( i.e.the one associated with the Antarctic854 Bottom Water) by a few Sverdrups .843 systematically positive and acts on the densest water masses. 844 Taking this flux into account in a global ocean model increases 845 the deepest overturning cell ($i.e.$ the one associated with the Antarctic 846 Bottom Water) by a few Sverdrups \citep{Emile-Geay_Madec_OSD08}. 855 847 856 848 The presence or not of geothermal heating is controlled by the namelist … … 886 878 a sill \citep{Willebrand2001}, and the thickness of the plume is not resolved. 887 879 888 The idea of the bottom boundary layer (BBL) parameteri zation first introduced by880 The idea of the bottom boundary layer (BBL) parameterisation first introduced by 889 881 \citet{BeckDos1998} is to allow a direct communication between 890 882 two adjacent bottom cells at different levels, whenever the densest water is … … 933 925 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 934 926 \begin{figure}[!t] \label{Fig_bbl} \begin{center} 935 \includegraphics[width= 1.0\textwidth]{./TexFiles/Figures/Fig_BBL_adv.pdf}927 \includegraphics[width=0.8\textwidth]{./TexFiles/Figures/Fig_BBL_adv.pdf} 936 928 \caption{Advective Bottom Boundary Layer.} 937 929 \end{center} \end{figure} … … 1047 1039 \end{split} 1048 1040 \end{equation} 1049 1050 1041 where $\text{RHS}_T$ is the right hand side of the temperature equation, 1051 1042 the subscript $f$ denotes filtered values and $\gamma$ is the Asselin … … 1093 1084 the practical salinity (another \NEMO variable) and the pressure (assuming no 1094 1085 pressure variation along geopotential surfaces, i.e. the pressure in decibars is 1095 approximated by the depth in meters). Both the \citet{UNESCO1983} and \citet{JackMcD1995} equations of state have exactly the same except that 1086 approximated by the depth in meters). Both the \citet{UNESCO1983} and 1087 \citet{JackMcD1995} equations of state have exactly the same except that 1096 1088 the values of the various coefficients have been adjusted by \citet{JackMcD1995} 1097 1089 in order to directly use the \textit{potential} temperature instead of the … … 1194 1186 \begin{equation} \label{Eq_tra_eos_fzp} 1195 1187 \begin{split} 1196 T_f (S,p) &= \left( -0.0575 + 1.710523 \;10^{-3} \, \sqrt{S}1188 T_f (S,p) = \left( -0.0575 + 1.710523 \;10^{-3} \, \sqrt{S} 1197 1189 - 2.154996 \;10^{-4} \,S \right) \ S \\ 1198 & - 7.53\,10^{-3}\,p1190 - 7.53\,10^{-3} \ \ p 1199 1191 \end{split} 1200 1192 \end{equation} -
trunk/DOC/TexFiles/Chapters/Chap_ZDF.tex
r998 r1224 7 7 8 8 %gm% Add here a small introduction to ZDF and naming of the different physics (similar to what have been written for TRA and DYN. 9 \gmcomment{Steven remark : problem here with turbulent vs turbulence. I've changed "turbulent closure" to "turbulence closure", "turbulent mixing length" to "turbulence mixing length", but I've left "turbulent kinetic energy" alone - though I think it is an historical abberation! 10 Gurvan : I kept "turbulent closure"...} 11 \gmcomment{Steven bis : parameterization is the american spelling, parameterisation is the british} 9 \gmcomment{Steven remark (not taken into account : problem here with turbulent vs turbulence. I've changed "turbulent closure" to "turbulence closure", "turbulent mixing length" to "turbulence mixing length", but I've left "turbulent kinetic energy" alone - though I think it is an historical abberation! 10 Gurvan : I kept "turbulent closure etc "...} 12 11 13 12 … … 25 24 flux forcing is prescribed as a bottom boundary condition ($i.e.$ \key{trabbl} 26 25 defined, see \S\ref{TRA_bbc}), and specified through a bottom friction 27 parameteri zation for momentum (see \S\ref{ZDF_bfr}).26 parameterisation for momentum (see \S\ref{ZDF_bfr}). 28 27 29 28 In this section we briefly discuss the various choices offered to compute … … 84 83 large scale ocean structures. The hypothesis of a mixing mainly maintained by the 85 84 growth of Kelvin-Helmholtz like instabilities leads to a dependency between the 86 vertical turbulenceeddy coefficients and the local Richardson number ($i.e.$ the85 vertical eddy coefficients and the local Richardson number ($i.e.$ the 87 86 ratio of stratification to vertical shear). Following \citet{PacPhil1981}, the following 88 87 formulation has been implemented: … … 114 113 The vertical eddy viscosity and diffusivity coefficients are computed from a TKE 115 114 turbulent closure model based on a prognostic equation for $\bar {e}$, the turbulent 116 kinetic energy, and a closure assumption for the turbulen celength scales. This115 kinetic energy, and a closure assumption for the turbulent length scales. This 117 116 turbulent closure model has been developed by \citet{Bougeault1989} in the 118 117 atmospheric case, adapted by \citet{Gaspar1990} for the oceanic case, and … … 156 155 The choice of $P_{rt} $ is controlled by the \np{npdl} namelist parameter. 157 156 158 For computational efficiency, the original formulation of the turbulen celength157 For computational efficiency, the original formulation of the turbulent length 159 158 scales proposed by \citet{Gaspar1990} has been simplified. Four formulations 160 159 are proposed, the choice of which is controlled by the \np{nmxl} namelist … … 186 185 constraint, we introduce two additional length scales: $l_{up}$ and $l_{dwn}$, 187 186 the upward and downward length scales, and evaluate the dissipation and 188 mixing turbulen celength scales as (and note that here we use numerical187 mixing turbulent length scales as (and note that here we use numerical 189 188 indexing): 190 189 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 208 207 In the \np{nmxl}=2 case, the dissipation and mixing length scales take the same 209 208 value: $ l_k= l_\epsilon = \min \left(\ l_{up} \;,\; l_{dwn}\ \right)$, while in the 210 \np{nmxl}=2 case, the dissipation and mixing turbulencelength scales are give209 \np{nmxl}=2 case, the dissipation and mixing length scales are give 211 210 as in \citet{Gaspar1990}: 212 211 \begin{equation} \label{Eq_tke_mxl_gaspar} … … 243 242 %-------------------------------------------------------------------------------------------------------------- 244 243 245 The KKP scheme has been implemented by J. Chanut ... 244 The K-Profile Parametrization (KKP) developed by \cite{Large_al_RG94} has been 245 implemented in \NEMO by J. Chanut (PhD reference to be added here!). 246 246 247 247 \colorbox{yellow}{Add a description of KPP here.} … … 262 262 quickly re-establish the static stability of the water column. These 263 263 processes have been removed from the model via the hydrostatic 264 assumption so they must be parameterized. Three parameteri zations264 assumption so they must be parameterized. Three parameterisations 265 265 are available to deal with convective processes: a non-penetrative 266 266 convective adjustment or an enhanced vertical diffusion, or/and the … … 354 354 %-------------------------------------------------------------------------------------------------------------- 355 355 356 The enhanced vertical diffusion parameteri zation is used when \np{ln\_zdfevd}=true.356 The enhanced vertical diffusion parameterisation is used when \np{ln\_zdfevd}=true. 357 357 In this case, the vertical eddy mixing coefficients are assigned very large values 358 358 (a typical value is $10\;m^2s^{-1})$ in regions where the stratification is unstable … … 364 364 if \np{n\_evdm}=1, the four neighbouring $A_u^{vm} \;\mbox{and}\;A_v^{vm}$ 365 365 values also, are set equal to the namelist parameter \np{avevd}. A typical value 366 for $avevd$ is between 1 and $100~m^2.s^{-1}$. This parameteri zation of366 for $avevd$ is between 1 and $100~m^2.s^{-1}$. This parameterisation of 367 367 convective processes is less time consuming than the convective adjustment 368 368 algorithm presented above when mixing both tracers and momentum in the … … 384 384 $A_u^{vm} {and}\;A_v^{vm}$ (up to $1\;m^2s^{-1})$. These large values 385 385 restore the static stability of the water column in a way similar to that of the 386 enhanced vertical diffusion parameteri zation (\S\ref{ZDF_evd}). However,386 enhanced vertical diffusion parameterisation (\S\ref{ZDF_evd}). However, 387 387 in the vicinity of the sea surface (first ocean layer), the eddy coefficients 388 computed by the turbulen ce scheme do not usually exceed $10^{-2}m.s^{-1}$,388 computed by the turbulent closure scheme do not usually exceed $10^{-2}m.s^{-1}$, 389 389 because the mixing length scale is bounded by the distance to the sea surface 390 390 (see \S\ref{ZDF_tke}). It can thus be useful to combine the enhanced vertical … … 412 412 to diffusive convection. Double-diffusive phenomena contribute to diapycnal 413 413 mixing in extensive regions of the ocean. \citet{Merryfield1999} include a 414 parameteri zation of such phenomena in a global ocean model and show that414 parameterisation of such phenomena in a global ocean model and show that 415 415 it leads to relatively minor changes in circulation but exerts significant regional 416 416 influences on temperature and salinity. … … 422 422 \end{align*} 423 423 where subscript $f$ represents mixing by salt fingering, $d$ by diffusive convection, 424 and $o$ by processes other than double diffusion. The rates of double-diffusive mixing depend on the buoyancy ratio $R_\rho = \alpha \partial_z T / \beta \partial_z S$, 424 and $o$ by processes other than double diffusion. The rates of double-diffusive mixing 425 depend on the buoyancy ratio $R_\rho = \alpha \partial_z T / \beta \partial_z S$, 425 426 where $\alpha$ and $\beta$ are coefficients of thermal expansion and saline 426 427 contraction (see \S\ref{TRA_eos}). To represent mixing of $S$ and $T$ by salt … … 443 444 $A^{\ast v} = 10^{-4}~m^2.s^{-1}$ ; (b) diapycnal diffusivities $A_d^{vT}$ and 444 445 $A_d^{vS}$ for temperature and salt in regions of diffusive convection. Heavy 445 curves denote the Federov parameteri zation and thin curves the Kelley446 parameteri zation. The latter is not implemented in \NEMO. }446 curves denote the Federov parameterisation and thin curves the Kelley 447 parameterisation. The latter is not implemented in \NEMO. } 447 448 \end{center} \end{figure} 448 449 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 453 454 we adopt $R_c = 1.6$, $n = 6$, and $A^{\ast v} = 10^{-4}~m^2.s^{-1}$. 454 455 455 To represent mixing of S and T by diffusive layering, the diapycnal diffusivities suggested by Federov (1988) is used: 456 To represent mixing of S and T by diffusive layering, the diapycnal diffusivities suggested 457 by Federov (1988) is used: 456 458 \begin{align} \label{Eq_zdfddm_d} 457 459 A_d^{vT} &= \begin{cases} … … 525 527 \label{ZDF_bfr_linear} 526 528 527 The linear bottom friction parameteri zation assumes that the bottom friction529 The linear bottom friction parameterisation assumes that the bottom friction 528 530 is proportional to the interior velocity (i.e. the velocity of the last model level): 529 531 \begin{equation} \label{Eq_zdfbfr_linear} … … 571 573 \label{ZDF_bfr_nonlinear} 572 574 573 The non-linear bottom friction parameteri zation assumes that the bottom575 The non-linear bottom friction parameterisation assumes that the bottom 574 576 friction is quadratic: 575 577 \begin{equation} \label{Eq_zdfbfr_nonlinear} -
trunk/DOC/TexFiles/Chapters/Introduction.tex
r996 r1224 15 15 its interactions with the other components of the earth climate system (atmosphere, 16 16 sea-ice, biogeochemical tracers, ...) over a wide range of space and time scales. 17 This documentation provides information about the physics represented by the ocean component of \NEMO and the rationale for the choice of numerical schemes and 17 This documentation provides information about the physics represented by the ocean 18 component of \NEMO and the rationale for the choice of numerical schemes and 18 19 the model design. More specific information about running the model on different 19 20 computers, or how to set up a configuration, are found on the \NEMO web site … … 92 93 around the code, the module names follow a three-letter rule. For example, \mdl{tradmp} 93 94 is a module related to the TRAcers equation, computing the DaMPing. The complete list 94 of module names is presented in \colorbox{yellow}{annex}. Furthermore, modules are95 of module names is presented in Appendix~\ref{Apdx_D}. Furthermore, modules are 95 96 organized in a few directories that correspond to their category, as indicated by the first 96 97 three letters of their name. … … 115 116 \end{table} 116 117 117 In the current release (v 2.3), LBC directory (see Chap.~\ref{LBC})does not yet exist.118 When created LBC will contain the OBC directory (Open Boundary Condition), and the119 \mdl{lbclnk}, \mdl{mppini} and \mdl{lib\_mpp} modules.118 In the current release (v3.0), the LBC directory does not yet exist. 119 When created LBC will contain the OBC directory (Open Boundary Condition), 120 and the \mdl{lbclnk}, \mdl{mppini} and \mdl{lib\_mpp} modules. 120 121 121 122 \vspace{1cm} Nota Bene : \vspace{0.25cm} … … 141 142 (9) online diagnostics : tracers trend in the mixed layer and vorticity balance; \\ 142 143 (10) rewriting of the I/O management; \\ 143 (11) OASIS 3 and 4 couplers interfacing with atmospheric global circulation models. 144 (11) OASIS 3 and 4 couplers interfacing with atmospheric global circulation models. \\ 144 145 (12) surface module (SBC) that simplify the way the ocean is forced and include two 145 bulk formulea (CLIO and CORE) 146 bulk formulea (CLIO and CORE)\\ 146 147 (13) introduction of LIM 3, the new Louvain-la-Neuve sea-ice model (C-grid rheology and 147 new thermodynamics including bulk ice salinity) 148 new thermodynamics including bulk ice salinity) \citep{Vancoppenolle_al_OM08} 148 149 149 150 In addition, several minor modifications in the coding have been introduced with the constant concern of improving performance on both scalar and vector computers.
Note: See TracChangeset
for help on using the changeset viewer.