Changes between Version 14 and Version 15 of ControllingRefinement


Ignore:
Timestamp:
09/15/11 10:28:19 (13 years ago)
Author:
ehansen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ControllingRefinement

    v14 v15  
    118118
    119119=== Changing qTolerance and !DesiredFillRatios ===
    120 The most direct and quickest way to change refinement is to change the {{{qTolerance}}} and !DesiredFillRatios arrays which are both located in the {{{global.data}}} file.  Each element of these arrays is specific to that level. For example, the first element is for the root level, the next element is for the 1st level of refinement, and so on. {{{qTolerance}}} effectively sets how large a gradient must be in order for those two cells to be refined.  Higher {{{qTolerance}}} --> less refinement.
     120The most direct and quickest way to change refinement is to change the {{{qTolerance}}} and !DesiredFillRatios arrays which are both located in the {{{global.data}}} file.  Each element of these arrays is specific to that level. For example, the first element is for the root level, the next element is for the 1st level of refinement, and so on. {{{qTolerance}}} effectively sets how large a gradient must be in order for those two cells to be refined.  Higher {{{qTolerance}}} --> less refinement.  !DesiredFillRatios "encourages" astrobear to refine that percentage of the cells marked for refinement. We say "encourage" because astrobear might not get the ratio exactly right.  This is because the AMR is grid/patch based rather than cell based.  For example, if the DesiredFillRatio is 0.7, then the AMR will lay down grids/patches in such a way to attempt to cover 70% of the cells marked for refinement.  As a result of this process, it is possible that cells that were not marked for refinement are now refined.  In general, higher !DesiredFillRatios --> more refinement.
    121121
    122 ||  qTolerance = (0.2, 0.2)  !DesiredFillRatios = (0.7, 0.7)  ||  qTolerance = (0.2, 0.3)  !DesiredFillRatios = (0.7, 0.7)  ||                            ||
     122||  qTolerance = (0.2, 0.2)  !DesiredFillRatios = (0.7, 0.7)  ||  qTolerance = (0.2, 0.35)  !DesiredFillRatios = (0.7, 0.7)  ||                            ||
    123123|| [[Image(mesh1.png, width=580)]] || [[Image(mesh2.png, width=580)]] ||
    124124