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 2 and Version 3 of Users/SetupNewConfiguration/AGRIF-nesting-tool


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

--

Legend:

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

    v2 v3  
    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)]] 
     36||T         ||3         || 3  || 
     37||U         ||2         || 3  || 
     38||V         ||3         || 2  || 
     39||F         ||2         || 2  || 
    3540 
    36 [[Image(AGRIF-Variable-Position.jpg)]] 
    3741 
    3842This 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: 
    3943 
    40 [[(ImageAGRIF-Grid-Definition.jpg)]] 
     44[[Image(AGRIF-Grid-Definition.jpg)]] 
    4145 
    4246Then in order to prepare a simulation, user must declare the fine grids characteristics in a file called AGRIF_FixedGrids.in which has to be in the directory where the code runs. For each fine grid and each space direction, a line indicates its position on its parent grid as well as its space and time refinement factors.[[BR]]