Changes between Version 15 and Version 16 of ControllingRefinement


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

Legend:

Unmodified
Added
Removed
Modified
  • ControllingRefinement

    v15 v16  
    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.  !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.
     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 affects the way astrobear lays down grids or patches for refinement.  For example, if the !DesiredFillRatio is 0.7, then the AMR will lay down patches so that at least 70% of each patch contains cells marked for refinement.  As a result of this process, you will get cells being refined which were not initially marked for refinement.  In general, lower !DesiredFillRatios --> more refinement.
    121121
    122 ||  qTolerance = (0.2, 0.2)  !DesiredFillRatios = (0.7, 0.7)  ||  qTolerance = (0.2, 0.35)  !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