Tools › Numerical Methods › Code Verification › Grid Convergence (GCI) › Example
Cell counts with unequal refinement ratios: drag and lift converge at different observed orders
| Tool | Grid Convergence (GCI) |
| Source | Original illustrative case. Method: Slater, J. W. (2021). Examining Spatial (Grid) Convergence. NPARC Alliance CFD Verification and Validation Web Site, NASA Glenn Research Center, Cleveland, OH (effective refinement ratio). The equation for the order with unequal ratios follows from the power-law error model. |
| Level | Professional |
Problem
A two-dimensional airfoil case is run on unstructured meshes of 46,000, 21,500 and 9,800 cells. The drag coefficient is 0.3412, 0.3451 and 0.3534 and the lift coefficient 1.0842, 1.0795 and 1.0671. The refinement ratios are not equal, so the order has no closed form. Find it for each coefficient, with the extrapolated values and indices.
Inputs to Enter
- Cell counts 46,000 / 21,500 / 9,800 in two dimensions: r21 = (46,000 / 21,500)^(1/2) = 1.4627, r32 = (21,500 / 9,800)^(1/2) = 1.4812
- Drag coefficient 0.3412 / 0.3451 / 0.3534; lift coefficient 1.0842 / 1.0795 / 1.0671; formal order 2; factor of safety 1.25
Answers
- Drag: ε32 / ε21 = 0.0083 / 0.0039 = 2.128; fixed-point iteration from 1.986 settles at p = 1.866 in 8 steps
- Drag: extrapolated 0.33743; GCI of the fine mesh 1.38 % (±0.0047)
- Lift: p = 2.420; extrapolated 1.08731; GCI of the fine mesh 0.359 % (±0.0039)
Notes
Open this case in the tool: /analysis-tools/numerical-methods/verification/grid-convergence-index/?try=unequal-refinement-ratios . Original illustrative numbers. The order solves ε32 / ε21 = r21^p (r32^p − 1) / (r21^p − 1); the tool repeats p = [ln(ε32 / ε21) + ln((r21^p − 1) / (r32^p − 1))] / ln r21 and lists the steps. The lift order is above the formal order of 2; the Advanced option "Observed, not above the formal order" shows the index with the order held at 2.
More Examples for This Tool
- NASA inlet pressure recovery on three grids: observed order, Richardson extrapolation and the grid convergence index
- Finite-element peak stress on three meshes: convergence from below and the extrapolated stress
- Results that move one way and then back: oscillatory convergence, where no order is computed
- Four grids, two triplets: an observed order that changes from 0.72 to 1.75 as the grids get finer