Tools › Numerical Methods › Code Verification › Grid Convergence (GCI) › Example
Four grids, two triplets: an observed order that changes from 0.72 to 1.75 as the grids get finer
| 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. |
| Level | Graduate |
Problem
A mean Nusselt number is computed on four grids with spacings in the ratio 1 : 2 : 4 : 8 as 2.4310, 2.4420, 2.4790 and 2.5400. Find the observed order from each consecutive triplet and compare with the formal order of 2.
Inputs to Enter
- Relative spacing 1, 2, 4, 8; Nusselt number 2.4310, 2.4420, 2.4790, 2.5400
- Formal order 2; factor of safety 1.25
Answers
- Finest triplet (grids 1, 2, 3): p = ln(0.0370 / 0.0110) / ln 2 = 1.750; extrapolated 2.42635; GCI of grid 1 0.239 %
- Coarser triplet (grids 2, 3, 4): p = ln(0.0610 / 0.0370) / ln 2 = 0.721; extrapolated 2.38496; GCI of grid 2 2.92 %
- The asymptotic ratio is 0.995 and 0.985 on the two triplets although the orders differ by more than 1
Notes
Open this case in the tool: /analysis-tools/numerical-methods/verification/grid-convergence-index/?try=order-changes-between-triplets . Original illustrative numbers. In the asymptotic range every triplet gives the same order; here the coarsest grid is outside it. The asymptotic ratio does not show this, because with the order taken from the same three grids it equals the ratio of the two finest values of the triplet.
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
- Cell counts with unequal refinement ratios: drag and lift converge at different observed orders