Changes between Version 13 and Version 14 of AccretionDiskTutorial


Ignore:
Timestamp:
08/27/12 19:04:27 (12 years ago)
Author:
idilernia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AccretionDiskTutorial

    v13 v14  
    107107}}}
    108108
    109 MaxLevel regulates the maximum amount of AMR levels, while GmX sets the number of cells in a fixed grid array.
     109MaxLevel regulates the maximum amount of AMR levels, while GmX sets the number of cells in a fixed grid array.[[BR]]
    110110'''Warning:''' global.data contains another array entry, ''Domain%mGlobal'' which should usually be set to (1, 1, 1, GmX(1), GmX(2), GmX(3)), changing Gmx without modifying Domain%mGlobal as well could lead to instabilities.
    111111
     112In this specific module refining is accomplished by defining a region around the disk that will always be marked for refinement. For more information how this is done please visit [https://clover.pas.rochester.edu/trac/astrobear/wiki/ControllingRefinement Controlling Refinement in AstroBEAR 2.0].[[BR]]
     113
     114Below is an image of what the mesh looks like in the default module:
     115
     116[[Image(visit0040.png, 400px)]]
     117
     118A subroutine named ''ProblemSetErrFlag'' in ''problem.f90'' is responsible for marking the regions for refinement in our Disk module and giving the Mesh the pattern seen above. [[BR]]
     119Depending on the initial conditions of a specific run it may be the case that a disk undergoes gravitational collapse and its boundaries can expand within reasonable limits. This event can cause a significant part of the disk to outflow the refined area, and a consequential loss of information.
     120
     121''ProblemSetErrFlag'' can be altered in order to address this issue:
     122
     123
     124
     125[[BR]]
     126To
    112127
    113128