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 519 for trunk/NEMO/OPA_SRC/TRA/traadv_ubs.F90 – NEMO

Ignore:
Timestamp:
2006-10-11T15:49:05+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_74 : CT : - add comments for the UBS scheme

  • syntax correction
  • remove the use of eddy velocity in the calculation of poleward transport since it is already included into the normal velocity
  • remove the save of the trend associated to the BBL advective velocity since it is already included into the normal velocity
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/traadv_ubs.F90

    r503 r519  
    4747      !!      and add it to the general trend of passive tracer equations. 
    4848      !! 
    49       !! ** Method  :   ??? 
     49      !! ** Method  :   The upstream biased third (UBS) is order scheme based  
     50      !!      on an upstream-biased parabolic interpolation (Shchepetkin and McWilliams 2005) 
     51      !!      It is only used in the horizontal direction. 
     52      !!      For example the i-component of the advective fluxes are given by : 
     53      !!                !  e1u e3u un ( mi(Tn) - zltu(i  ) )   if un(i) >= 0 
     54      !!          zwx = !  or  
     55      !!                !  e1u e3u un ( mi(Tn) - zltu(i+1) )   if un(i) < 0 
     56      !!      where zltu is the second derivative of the before temperature field: 
     57      !!          zltu = 1/e3t di[ e2u e3u / e1u di[Tb] ] 
     58      !!      This results in a dissipatively dominant (i.e. hyper-diffusive)  
     59      !!      truncation error. The overall performance of the advection scheme  
     60      !!      is similar to that reported in (Farrow and Stevens, 1995).  
     61      !!      For stability reasons, the first term of the fluxes which corresponds 
     62      !!      to a second order centered scheme is evaluated using the now velocity  
     63      !!      (centered in time) while the second term which is the diffusive part  
     64      !!      of the scheme, is evaluated using the before velocity (forward in time).  
     65      !!      Note that UBS is not positive. Do not use it on passive tracers. 
     66      !!      On the vertical, the advection is evaluated using a TVD scheme, as 
     67      !!      the UBS have been found to be too diffusive. 
    5068      !! 
    5169      !! ** Action : - update (ta,sa) with the now advective tracer trends 
     70      !! 
     71      !! Reference : Shchepetkin, A. F., J. C. McWilliams, 2005, Ocean Modelling, 9, 347-404.  
     72      !!             Farrow, D.E., Stevens, D.P., 1995, J. Phys. Ocean. 25, 1731Ð1741.  
    5273      !!---------------------------------------------------------------------- 
    5374      USE oce, ONLY :   zwx => ua   ! use ua as workspace 
Note: See TracChangeset for help on using the changeset viewer.