-
15
pages
-
English
-
Documents
Description
AGRIFAdaptiveGridRefinement InFortranTutorialVersion 1.327 novembre 2006In this tutorial, we introduce the implementation of the adaptive meshrefinement method in two different finite difference models by using theAGRIF package.The first model, a 2D shallow water model, is discretized on a C-grid.After having briefly recalledthe models equationsand their discretizations,we present the implementation of the AMR with the AGRIF package.1Contents1 Guidelines for the use of AGRIF 31.1 Is AGRIF the right tool for your model ? . . . . . . . . . . . 31.1.1 Existing models . . . . . . . . . . . . . . . . . . . . . 31.1.2 Continue to develop as before . . . . . . . . . . . . . 31.1.3 Models written in Fortran . . . . . . . . . . . . . . . 31.2 Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 A shallow water model 72.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.2 The model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.3 The parameter file (parameter.F90) . . . . . . . . . . . . . . 92.4 The common file (commodel.F90) . . . . . . . . . . . . . . . 92.5 Writing the configuration file called agrif sw.in . . . . . . . . 102.6 Writing the user AGRIF routines . . . . . . . . . . . . . . . 112.7 Modifying the model . . . . . . . . . . . . . . . . . . . . . . 142Chapter 1Guidelines for the use of AGRIF1.1 Is AGRIF the right tool for your model ?There are both technical and general reasons to use or not to use ...
-
Publié par
-
Langue
English