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_E.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_E.tex

    r996 r1223  
    2929- \frac{1}{2}\, |U|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] 
    3030\end{equation} 
    31 where $U_{i+1/2} = e_{1u}\,e_{3u}\,u_{i+1/2}$ and $\tau "_i =\delta _i \left[ {\delta _{i+1/2} \left[ \tau \right]} \right]$. By choosing this expression for $\tau "$ we consider a fourth order approximation of $\partial_i^2$ with a constant i-grid spacing ($\Delta i=1$).  
    32  
    33 Alternative choice: introduce the scale factors:  $\tau "_i =\frac{e_{1T}}{e_{2T}\,e_{3T}}\delta _i \left[ \frac{e_{2u} e_{3u} }{e_{1u} }\delta _{i+1/2}[\tau] \right]$. 
     31where $U_{i+1/2} = e_{1u}\,e_{3u}\,u_{i+1/2}$ and  
     32$\tau "_i =\delta _i \left[ {\delta _{i+1/2} \left[ \tau \right]} \right]$.  
     33By choosing this expression for $\tau "$ we consider a fourth order approximation  
     34of $\partial_i^2$ with a constant i-grid spacing ($\Delta i=1$).  
     35 
     36Alternative choice: introduce the scale factors:   
     37$\tau "_i =\frac{e_{1T}}{e_{2T}\,e_{3T}}\delta _i \left[ \frac{e_{2u} e_{3u} }{e_{1u} }\delta _{i+1/2}[\tau] \right]$. 
    3438 
    3539 
     
    4852scheme when \np{ln\_traadv\_ubs}=T. 
    4953 
    50 For stability reasons, in \eqref{Eq_tra_adv_ubs}, the first term which corresponds to a  
    51 second order centred scheme is evaluated using the \textit{now} velocity (centred in  
    52 time) while the second term which is the diffusive part of the scheme, is  
    53 evaluated using the \textit{before} velocity (forward in time. This is discussed by \citet{Webb1998} in the context of the Quick advection scheme. UBS and QUICK  
     54For stability reasons, in \eqref{Eq_tra_adv_ubs}, the first term which corresponds  
     55to a second order centred scheme is evaluated using the \textit{now} velocity  
     56(centred in time) while the second term which is the diffusive part of the scheme,  
     57is evaluated using the \textit{before} velocity (forward in time. This is discussed  
     58by \citet{Webb1998} in the context of the Quick advection scheme. UBS and QUICK  
    5459schemes only differ by one coefficient. Substituting 1/6 with 1/8 in  
    55 (\ref{Eq_tra_adv_ubs}) leads to the QUICK advection scheme \citep{Webb1998}. This  
    56 option is not available through a namelist parameter, since the 1/6  
     60(\ref{Eq_tra_adv_ubs}) leads to the QUICK advection scheme \citep{Webb1998}.  
     61This option is not available through a namelist parameter, since the 1/6  
    5762coefficient is hard coded. Nevertheless it is quite easy to make the  
    5863substitution in \mdl{traadv\_ubs} module and obtain a QUICK scheme 
     
    6772NB 2 : In a forthcoming release four options will be proposed for the  
    6873vertical component used in the UBS scheme. $\tau _w^{ubs}$ will be  
    69 evaluated using either \textit{(a)} a centred $2^{nd}$ order scheme , or  \textit{(b)} a TVD  
    70 scheme, or  \textit{(c)} an interpolation based on conservative parabolic splines  
    71 following \citet{Sacha2005} implementation of UBS in ROMS,  
     74evaluated using either \textit{(a)} a centred $2^{nd}$ order scheme ,  
     75or  \textit{(b)} a TVD scheme, or  \textit{(c)} an interpolation based on conservative  
     76parabolic splines following \citet{Sacha2005} implementation of UBS in ROMS,  
    7277or  \textit{(d)} an UBS. The $3^{rd}$ case has dispersion properties similar to an  
    7378eight-order accurate conventional scheme. 
     
    8893\end{split} 
    8994\end{equation} 
    90 \eqref{Eq_tra_adv_ubs2} has several advantages. First it clearly evidence that the UBS scheme is based on the fourth order scheme to which is added an upstream biased diffusive term. Second, this emphasises that the $4^{th}$ order part have to be evaluated at \emph{now} time step, not only the $2^{th}$ order part as stated above using \eqref{Eq_tra_adv_ubs}. Third, the diffusive term is in fact a biharmonic operator with a eddy coefficient with is simply proportional to the velocity. 
    91  
     95\eqref{Eq_tra_adv_ubs2} has several advantages. First it clearly evidence that  
     96the UBS scheme is based on the fourth order scheme to which is added an  
     97upstream biased diffusive term. Second, this emphasises that the $4^{th}$ order  
     98part have to be evaluated at \emph{now} time step, not only the $2^{th}$ order  
     99part as stated above using \eqref{Eq_tra_adv_ubs}. Third, the diffusive term is  
     100in fact a biharmonic operator with a eddy coefficient with is simply proportional  
     101to the velocity. 
    92102 
    93103laplacian diffusion: 
     
    179189\end{align} 
    180190\end{subequations} 
    181 As for space operator, the adjoint of the derivation and averaging time operators are $\delta_t^*=\delta_{t+\Delta t/2}$ and $\overline{\cdot}^{\,t\,*}= \overline{\cdot}^{\,t+\Delta/2}$, respectively.  
     191As for space operator, the adjoint of the derivation and averaging time operators are  
     192$\delta_t^*=\delta_{t+\Delta t/2}$ and $\overline{\cdot}^{\,t\,*}= \overline{\cdot}^{\,t+\Delta/2}$ 
     193, respectively.  
    182194 
    183195The Leap-frog time stepping given by \eqref{Eq_DOM_nxt} can be defined as: 
     
    187199      =         \frac{q^{t+\Delta t}-q^{t-\Delta t}}{2\Delta t} 
    188200\end{equation}  
    189 Note that \eqref{LF} shows that the leapfrog time step is $\Delta t$, not $2\Delta t$ as it can be found sometime in literature.  
    190 The leap-Frog time stepping is a second order centered scheme. As such it respects the quadratic invariant in integral forms, $i.e.$ the following continuous property, 
     201Note that \eqref{LF} shows that the leapfrog time step is $\Delta t$, not $2\Delta t$  
     202as it can be found sometime in literature.  
     203The leap-Frog time stepping is a second order centered scheme. As such it respects  
     204the quadratic invariant in integral forms, $i.e.$ the following continuous property, 
    191205\begin{equation} \label{Energy} 
    192206\int_{t_0}^{t_1} {q\, \frac{\partial q}{\partial t} \;dt}  
     
    205219      \equiv \frac{1}{2} \left( {q_{t_1}}^2 - {q_{t_0}}^2 \right) 
    206220\end{split} \end{equation} 
    207 NB here pb of boundary condition when applying the adjoin! In space, setting to 0 the quantity in land area is sufficient to get rid of the boundary condition (equivalently of the boundary value of the integration by part). In time this boundary condition is not physical and \textbf{add something here!!!} 
    208  
    209  
    210  
     221NB here pb of boundary condition when applying the adjoin! In space, setting to 0  
     222the quantity in land area is sufficient to get rid of the boundary condition  
     223(equivalently of the boundary value of the integration by part). In time this boundary  
     224condition is not physical and \textbf{add something here!!!} 
     225 
     226 
     227 
Note: See TracChangeset for help on using the changeset viewer.