Changes between Version 5 and Version 6 of u/NewUsers


Ignore:
Timestamp:
08/04/11 22:24:43 (13 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/NewUsers

    v5 v6  
    1212== Effectively Implementing AMR ==
    1313
    14 There are some additional controls for AMR other than setting the
     14There are some additional controls for AMR other than setting the number of levels in global.data. One can also make use of the namelist variable in physics.data named "refineVariableFactor". If this is not currently in your physics.data file, you can add it under the line for InterpOpts. The input for this variable represents the different q array elements.
    1515
     16Example:
     17
     18refineVariableFactor =  1.d-21,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0
     19
     20The input here controls the variable to which refinement is triggered. By setting a slot = 0 means that refinement will not be triggered for this variable. The smaller the number, the less the refinement.
     21
     22refineVariableFactor is defined in module_control.f90, in the subroutine SetErrFlag.
     23
     24Additionally, one can modify the SetErrFlags subroutine in problem.f90 to indicate precise ''regions'' of refinement.
     25
     26Example:
     27
     28[[Image()]]
     29
     30
     31= Helpful Links =
     32
     33 
     34
     35http://www.mpia.de/homes/dullemon/lectures/fluiddynamics/Chapter_5.pdf - Nicely composed introduction chapter on numerical hydrodynamics.