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

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1223 for trunk/DOC/TexFiles/Chapters/Annex_C.tex – NEMO

Ignore:
Timestamp:
2008-11-26T13:12:16+01:00 (15 years ago)
Author:
gm
Message:

minor corrections in the Appendix from Steven see ticket #282

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DOC/TexFiles/Chapters/Annex_C.tex

    r999 r1223  
    1717\label{Apdx_C.1} 
    1818 
    19  
    20 First, the boundary condition on the vertical velocity (no flux through the surface and the bottom) is established for the discrete set of momentum equations. Then, it is shown that the non linear terms of the momentum equation are written such that the potential enstrophy of a horizontally non divergent flow is preserved while all the other non-diffusive terms preserve the kinetic energy: the energy is also preserved in practice. In addition, an option is also offer for the vorticity term discretization which provides  
    21 a total kinetic energy conserving discretization for that term.  
    22  
    23 Nota Bene: these properties are established here in the rigid-lid case and for the 2nd order centered scheme. A forthcoming update will be their generalisation to the free surface case 
    24 and higher order scheme. 
     19First, the boundary condition on the vertical velocity (no flux through the surface  
     20and the bottom) is established for the discrete set of momentum equations.  
     21Then, it is shown that the non-linear terms of the momentum equation are written  
     22such that the potential enstrophy of a horizontally non-divergent flow is preserved  
     23while all the other non-diffusive terms preserve the kinetic energy; in practice the  
     24energy is also preserved. In addition, an option is also offered for the vorticity term  
     25discretization which provides a total kinetic energy conserving discretization for  
     26that term.  
     27 
     28Nota Bene: these properties are established here in the rigid-lid case and for the  
     292nd order centered scheme. A forthcoming update will be their generalisation to  
     30the free surface case and higher order scheme. 
    2531 
    2632% ------------------------------------------------------------------------------------------------------------- 
     
    3137 
    3238 
    33 The discrete set of momentum equations used in rigid lid approximation  
     39The discrete set of momentum equations used in the rigid-lid approximation  
    3440automatically satisfies the surface and bottom boundary conditions  
    3541(no flux through the surface and the bottom: $w_{surface} =w_{bottom} =~0$).  
    3642Indeed, taking the discrete horizontal divergence of the vertical sum of the  
    37 horizontal momentum equations (Eqs. (II.2.1) and (II.2.2)~) wheighted by the  
     43horizontal momentum equations (!!!Eqs. (II.2.1) and (II.2.2)!!!) weighted by the  
    3844vertical scale factors, it becomes: 
    3945\begin{flalign*} 
     
    8389 
    8490 
    85 The surface boundary condition associated with the rigid lid approximation ($w_{surface} =0)$ is imposed in the computation of the vertical velocity (II.2.5). Therefore, it turns out to be: 
     91The surface boundary condition associated with the rigid lid approximation  
     92($w_{surface} =0)$ is imposed in the computation of the vertical velocity (!!! II.2.5!!!!).  
     93Therefore, it turns out to be: 
    8694\begin{equation*} 
    8795\frac{\partial } {\partial t}w_{bottom} \equiv 0 
    8896\end{equation*} 
    89 As the bottom velocity is initially set to zero, it remains zero all the time. Symmetrically, if $w_{bottom} =0$ is used in the computation of the vertical velocity (upward integral of the horizontal divergence), the same computation leads to $w_{surface} =0$ as soon as the surface vertical velocity is initially set to zero. 
     97As the bottom velocity is initially set to zero, it remains zero all the time.  
     98Symmetrically, if $w_{bottom} =0$ is used in the computation of the vertical  
     99velocity (upward integral of the horizontal divergence), the same computation  
     100leads to $w_{surface} =0$ as soon as the surface vertical velocity is initially  
     101set to zero. 
    90102 
    91103% ------------------------------------------------------------------------------------------------------------- 
     
    101113\label{Apdx_C_vor}  
    102114 
    103 Potential vorticity is located at $f$-points and defined as: $\zeta / e_{3f}$. The standard discrete formulation of the relative vorticity term obviously conserves potential vorticity (ENS scheme). It also conserves the potential enstrophy for a horizontally non-divergent flow (i.e. $\chi $=0) but not the total kinetic energy. Indeed, using the symmetry or skew symmetry properties of the operators (Eqs \eqref{DOM_mi_adj} and \eqref{DOM_di_adj}), it can be shown that: 
     115Potential vorticity is located at $f$-points and defined as: $\zeta / e_{3f}$.  
     116The standard discrete formulation of the relative vorticity term obviously  
     117conserves potential vorticity (ENS scheme). It also conserves the potential  
     118enstrophy for a horizontally non-divergent flow (i.e. $\chi $=0) but not the  
     119total kinetic energy. Indeed, using the symmetry or skew symmetry properties  
     120of the operators (Eqs \eqref{DOM_mi_adj} and \eqref{DOM_di_adj}), it can  
     121be shown that: 
    104122\begin{equation} \label{Apdx_C_1.1} 
    105123\int_D {\zeta / e_3\,\;{\textbf{k}}\cdot \frac{1} {e_3} \nabla \times \left( {\zeta \;{\textbf{k}}\times {\textbf{U}}_h } \right)\;dv} \equiv 0 
     
    164182\end{align*} 
    165183 
    166 Note that the demonstration is done here for the relative potential  
    167 vorticity but it still hold for the planetary ($f/e_3$) and the total  
    168 potential vorticity $((\zeta +f) /e_3 )$. Another formulation of  
    169 the two components of the vorticity term is optionally offered (ENE scheme) : 
     184Note that the derivation is demonstrated here for the relative potential  
     185vorticity but it applies also to the planetary ($f/e_3$) and the total  
     186potential vorticity $((\zeta +f) /e_3 )$. Another formulation of the two  
     187components of the vorticity term is optionally offered (ENE scheme) : 
    170188\begin{equation*} 
    171189   - \zeta \;{\textbf{k}}\times {\textbf {U}}_h  
     
    185203\end{equation*} 
    186204 
    187 This formulation does not conserve the enstrophy but the total kinetic  
    188 energy. It is also possible to mix the two formulations in order to conserve  
    189 enstrophy on the relative vorticity term and energy on the Coriolis term. 
     205This formulation does not conserve the enstrophy but it does conserve the  
     206total kinetic energy. It is also possible to mix the two formulations in order  
     207to conserve enstrophy on the relative vorticity term and energy on the  
     208Coriolis term. 
    190209\begin{flalign*} 
    191210&\int\limits_D - \textbf{U}_h \cdot   \left(  \zeta \;\textbf{k} \times \textbf{U}_h  \right)  \;  dv &&  \\ 
     
    219238 = - \int_D \textbf{U}_h \cdot w \frac{\partial \textbf{U}_h} {\partial k}\;dv 
    220239\end{equation*} 
    221 Indeed, using successively \eqref{DOM_di_adj} ($i.e.$ the skew symmetry property of the $\delta$ operator) and the incompressibility, then again \eqref{DOM_di_adj}, then  
    222 the commutativity of operators $\overline {\,\cdot \,}$ and $\delta$, and finally \eqref{DOM_mi_adj} ($i.e.$ the  symmetry property of the $\overline {\,\cdot \,}$ operator) applied in the horizontal and vertical direction, it becomes: 
     240Indeed, using successively \eqref{DOM_di_adj} ($i.e.$ the skew symmetry  
     241property of the $\delta$ operator) and the incompressibility, then  
     242\eqref{DOM_di_adj} again, then the commutativity of operators  
     243$\overline {\,\cdot \,}$ and $\delta$, and finally \eqref{DOM_mi_adj}  
     244($i.e.$ the symmetry property of the $\overline {\,\cdot \,}$ operator)  
     245applied in the horizontal and vertical directions, it becomes: 
    223246\begin{flalign*} 
    224247&\int_D \textbf{U}_h \cdot \nabla_h \left( \frac{1}{2}\;{\textbf{U}_h}^2 \right)\;dv   &&&\\ 
     
    252275   \biggl\{  \overline {e_{1T}\,e_{2T} \,w}^{\,i+1/2}\;2     
    253276         \overline {u}^{\,k+1/2}\; \delta_{k+1/2}         \left[ u \right]     %&&&  \\ 
    254     + \overline {e_{1T}\,e_{2T} \,w}^{\,j+1/2}\;2  \overline {v}^{\,k+1/2}\; \delta_{k+1/2}        \left[ v \right]  \; 
     277    + \overline {e_{1T}\,e_{2T} \,w}^{\,j+1/2}\;2  \overline {v}^{\,k+1/2}\; \delta_{k+1/2}  \left[ v \right]  \; 
    255278   \biggr\}  
    256279   &&\displaybreak[0] \\  
     
    272295\end{flalign*} 
    273296 
    274 The main point here is that the satisfaction of this property links the choice of the discrete formulation of vertical advection and of horizontal gradient of KE. Choosing one imposes the other. For example KE can also be discretized as $1/2\,({\overline u^{\,i}}^2 + {\overline v^{\,j}}^2)$. This leads to the following expression for the vertical advection: 
     297The main point here is that the satisfaction of this property links the choice of  
     298the discrete formulation of the vertical advection and of the horizontal gradient  
     299of KE. Choosing one imposes the other. For example KE can also be discretized  
     300as $1/2\,({\overline u^{\,i}}^2 + {\overline v^{\,j}}^2)$. This leads to the following  
     301expression for the vertical advection: 
    275302\begin{equation*} 
    276303\frac{1} {e_3 }\; w\; \frac{\partial \textbf{U}_h } {\partial k} 
     
    284311\end{array}} } \right) 
    285312\end{equation*} 
    286 a formulation that requires a additional horizontal mean compare to the one used in NEMO. Nine velocity points have to be used instead of 3. This is the reason why it has not been choosen. 
     313a formulation that requires an additional horizontal mean in contrast with  
     314the one used in NEMO. Nine velocity points have to be used instead of 3.  
     315This is the reason why it has not been chosen. 
    287316 
    288317% ------------------------------------------------------------------------------------------------------------- 
     
    298327\label{Apdx_C.1.3.1}  
    299328 
    300 In flux from the vorticity term reduces to a Coriolis term in which the Coriolis parameter has been modified to account for the ``metric'' term. This altered Coriolis parameter is discretised at F-point. It is given by:  
     329In flux from the vorticity term reduces to a Coriolis term in which the Coriolis  
     330parameter has been modified to account for the ``metric'' term. This altered  
     331Coriolis parameter is discretised at an f-point. It is given by:  
    301332\begin{equation*} 
    302333f+\frac{1} {e_1 e_2 }  
     
    308339\end{equation*} 
    309340 
    310 The ENE scheme is then applied to obtain the vorticity term in flux form. It therefore conserves the total KE. The demonstration is same as for the vorticity term in vector invariant form (\S\ref{Apdx_C_vor}). 
     341The ENE scheme is then applied to obtain the vorticity term in flux form.  
     342It therefore conserves the total KE. The derivation is the same as for the  
     343vorticity term in the vector invariant form (\S\ref{Apdx_C_vor}). 
    311344 
    312345% ------------------------------------------------------------------------------------------------------------- 
     
    316349\label{Apdx_C.1.3.2}  
    317350 
    318 The flux form operator of the momentum advection is evaluated using a centered second order finite difference scheme. Because of the flux form, the discrete operator does not contribute to the global budget of linear momentum. Because of the centered second order scheme, it conserves the horizontal kinetic energy, that is : 
     351The flux form operator of the momentum advection is evaluated using a  
     352centered second order finite difference scheme. Because of the flux form,  
     353the discrete operator does not contribute to the global budget of linear  
     354momentum. Because of the centered second order scheme, it conserves  
     355the horizontal kinetic energy, that is : 
    319356 
    320357\begin{equation} \label{Apdx_C_I.3.10} 
     
    326363\end{equation} 
    327364 
    328 Let us demonstrate this property for the first term of the scalar product (i.e. considering just the the terms associated with the i-component of the advection): 
     365Let us demonstrate this property for the first term of the scalar product  
     366($i.e.$ considering just the the terms associated with the i-component of  
     367the advection): 
    329368\begin{flalign*} 
    330369&\int_D u \cdot \nabla \cdot \left(   \textbf{U}\,u   \right) \; dv    &&&\\ 
     
    382421\end{flalign*} 
    383422 
    384 When the UBS scheme is used to evaluate the flux form momentum advection, the discrete operator does not contribute to the global budget of linear momentum (flux form). The horizontal kinetic energy is not conserved, but forced to decrease (the scheme is diffusive).  
     423When the UBS scheme is used to evaluate the flux form momentum advection,  
     424the discrete operator does not contribute to the global budget of linear momentum  
     425(flux form). The horizontal kinetic energy is not conserved, but forced to decay  
     426($i.e.$ the scheme is diffusive).  
    385427 
    386428% ------------------------------------------------------------------------------------------------------------- 
     
    391433 
    392434 
    393 A pressure gradient has no contribution to the evolution of the vorticity as the curl of a gradient is zero. In $z$-coordinate, this properties is satisfied locally on a C-grid with 2nd order finite differences (property \eqref{Eq_DOM_curl_grad}). When the equation of state is linear ($i.e.$ when an advective-diffusive equation for density can be derived from those of temperature and salinity) the change of KE due to the work of pressure forces is balanced by the change of potential energy due to buoyancy forces:  
     435A pressure gradient has no contribution to the evolution of the vorticity as the  
     436curl of a gradient is zero. In the $z$-coordinate, this property is satisfied locally  
     437on a C-grid with 2nd order finite differences (property \eqref{Eq_DOM_curl_grad}).  
     438When the equation of state is linear ($i.e.$ when an advection-diffusion equation  
     439for density can be derived from those of temperature and salinity) the change of  
     440KE due to the work of pressure forces is balanced by the change of potential  
     441energy due to buoyancy forces:  
    394442\begin{equation*} 
    395443\int_D - \frac{1} {\rho_o} \left. \nabla p^h \right|_z \cdot \textbf{U}_h \;dv  
     
    397445\end{equation*} 
    398446 
    399 This property can be satisfied in discrete sense for both $z$- and $s$-coordinates. Indeed, defining the depth of a $T$-point, $z_T$ defined as the sum of the vertical scale factors at $w$-points starting from the surface, the workof pressure forces can be written as: 
     447This property can be satisfied in a discrete sense for both $z$- and $s$-coordinates.  
     448Indeed, defining the depth of a $T$-point, $z_T$, as the sum of the vertical scale  
     449factors at $w$-points starting from the surface, the work of pressure forces can be  
     450written as: 
    400451\begin{flalign*} 
    401452&\int_D - \frac{1} {\rho_o} \left. \nabla p^h \right|_z \cdot \textbf{U}_h \;dv   &&& \\ 
     
    410461\end{flalign*} 
    411462 
    412 Using  \eqref{DOM_di_adj}, $i.e.$ the skew symmetry property of the $\delta$ operator, \eqref{Eq_wzv}, the continuity equation), and \eqref{Eq_dynhpg_sco}, the hydrostatic  
    413 equation in $s$-coordinate, it turns out to be:  
     463Using  \eqref{DOM_di_adj}, $i.e.$ the skew symmetry property of the $\delta$  
     464operator, \eqref{Eq_wzv}, the continuity equation), and \eqref{Eq_dynhpg_sco},  
     465the hydrostatic equation in the $s$-coordinate, it becomes:  
    414466\begin{flalign*}  
    415467\equiv& \frac{1} {\rho_o} \sum\limits_{i,j,k}    \biggl\{  
     
    467519\end{flalign*} 
    468520 
    469 Note that this property strongly constraints the discrete expression of both  
    470 the depth of $T-$points and of the term added to the pressure gradient in  
    471 $s$-coordinate. Nevertheless, it is almost never satisfied as a linear equation of state  
    472 is rarely used. 
     521Note that this property strongly constrains the discrete expression of both  
     522the depth of $T-$points and of the term added to the pressure gradient in the 
     523$s$-coordinate. Nevertheless, it is almost never satisfied since a linear equation  
     524of state is rarely used. 
    473525 
    474526% ------------------------------------------------------------------------------------------------------------- 
     
    479531 
    480532 
    481 The surface pressure gradient has no contribution to the evolution of the vorticity. This property is trivially satisfied locally as the equation verified by $\psi $ has been derived from the discrete formulation of the momentum equation and of the curl. But it has to be noticed that since the elliptic equation verified by $\psi $ is solved numerically by an iterative solver (preconditioned conjugate gradient or successive over relaxation), the  
    482 property is only satisfied at the precision required on the solver used. 
    483  
    484 With the rigid-lid approximation, the change of KE due to the work of surface pressure forces is exactly zero. This is satisfied in discrete form, at the precision required on the elliptic solver used to solve this equation. This can be demonstrated as follows: 
     533The surface pressure gradient has no contribution to the evolution of the vorticity.  
     534This property is trivially satisfied locally since the equation verified by $\psi$ has  
     535been derived from the discrete formulation of the momentum equation and of the curl.  
     536But it has to be noted that since the elliptic equation satisfied by $\psi$ is solved  
     537numerically by an iterative solver (preconditioned conjugate gradient or successive  
     538over relaxation), the property is only satisfied at the precision requested for the  
     539solver used. 
     540 
     541With the rigid-lid approximation, the change of KE due to the work of surface  
     542pressure forces is exactly zero. This is satisfied in discrete form, at the precision  
     543requested for the elliptic solver used to solve this equation. This can be  
     544demonstrated as follows: 
    485545\begin{flalign*} 
    486546\int\limits_D  - \frac{1} {\rho_o} \nabla_h \left( p_s \right) \cdot \textbf{U}_h \;dv%   &&& \\ 
     
    503563   && \\  
    504564% 
    505 \intertext{using the relation between \textit{$\psi $} and the vertically sum of the velocity, it becomes:} 
     565\intertext{using the relation between \textit{$\psi $} and the vertical sum of the velocity, it becomes:} 
    506566% 
    507567&\equiv \sum\limits_{i,j}  
     
    537597\end{flalign*} 
    538598 
    539 The last equality is obtained using \eqref{Eq_dynspg_rl}, the discrete barotropic streamfunction time evolution equation. By the way, this shows that \eqref{Eq_dynspg_rl} is the only way do compute the streamfunction, otherwise the surface pressure forces will work. Nevertheless, since the elliptic equation verified by $\psi $ is solved numerically by an iterative solver, the property is only satisfied at the precision required on the solver. 
     599The last equality is obtained using \eqref{Eq_dynspg_rl}, the discrete barotropic  
     600streamfunction time evolution equation. By the way, this shows that  
     601\eqref{Eq_dynspg_rl} is the only way to compute the streamfunction,  
     602otherwise the surface pressure forces will do work. Nevertheless, since  
     603the elliptic equation satisfied by $\psi $ is solved numerically by an iterative  
     604solver, the property is only satisfied at the precision requested for the solver. 
    540605 
    541606% ================================================================ 
     
    546611 
    547612 
    548 All the numerical schemes used in NEMO are written such that the tracer content is conserved by the internal dynamics and physics (equations in flux form). For advection, only the CEN2 scheme ($i.e.$ 2nd order finite different scheme) conserves the global variance of tracer. Nevertheless the other schemes ensure that the global variance decreases ($i.e.$ they are at least slightly diffusive). For diffusion, all the schemes ensure the decrease of the total tracer variance, but the iso-neutral operator. There is generally no strict conservation of mass, as the equation of state is non linear with respect to $T$ and $S$. In practice, the mass is conserved with a very good accuracy.  
     613All the numerical schemes used in NEMO are written such that the tracer content  
     614is conserved by the internal dynamics and physics (equations in flux form).  
     615For advection, only the CEN2 scheme ($i.e.$ $2^{nd}$ order finite different scheme)  
     616conserves the global variance of tracer. Nevertheless the other schemes ensure  
     617that the global variance decreases ($i.e.$ they are at least slightly diffusive).  
     618For diffusion, all the schemes ensure the decrease of the total tracer variance,  
     619except the iso-neutral operator. There is generally no strict conservation of mass,  
     620as the equation of state is non linear with respect to $T$ and $S$. In practice,  
     621the mass is conserved to a very high accuracy.  
    549622% ------------------------------------------------------------------------------------------------------------- 
    550623%       Advection Term 
     
    553626\label{Apdx_C.2.1} 
    554627 
    555 Whatever the advection scheme considered it conserves of the tracer content as all the scheme are written in flux form. Let $\tau$ be the tracer interpolated at velocity point (whatever the interpolation is). The conservation of the tracer content is obtained as follows:  
     628Whatever the advection scheme considered it conserves of the tracer content as all  
     629the scheme are written in flux form. Let $\tau$ be the tracer interpolated at velocity point  
     630(whatever the interpolation is). The conservation of the tracer content is obtained as follows:  
    556631\begin{flalign*} 
    557632&\int_D \nabla \cdot \left( T \textbf{U} \right)\;dv    &&&\\ 
     
    571646\end{flalign*} 
    572647 
    573 The conservation of the variance of tracer can be achieved only with the CEN2 scheme. It can be demonstarted as follows: 
     648The conservation of the variance of tracer can be achieved only with the CEN2 scheme.  
     649It can be demonstarted as follows: 
    574650\begin{flalign*} 
    575651&\int\limits_D T\;\nabla \cdot \left( T\; \textbf{U} \right)\;dv &&&\\ 
     
    614690 
    615691The discrete formulation of the horizontal diffusion of momentum ensures the  
    616 conservation of potential vorticity and horizontal divergence and the  
     692conservation of potential vorticity and the horizontal divergence, and the  
    617693dissipation of the square of these quantities (i.e. enstrophy and the  
    618694variance of the horizontal divergence) as well as the dissipation of the  
     
    623699horizontal divergence) and \textit{vice versa}.  
    624700 
    625 These properties of the horizontal diffusive operator are a direct  
    626 consequence of properties \eqref{Eq_DOM_curl_grad} and \eqref{Eq_DOM_div_curl}. When the vertical curl of the horizontal diffusion of momentum (discrete sense) is taken, the term associated to the horizontal gradient of the divergence is zero locally.  
     701These properties of the horizontal diffusion operator are a direct consequence  
     702of properties \eqref{Eq_DOM_curl_grad} and \eqref{Eq_DOM_div_curl}.  
     703When the vertical curl of the horizontal diffusion of momentum (discrete sense)  
     704is taken, the term associated with the horizontal gradient of the divergence is  
     705locally zero.  
    627706 
    628707% ------------------------------------------------------------------------------------------------------------- 
     
    789868 
    790869When the horizontal divergence of the horizontal diffusion of momentum  
    791 (discrete sense) is taken, the term associated to the vertical curl of the  
    792 vorticity is zero locally, due to (II.1.8). The resulting term conserves the  
     870(discrete sense) is taken, the term associated with the vertical curl of the  
     871vorticity is zero locally, due to (!!! II.1.8  !!!!!). The resulting term conserves the  
    793872$\chi$ and dissipates $\chi^2$ when the eddy coefficients are  
    794873horizontally uniform. 
     
    873952 
    874953 
    875 As for the lateral momentum physics, the continuous form of the vertical diffusion of momentum satisfies the several integral constraints. The first two are associated to the conservation of momentum and the dissipation of horizontal kinetic energy: 
     954As for the lateral momentum physics, the continuous form of the vertical diffusion  
     955of momentum satisfies several integral constraints. The first two are associated  
     956with the conservation of momentum and the dissipation of horizontal kinetic energy: 
    876957\begin{align*} 
    877958 \int\limits_D   
     
    9231004   &&&\\  
    9241005% 
    925 \intertext{as the horizontal scale factor do not depend on $k$, it follows:} 
     1006\intertext{since the horizontal scale factor does not depend on $k$, it follows:} 
    9261007% 
    9271008&\equiv - \sum\limits_{i,j,k}  
     
    9821063\end{flalign*} 
    9831064If the vertical diffusion coefficient is uniform over the whole domain, the  
    984 enstrophy is dissipated, i.e. 
     1065enstrophy is dissipated, $i.e.$ 
    9851066\begin{flalign*} 
    9861067\int\limits_D \zeta \, \textbf{k} \cdot \nabla \times  
     
    10531134   &&\\  
    10541135\end{flalign*} 
    1055 Using the fact that the vertical diffusive coefficients are uniform and that in $z$-coordinates, the vertical scale factors do not depends on $i$ and $j$ so that: $e_{3f} =e_{3u} =e_{3v} =e_{3T} $ and $e_{3w} =e_{3uw} =e_{3vw} $, it follows: 
     1136Using the fact that the vertical diffusion coefficients are uniform, and that in  
     1137$z$-coordinate, the vertical scale factors do not depend on $i$ and $j$ so  
     1138that: $e_{3f} =e_{3u} =e_{3v} =e_{3T} $ and $e_{3w} =e_{3uw} =e_{3vw} $,  
     1139it follows: 
    10561140\begin{flalign*} 
    10571141\equiv A^{\,vm} \sum\limits_{i,j,k} \zeta \;\delta_k  
     
    10901174   &&&\\ 
    10911175\end{flalign*} 
    1092 and the square of the horizontal divergence decreases (i.e. the horizontal divergence is dissipated) if vertical diffusion coefficient is uniform over the whole domain: 
     1176and the square of the horizontal divergence decreases ($i.e.$ the horizontal  
     1177divergence is dissipated) if the vertical diffusion coefficient is uniform over the  
     1178whole domain: 
    10931179 
    10941180\begin{flalign*} 
     
    11031189   &&&\\ 
    11041190\end{flalign*} 
    1105 This property is only satisfied in $z$-coordinates: 
    1106  
     1191This property is only satisfied in the $z$-coordinate: 
    11071192\begin{flalign*} 
    11081193\int\limits_D \chi \;\nabla \cdot  
     
    12091294\label{Apdx_C.5} 
    12101295 
    1211  
    1212  
    1213 The numerical schemes used for tracer subgridscale physics are written such that the heat and salt contents are conserved (equations in flux form, second order centered finite differences). As a form flux is used to compute the temperature and salinity, the quadratic form of these quantities (i.e. their variance) globally tends to diminish. As for the advection term, there is generally no strict conservation of mass even if, in practice, the mass is conserved with a very good accuracy.  
     1296The numerical schemes used for tracer subgridscale physics are written such  
     1297that the heat and salt contents are conserved (equations in flux form, second  
     1298order centered finite differences). Since a flux form is used to compute the  
     1299temperature and salinity, the quadratic form of these quantities (i.e. their variance)  
     1300globally tends to diminish. As for the advection term, there is generally no strict  
     1301conservation of mass, even if in practice the mass is conserved to a very high  
     1302accuracy.  
    12141303 
    12151304% ------------------------------------------------------------------------------------------------------------- 
     
    12451334\end{flalign*} 
    12461335 
    1247 In fact, this property is simply resulting from the flux form of the operator.  
     1336In fact, this property simply results from the flux form of the operator.  
    12481337 
    12491338% ------------------------------------------------------------------------------------------------------------- 
     
    12531342\label{Apdx_C.5.2} 
    12541343 
    1255 constraint of dissipation of tracer variance: 
     1344constraint on the dissipation of tracer variance: 
    12561345\begin{flalign*} 
    12571346\int\limits_D T\;\nabla & \cdot \left( A\;\nabla T \right)\;dv &&&\\  
Note: See TracChangeset for help on using the changeset viewer.