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.
Users/SetupNewConfiguration/AGRIF-nesting-tool (diff) – NEMO

Changes between Version 6 and Version 7 of Users/SetupNewConfiguration/AGRIF-nesting-tool


Ignore:
Timestamp:
2017-03-10T11:05:58+01:00 (7 years ago)
Author:
cbricaud
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Users/SetupNewConfiguration/AGRIF-nesting-tool

    v6 v7  
    3333 
    3434Where ptx and pty are indexes of the first fine grid point inside the domain, those values depend on the staggered variable. In the NEMO framework there is two ghost cells around fine grids so the ptx and pty values are the following :  
    35 ||point type||  ptx     ||pty ||                  [[Image(AGRIF-Variable-Position.jpg)]] 
     35||point type||  ptx     ||pty ||                  
    3636||T         ||3         || 3  || 
    3737||U         ||2         || 3  || 
     
    3939||F         ||2         || 2  || 
    4040 
     41 [[Image(AGRIF-Variable-Position.jpg)]] 
    4142 
    4243This is a quite important feature to know in order to properly choose integers imin,imax,jmin and jmax for your fine grid domain definition. Indeed the indice of the first coarse grid point inside child domain is (imin+2,jmin+2) and not (imin,jmin). To sum up, the configuration of a given AGRIF zoom on a coarse domain for a 1:3 refinement ratio is described here: