Changes between Version 3 and Version 4 of ControllingRefinement
- Timestamp:
- 09/14/11 16:04:45 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControllingRefinement
v3 v4 117 117 and marks cell {{{i+1}}} and cell {{{i}}} for refinement. This is essentially [[latex($\Delta x \frac{\partial log(q)}{\partial x}$)]]. The [[latex($\Delta x$)]] is for the current grid resolution and results in coarser levels being more sensitive to fluid gradients for a given tolerance. The values of tol is found by multiplying the qTolerance for the level with the refineVariableFactor for the fluid variable and MinScale is dependent on which field you are considering. 118 118 119 === 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. 121 119 122 == Jeans Criteria == 120 123 When Self Gravity is turned on, refinement is flagged based on the Jeans criterion