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 2223 – NEMO

Changeset 2223


Ignore:
Timestamp:
2010-10-12T15:53:23+02:00 (14 years ago)
Author:
sga
Message:

NEMO branch DEV_r1826_DOC
Edits to DYN chapter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1826_DOC/DOC/TexFiles/Chapters/Chap_DYN.tex

    r2197 r2223  
    1111$\ $\newline      %force an empty line 
    1212 
    13 Using the representation described in Chap.\ref{DOM}, several semi-discrete  
     13Using the representation described in Chapter \ref{DOM}, several semi-discrete  
    1414space forms of the dynamical equations are available depending on the vertical  
    1515coordinate used and on the conservation properties of the vorticity term. In all  
    1616the equations presented here, the masking has been omitted for simplicity.  
    17 One must be aware that all the quantities are masked fields and that each time a  
     17One must be aware that all the quantities are masked fields and that each time an 
    1818average or difference operator is used, the resulting field is multiplied by a mask. 
    1919 
     
    2525\end{equation*} 
    2626NXT stands for next, referring to the time-stepping. The first group of terms on  
    27 the rhs of the momentum equations corresponds to the Coriolis and advection  
     27the rhs of the this equation corresponds to the Coriolis and advection  
    2828terms that are decomposed into a vorticity part (VOR), a kinetic energy part (KEG)  
    29 and, a vertical advection part (ZAD) in the vector invariant formulation or a Coriolis  
     29and, either a vertical advection part (ZAD) in the vector invariant formulation, or a Coriolis  
    3030and advection part (COR+ADV) in the flux formulation. The terms following these  
    3131are the pressure gradient contributions (HPG, Hydrostatic Pressure Gradient,  
     
    3939 
    4040In the present chapter we also describe the diagnostic equations used to compute  
    41 the horizontal divergence and curl of the velocities (\emph{divcur} module) as well  
    42 as the vertical velocity (\emph{wzvmod} module). 
     41the horizontal divergence, curl of the velocities (\emph{divcur} module) and  
     42the vertical velocity (\emph{wzvmod} module). 
    4343 
    4444The different options available to the user are managed by namelist variables.  
    45 For equation term \textit{ttt}, the logical namelist variables are \textit{ln\_dynttt\_xxx},  
     45For term \textit{ttt} in the momentum equations, the logical namelist variables are \textit{ln\_dynttt\_xxx},  
    4646where \textit{xxx} is a 3 or 4 letter acronym corresponding to each optional scheme.  
    4747If a CPP key is used for this term its name is \textbf{key\_ttt}. The corresponding  
     
    4949usually computed in the \textit{dyn\_ttt\_xxx} subroutine. 
    5050 
    51 The user has the option of extracting each tendency term of both the rhs of the  
    52 3D momentum equation (\key{trddyn} defined) for output, as described in  
    53 Chap.\ref{MISC}.  Furthermore, the tendency terms associated to the 2D  
    54 barotropic vorticity balance (\key{trdvor} defined) can be derived on-line from the  
     51The user has the option of extracting and outputting each tendency term from the 
     523D momentum equations (\key{trddyn} defined), as described in  
     53Chap.\ref{MISC}.  Furthermore, the tendency terms associated with the 2D  
     54barotropic vorticity balance (when \key{trdvor} is defined) can be derived from the  
    55553D terms. 
    5656%%% 
     
    8686\end{equation}  
    8787 
    88 Note that in the $z$-coordinate with full step (\key{zco} is defined),  
    89 $e_{3u}$=$e_{3v}$=$e_{3f}$ so that they cancel in \eqref{Eq_divcur_div}. 
    90  
    91 Note also that whereas the vorticity have the same discrete expression in $z$-  
    92 and $s$-coordinate, its physical meaning is not identical. $\zeta$ is a pseudo  
     88Note that in the $z$-coordinate with full step (when \key{zco} is defined),  
     89$e_{3u}$=$e_{3v}$=$e_{3f}$ so that these metric terms cancel in \eqref{Eq_divcur_div}. 
     90 
     91Note also that although the vorticity has the same discrete expression in $z$-  
     92and $s$-coordinates, its physical meaning is not identical. $\zeta$ is a pseudo  
    9393vorticity along $s$-surfaces (only pseudo because $(u,v)$ are still defined along  
    94 geopotential surfaces, but are no more necessary defined at the same depth). 
     94geopotential surfaces, but are not necessarily defined at the same depth). 
    9595 
    9696The vorticity and divergence at the \textit{before} step are used in the computation  
     
    121121where \textit{emp} is the surface freshwater budget (evaporation minus precipitation),  
    122122expressed in Kg/m$^2$/s (which is equal to mm/s), and $\rho _w$=1,000~Kg/m$^3$  
    123 is the volumic mass of pure water. If river runoff is expressed as a surface freshwater  
     123is the density of pure water. If river runoff is expressed as a surface freshwater  
    124124flux (see \S\ref{SBC}) then \textit{emp} can be written as the evaporation minus  
    125125precipitation, minus the river runoff. The sea-surface height is evaluated  
    126 using exactly the same time stepping as the tracer equation \eqref{Eq_tra_nxt}:  
     126using exactly the same time stepping scheme as the tracer equation \eqref{Eq_tra_nxt}:  
    127127a leapfrog scheme in combination with an Asselin time filter, $i.e.$ the velocity appearing  
    128128in \eqref{Eq_dynspg_ssh} is centred in time (\textit{now} velocity).  
    129 This is of paramount importance. Substituing $T$ by $1$ in the tracer equation and summing 
     129This is of paramount importance. Replacing $T$ by the number $1$ in the tracer equation and summing 
    130130over the water column must lead to the sea surface height equation otherwise tracer content 
    131 could not be conserved \ref{Griffies_al_MWR01, LeclairMadec2009}. 
     131will not be conserved \ref{Griffies_al_MWR01, LeclairMadec2009}. 
    132132 
    133133The vertical velocity is computed by an upward integration of the horizontal  
    134 divergence from the bottom, taken into account the change of the thickness of the levels : 
     134divergence starting at the bottom, taking into account the change of the thickness of the levels : 
    135135 
    136136\begin{equation} \label{Eq_wzv} 
    137137\left\{   \begin{aligned} 
    138138&\left. w \right|_{3/2} \quad= 0    \\ 
    139 &\left. w \right|_{k+1/2}     = \left. w \right|_{k+1/2}  + e_{3t}\;  \left. \chi \right|_k   
     139&\left. w \right|_{k+1/2}     = \left. w \right|_{k-1/2}  + e_{3t}\;  \left. \chi \right|_k   
    140140                                         - \frac{ e_{3t}^{t+1} - e_{3t}^{t-1} } {2 \rdt} 
    141141\end{aligned}   \right. 
    142142\end{equation} 
    143  
    144 In case of a non-linear free surface (\key{vvl}), the top vertical velocity is $-\textit{emp}/\rho_w$,  
    145 as changes in the the divergence of the barotropic transport is absorbed in the change  
    146 of the levels thickness.re-oriented downward co 
    147 In case of linear free surface, the time derivative in \eqref{Eq_wzv} cancel out. 
     143\sgacomment{should e3t involve k in this equation?} 
     144 
     145In the case of a non-linear free surface (\key{vvl}), the top vertical velocity is $-\textit{emp}/\rho_w$,  
     146as changes in the divergence of the barotropic transport are absorbed into the change  
     147of the level thicknesses, re-orientated downward. 
     148In the case of a linear free surface, the time derivative in \eqref{Eq_wzv} disappears. 
    148149The upper boundary condition applies at a fixed level $z=0$. The top vertical velocity  
    149150is thus equal to the divergence of the barotropic transport ($i.e.$ the first term in the 
     
    151152 
    152153Note also that whereas the vertical velocity has the same discrete  
    153 expression in $z$- and $s$-coordinate, its physical meaning is not the same:  
     154expression in $z$- and $s$-coordinates, its physical meaning is not the same:  
    154155in the second case, $w$ is the velocity normal to the $s$-surfaces.  
    155 Note also that the $k$-axis is re-oriented downward in the \textsc{fortran} code compare  
     156Note also that the $k$-axis is re-orientated downwards in the \textsc{fortran} code compared  
    156157to the indexing used in the semi-discrete equations such as \eqref{Eq_wzv}  
    157158(see  \S\ref{DOM_Num_Index_vertical}).  
     
    168169 
    169170The vector invariant form of the momentum equations is the one most  
    170 often used in applications of \NEMO ocean model. The flux form option  
    171 (see next section) has been introduced since version $2$.  
     171often used in applications of the \NEMO ocean model. The flux form option  
     172(see next section) has been present since version $2$.  
    172173Coriolis and momentum advection terms are evaluated using a leapfrog  
    173174scheme, $i.e.$ the velocity appearing in these expressions is centred in  
     
    194195The vorticity terms are given below for the general case, but note that in the full step  
    195196$z$-coordinate (\key{zco} is defined), $e_{3u}$=$e_{3v}$=$e_{3f}$ so that the vertical scale  
    196 factors disappear. They are all computed in dedicated routines that can be found in  
     197factors disappear. The vorticity terms are all computed in dedicated routines that can be found in  
    197198the \mdl{dynvor} module. 
    198199 
     
    241242\label{DYN_vor_mix} 
    242243 
    243 The mixed energy/enstrophy conserving scheme (MIX scheme), a mixture of the  
     244For the mixed energy/enstrophy conserving scheme (MIX scheme), a mixture of the  
    244245two previous schemes is used. It consists of the ENS scheme (\ref{Eq_dynvor_ens})  
    245 to the relative vorticity term, and of the ENE scheme (\ref{Eq_dynvor_ene}) applied  
     246for the relative vorticity term, and of the ENE scheme (\ref{Eq_dynvor_ene}) applied  
    246247to the planetary vorticity term. 
    247248\begin{equation} \label{Eq_dynvor_mix} 
     
    267268averages of the velocity allows for the presence of grid point oscillation structures  
    268269that will be invisible to the operator. These structures are \textit{computational modes}  
    269 that will beat least partly damped by the momentum diffusive operator ($i.e.$ the  
    270 subgrid-scale advection), but not by the resolved advection term. These two schemes 
    271 therefore do not contribute to dump grid point noise in the horizontal velocity field,  
    272 which results in more noise in vertical velocity field, an undesired feature. This is a well-known  
    273 characteristics of $C$-grid discretization where $u$ and $v$ are located at different grid point, 
    274 a price to pay to avoid a double averaging on the pressure gradient term as in $B$-grid.  
    275 To circumvent this, Adcroft (ADD REF HERE)  
    276 we have proposed to introduce a second velocity ... blahblah....  
    277  
    278 Nevertheless, this technique strongly distort the phase and group velocity of Rossby waves.... 
    279  
    280 A very nice solution to that problem was proposed by \citet{Arakawa_Hsu_MWR90}. The idea is 
     270that will be at least partly damped by the momentum diffusion operator ($i.e.$ the  
     271subgrid-scale advection), but not by the resolved advection term. The ENS and ENE schemes 
     272therefore do not contribute to any grid point noise in the horizontal velocity field. 
     273Such noise would result in more noise in the vertical velocity field, an undesirable feature. This is a well-known  
     274characteristic of $C$-grid discretization where $u$ and $v$ are located at different grid points, 
     275a price worth paying to avoid a double averaging in the pressure gradient term as in the $B$-grid.  
     276\gmcomment{ To circumvent this, Adcroft (ADD REF HERE)  
     277 
     278Nevertheless, this technique strongly distort the phase and group velocity of Rossby waves....} 
     279 
     280A very nice solution to the problem of double averaging was proposed by \citet{Arakawa_Hsu_MWR90}. The idea is 
    281281to get rid of the double averaging by considering triad combinations of vorticity.  
    282282It is noteworthy that this solution is conceptually quite similar to the one proposed by 
    283 \citep{Griffies_al_JPO98} for the discretization of the iso-neutral diffusive operator. 
     283\citep{Griffies_al_JPO98} for the discretization of the iso-neutral diffusion operator. 
    284284 
    285285The \citet{Arakawa_Hsu_MWR90} vorticity advection scheme for a single layer is modified  
    286286for spherical coordinates as described by \citet{Arakawa_Lamb_MWR81} to obtain the EEN scheme.  
    287 Let first provides the discrete expression of the potential vorticity, $q$, defined at an $f$-point:  
     287First consider the discrete expression of the potential vorticity, $q$, defined at an $f$-point:  
    288288\begin{equation} \label{Eq_pot_vor} 
    289289q  = \frac{\zeta +f} {e_{3f} } 
     
    305305%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    306306 
    307 Note that a key point in \eqref{Eq_een_e3f} is that the averaging in \textbf{i}- and  
     307Note that a key point in \eqref{Eq_een_e3f} is that the averaging in the \textbf{i}- and  
    308308\textbf{j}- directions uses the masked vertical scale factor but is always divided by  
    309 $4$, not by the sum of the mask at $T$-point. This preserves the continuity of  
     309$4$, not by the sum of the masks at the four $T$-points. This preserves the continuity of  
    310310$e_{3f}$ when one or more of the neighbouring $e_{3t}$ tends to zero and  
    311 extends by continuity the value of $e_{3f}$ in the land areas. This feature is essential for  
    312 $z$-coordinate with partial step. 
    313  
    314  
    315 Then, the vorticity triads, $ {^i_j}\mathbb{Q}^{i_p}_{j_p}$ can be defined at $T$-point as  
    316 the following triad combinations of the neighbouring potential vorticities defined at f-point  
     311extends by continuity the value of $e_{3f}$ into the land areas. This feature is essential for  
     312the $z$-coordinate with partial steps. 
     313 
     314 
     315Next, the vorticity triads, $ {^i_j}\mathbb{Q}^{i_p}_{j_p}$ can be defined at a $T$-point as  
     316the following triad combinations of the neighbouring potential vorticities defined at f-points  
    317317(Fig.~\ref{Fig_DYN_een_triad}):  
    318318\begin{equation} \label{Q_triads} 
     
    320320= \frac{1}{12} \ \left(   q^{i-i_p}_{j+j_p} + q^{i+j_p}_{j+i_p} + q^{i+i_p}_{j-j_p}  \right) 
    321321\end{equation} 
    322 where the indices $i_p$ and $k_p$ take the following value: $i_p = -1/2$ or $1/2$ and $j_p = -1/2$ or $1/2$.  
    323  
    324 The vorticity terms are represented as:  
     322where the indices $i_p$ and $k_p$ take the values: $i_p = -1/2$ or $1/2$ and $j_p = -1/2$ or $1/2$.  
     323 
     324Finally, the vorticity terms are represented as:  
    325325\begin{equation} \label{Eq_dynvor_een} 
    326326\left\{ { 
     
    334334\end{equation}  
    335335 
    336 This EEN scheme in fact combines the conservation properties of ENS and ENE schemes.  
     336This EEN scheme in fact combines the conservation properties of the ENS and ENE schemes.  
    337337It conserves both total energy and potential enstrophy in the limit of horizontally  
    338338nondivergent flow ($i.e.$ $\chi$=$0$) (see  Appendix~\ref{Apdx_C_vor_zad}).  
    339 Applied to a realistic ocean configuration, it has been shown that its larger mantis 
     339Applied to a realistic ocean configuration, it has been shown that it 
    340340leads to a significant reduction of the noise in the vertical velocity field \citep{Le_Sommer_al_OM09}.  
    341 Furthermore, used in combination with partial step representation of bottom topography, 
     341Furthermore, used in combination with a partial steps representation of bottom topography, 
    342342it improves the interaction between current and topography, leading to a larger 
    343343topostrophy of the flow  \citep{Barnier_al_OD06, Penduff_al_OS07}.  
     
    350350\label{DYN_keg} 
    351351 
    352 As demonstarted in Appendix~\ref{Apdx_C}, there is a single discrete formulation  
     352As demonstrated in Appendix~\ref{Apdx_C}, there is a single discrete formulation  
    353353of the kinetic energy gradient term that, together with the formulation chosen for  
    354354the vertical advection (see below), conserves the total kinetic energy: 
     
    492492permitted. But the amplitudes of the false extrema are significantly reduced over  
    493493those in the centred second order method. As the scheme already includes  
    494 a diffusive component, it can be used without explicit  lateral diffusion on moment  
     494a diffusion component, it can be used without explicit  lateral diffusion on momentum  
    495495($i.e.$ \np{ln\_dynldf\_lap}=\np{ln\_dynldf\_bilap}=false), and it is recommended to do so. 
    496496 
     
    503503For stability reasons,  the first term in (\ref{Eq_dynadv_ubs}), which corresponds  
    504504to a second order centred scheme, is evaluated using the \textit{now} velocity  
    505 (centred in time), while the second term, which is the diffusive part of the scheme,  
     505(centred in time), while the second term, which is the diffusion part of the scheme,  
    506506is evaluated using the \textit{before} velocity (forward in time). This is discussed  
    507507by \citet{Webb_al_JAOT98} in the context of the Quick advection scheme. 
    508508 
    509 Note that the UBS and Quadratic Upstream Interpolation for Convective Kinematics  
    510 (QUICK) schemes only differ by one coefficient. Substituting $1/6$ with $1/8$ in  
     509Note that the UBS and QUICK (Quadratic Upstream Interpolation for Convective Kinematics)  
     510schemes only differ by one coefficient. Replacing $1/6$ by $1/8$ in  
    511511(\ref{Eq_dynadv_ubs}) leads to the QUICK advection scheme \citep{Webb_al_JAOT98}.  
    512512This option is not available through a namelist parameter, since the $1/6$ coefficient  
    513 is hard coded. Nevertheless it is quite easy to make the substitution in  
     513is hard coded. Nevertheless it is quite easy to make the substitution in the 
    514514\mdl{dynadv\_ubs} module and obtain a QUICK scheme. 
    515515 
     
    610610\label{DYN_hpg_sco} 
    611611 
    612 Pressure gradient formulations in $s$-coordinate have been the subject of a vast  
    613 literature ($e.g.$, \citet{Song1998, Shchepetkin_McWilliams_OM05}).  
     612Pressure gradient formulations in an $s$-coordinate have been the subject of a vast  
     613number of papers ($e.g.$, \citet{Song1998, Shchepetkin_McWilliams_OM05}).  
    614614A number of different pressure gradient options are coded, but they are not yet fully  
    615615documented or tested.  
     
    656656above is the  \textit{now} density, computed from the \textit{now} temperature and  
    657657salinity. In some specific cases (usually high resolution simulations over an ocean  
    658 domain which includes weakly stratified regions) the physical phenomenum that  
     658domain which includes weakly stratified regions) the physical phenomenon that  
    659659controls the time-step is internal gravity waves (IGWs). A semi-implicit scheme for  
    660660doubling the stability limit associated with IGWs can be used \citep{Brown_Campana_MWR78,  
    661661Maltrud1998}. It involves the evaluation of the hydrostatic pressure gradient as an  
    662662average over the three time levels $t-\rdt$, $t$, and $t+\rdt$ ($i.e.$   
    663 \textit{before},  \textit{now} and  \textit{after} time-steps), rather than at central  
     663\textit{before},  \textit{now} and  \textit{after} time-steps), rather than at the central  
    664664time level $t$ only, as in the standard leapfrog scheme.  
    665665 
     
    723723 
    724724The form of the surface pressure gradient term depends on how the user wants to handle  
    725 the fast external gravity waves that are solution of the analytical equation (\S\ref{PE_hor_pg}).  
    726 Three formulation are available, all controlled by a CPP key (ln\_dynspg\_xxx): 
    727 a explicit formulation which required a small time step ; 
     725the fast external gravity waves that are a solution of the analytical equation (\S\ref{PE_hor_pg}).  
     726Three formulations are available, all controlled by a CPP key (ln\_dynspg\_xxx): 
     727an explicit formulation which requires a small time step ; 
    728728a filtered free surface formulation which allows a larger time step by adding a filtering  
    729 term in the momentum equation ;  
    730 and a plit-explicit free surface formulation, described below, which also allows a larger time step. 
     729term into the momentum equation ;  
     730and a split-explicit free surface formulation, described below, which also allows a larger time step. 
    731731 
    732732The extra term introduced in the filtered method is calculated  
    733 implicitly, so that a solver is used to compute it and that the update of the $next$  
     733implicitly, so that a solver is used to compute it. As a consequence the update of the $next$  
    734734velocities is done in module \mdl{dynspg\_flt} and not in \mdl{dynnxt}. 
    735735 
     
    743743 
    744744In the explicit free surface formulation (\key{dynspg\_exp} defined), the model time step  
    745 is chosen to be small enough to describe the external gravity waves (typically a few tens of seconds).  
     745is chosen to be small enough to resolve the external gravity waves (typically a few tens of seconds).  
    746746The surface pressure gradient, evaluated using a leap-frog scheme ($i.e.$ centered in time), 
    747747is thus simply given by : 
     
    755755Note that in the non-linear free surface case ($i.e.$ \key{vvl} defined), the surface pressure  
    756756gradient is already included in the momentum tendency  through the level thickness variation  
    757 when computing the hydrostatic pressure gradient. Thus, nothing is done in the \mdl{dynspg\_exp} module. 
     757allowed in the computation of the hydrostatic pressure gradient. Thus, nothing is done in the \mdl{dynspg\_exp} module. 
    758758 
    759759%-------------------------------------------------------------------------------------------------------------- 
     
    763763\label{DYN_spg_ts} 
    764764 
    765 In the split-explicit free surface formulation, also called time-splitting formulation  
    766 (\key{dynspg\_ts} defined) 
    767  
    768  
    769 The split-explicit free surface formulation used in \NEMO follows the one  
     765The split-explicit free surface formulation used in \NEMO (\key{dynspg\_ts} defined), 
     766also called the time-splitting formulation, follows the one  
    770767proposed by \citet{Griffies_Bk04}. The general idea is to solve the free surface  
    771768equation and the associated barotropic velocity equations with a smaller time  
     
    773770variables (Fig.\ref {Fig_DYN_dynspg_ts}).  
    774771The size of the small time step, $\Delta_e$ (the external mode or barotropic time step) 
    775  is provided through \np{nn\_baro} namelist parameter as:  
     772 is provided through the \np{nn\_baro} namelist parameter as:  
    776773$\Delta_e = \Delta / nn\_baro$. 
    777774  
     
    804801 
    805802The split-explicit formulation has a damping effect on external gravity waves,  
    806 which is weaker damping than for the filtered free surface but still significant as  
     803which is weaker damping than that for the filtered free surface but still significant, as  
    807804shown by \citet{Levier2007} in the case of an analytical barotropic Kelvin wave.  
    808805 
     
    917914 
    918915Note that in the linear free surface formulation (\key{vvl} not defined), the ocean depth  
    919 is time-dependent and so is the matrix to be inverted. It is computed once for all the 
    920 ocean time steps.  
     916is time-independent and so is the matrix to be inverted. It is computed once and for all and applies to all ocean time steps.  
    921917 
    922918% ================================================================ 
     
    930926%------------------------------------------------------------------------------------------------------------- 
    931927 
    932 The options available for lateral diffusion are for the choice of laplacian  
     928The options available for lateral diffusion are to use either laplacian  
    933929(rotated or not) or biharmonic operators. The coefficients may be constant  
    934930or spatially variable; the description of the coefficients is found in the chapter  
     
    973969\label{DYN_ldf_iso} 
    974970 
    975 A rotation of the lateral momentum diffusive operator is needed in several cases:  
    976 for iso-neutral diffusion in $z$-coordinate (\np{ln\_dynldf\_iso}=true) and for  
     971A rotation of the lateral momentum diffusion operator is needed in several cases:  
     972for iso-neutral diffusion in the $z$-coordinate (\np{ln\_dynldf\_iso}=true) and for  
    977973either iso-neutral (\np{ln\_dynldf\_iso}=true) or geopotential  
    978 (\np{ln\_dynldf\_hor}=true) diffusion in $s$-coordinate. In the partial step  
    979 case, coordinates are horizontal excepted at the deepest level and no  
    980 rotation is performed when \np{ln\_dynldf\_hor}=true. The diffusive operator  
     974(\np{ln\_dynldf\_hor}=true) diffusion in the $s$-coordinate. In the partial step  
     975case, coordinates are horizontal except at the deepest level and no  
     976rotation is performed when \np{ln\_dynldf\_hor}=true. The diffusion operator  
    981977is defined simply as the divergence of down gradient momentum fluxes on each  
    982978momentum component. It must be emphasized that this formulation ignores  
     
    10311027\end{equation} 
    10321028where $r_1$ and $r_2$ are the slopes between the surface along which the  
    1033 diffusive operator acts and the surface of computation ($z$- or $s$-surfaces).  
     1029diffusion operator acts and the surface of computation ($z$- or $s$-surfaces).  
    10341030The way these slopes are evaluated is given in the lateral physics chapter  
    10351031(Chap.\ref{LDF}). 
     
    10861082depends on the vertical physics used (see \S\ref{ZDF}). 
    10871083 
    1088 The surface boundary condition on momentum is given by the stress exerted by  
     1084The surface boundary condition on momentum is the stress exerted by  
    10891085the wind. At the surface, the momentum fluxes are prescribed as the boundary  
    10901086condition on the vertical turbulent momentum fluxes, 
     
    11141110enter the dynamical equations.  
    11151111 
    1116 One is the effect of atmospheric pressure on the ocean dynamics (to be  
    1117 introduced later).  
    1118  
    1119 Another forcing term is the tidal potential, which will be introduced in the  
    1120 reference version soon.  
     1112One is the effect of atmospheric pressure on the ocean dynamics. 
     1113Another forcing term is the tidal potential. 
     1114Both of which will be introduced into the reference version soon.  
    11211115 
    11221116% ================================================================ 
     
    11331127The general framework for dynamics time stepping is a leap-frog scheme,  
    11341128$i.e.$ a three level centred time scheme associated with an Asselin time filter  
    1135 (cf. Chap.\ref{STP}). The scheme is applied to the velocity except when using  
    1136 the flux form of momentum advection (cf. \S\ref{DYN_adv_cor_flux}) in variable  
    1137 volume level case (\key{vvl} defined), where it has to be applied to the thickness  
     1129(cf. Chap.\ref{STP}). The scheme is applied to the velocity, except when using  
     1130the flux form of momentum advection (cf. \S\ref{DYN_adv_cor_flux}) in the variable  
     1131volume case (\key{vvl} defined), where it has to be applied to the thickness  
    11381132weighted velocity (see \S\ref{Apdx_A_momentum})   
    11391133 
    1140 $\bullet$ vector invariant form or linear free surface (\np{ln\_dynhpg\_vec}=true ; not \key{vvl}): 
     1134$\bullet$ vector invariant form or linear free surface (\np{ln\_dynhpg\_vec}=true ; \key{vvl} not defined): 
    11411135\begin{equation} \label{Eq_dynnxt_vec} 
    11421136\left\{   \begin{aligned} 
     
    11571151denotes filtered values and $\gamma$ is the Asselin coefficient. $\gamma$ is  
    11581152initialized as \np{nn\_atfp} (namelist parameter). Its default value is \np{nn\_atfp} = $10^{-3}$. 
    1159 In both cases, the modified Asselin filter is not applied since a perfect conservation  
    1160 is not an issue for momentum equation. 
    1161  
    1162 Note that with the filtered free surface, the update of the \textit{next} velocities  
    1163 is done in the \mdl{dynsp\_flt} module, and only the swap of arrays  
     1153In both cases, the modified Asselin filter is not applied since perfect conservation  
     1154is not an issue for the momentum equations. 
     1155 
     1156Note that with the filtered free surface, the update of the \textit{after} velocities  
     1157is done in the \mdl{dynsp\_flt} module, and only array swapping 
    11641158and Asselin filtering is done in \mdl{dynnxt}. 
    11651159 
Note: See TracChangeset for help on using the changeset viewer.