Tools › Numerical Methods › Code Verification › Grid Convergence (GCI) › Example

NASA inlet pressure recovery on three grids: observed order, Richardson extrapolation and the grid convergence index

ToolGrid Convergence (GCI)
SourceSlater, J. W. (2021). Examining Spatial (Grid) Convergence. NPARC Alliance CFD Verification and Validation Web Site, NASA Glenn Research Center, Cleveland, OH. Section "Example Grid Convergence Study".
LevelGraduate

Problem

The pressure recovery of a supersonic inlet was computed on three grids, each with twice the spacing of the one before: 0.97050 on the finest, 0.96854 on the medium and 0.96178 on the coarsest. Find the observed order of convergence, the value extrapolated to zero grid spacing, the grid convergence index of the fine and medium grids with a factor of safety of 1.25, and check the asymptotic range.

Inputs to Enter

  • Normalized grid spacing 1, 2, 4 (refinement ratio 2); pressure recovery 0.97050, 0.96854, 0.96178
  • Factor of safety 1.25 (three grids); formal order of the scheme 2
Open the Grid Convergence (GCI) tool (loaded with this example)

Answers

  • Observed order p = ln[(0.96178 − 0.96854) / (0.96854 − 0.97050)] / ln 2 = 1.786 (page 1.786170, tool 1.786170)
  • Extrapolated pressure recovery = 0.97050 + 0.00196 / (2^1.786 − 1) = 0.97130 (page 0.97130)
  • GCI of the fine grid 0.103083 %, of the medium grid 0.356249 % (page 0.103083 % and 0.356249 %)
  • Asymptotic ratio 0.356249 / (2^1.786 × 0.103083) = 1.0020 (page 1.002019; exact arithmetic gives 1.002024, which is f1 / f2)
  • Reported result: 0.97130 with an error band of 0.103 %, or 0.001

Notes

The tool's default inputs are this example; press Submit, or open it computed: /analysis-tools/numerical-methods/verification/grid-convergence-index/?try=nasa-inlet-pressure-recovery . The same page prints the output of NASA's verify.f90, which runs in single precision (p = 1.78618479, GCI 0.103080 % and 0.356244 %) and reports the ratio the other way up (0.997980). The tool also shows that this ratio equals f1 / f2 whenever the order is taken from the same three grids.

More Examples for This Tool