Changes between Version 2 and Version 3 of Users/SetupNewConfiguration/AGRIF-nesting-tool
- Timestamp:
- 2017-03-10T11:04:09+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Users/SetupNewConfiguration/AGRIF-nesting-tool
v2 v3 33 33 34 34 Where 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 || 35 40 36 [[Image(AGRIF-Variable-Position.jpg)]]37 41 38 42 This 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: 39 43 40 [[ (ImageAGRIF-Grid-Definition.jpg)]]44 [[Image(AGRIF-Grid-Definition.jpg)]] 41 45 42 46 Then 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]]