ThermoFluidCalc Report

Grid Convergence Index (GCI) Report
2026-09-26 19:50:55

📊 Grid Convergence Index (GCI)

Quantify CFD discretization error numerical uncertainty across 3 grid levels using Roache GCI and ASME V&V 20 standard.

⚡ Fortran 90 Engine Double Precision (IEEE 754) ✓ ISO / ASME Validated
Grid Convergence Index (GCI) Cfd
📊 Solver Telemetry ● ACTIVE
👁️ Views 45
⚡ Solves 37
💾 Downloads 540 📦 Fortran Code 4.4 KB
📅 Released Jun 2026
⏱️ Latency < 1 ms
⚡ TOOLS & REPORTS:
💾 Download Fortran 90

📝 Three-Grid Verification Setup

Presets: ASME 2D Benchmark Vehicle Drag Cd Pipe Pressure Drop Heat Exchanger Nu
⚙️ Mesh Specification
🟢 Grid 1 — Fine Mesh ($h_1$ / $N_1$)
🟡 Grid 2 — Medium Mesh ($h_2$ / $N_2$)
🔴 Grid 3 — Coarse Mesh ($h_3$ / $N_3$)
🛡️ Safety Factor
ASME V&V 20 Formulations:

$$r_{21} = \frac{h_2}{h_1}, \quad r_{32} = \frac{h_3}{h_2}, \quad \epsilon_{21} = \phi_2 - \phi_1$$ $$p = \frac{1}{\ln(r_{21})} \left| \ln\left|\frac{\epsilon_{32}}{\epsilon_{21}}\right| + q(p) \right|$$ $$\phi_{ext}^{21} = \frac{r_{21}^p \phi_1 - \phi_2}{r_{21}^p - 1}$$ $$GCI_{fine}^{21} = \frac{F_s \cdot e_a^{21}}{r_{21}^p - 1}$$

📊 Verification Uncertainty Report

Verification Summary

Richardson Extrapolated Value ($\phi_{ext}^{21}$ at $h \to 0$)
6.1685
Fine Grid $GCI_{fine} = \mathbf{\pm 2.175\%}$  |  Apparent Order $p = \mathbf{1.53}$
Asymptotic Range: EXCELLENT: Grid within asymptotic range (0.95 <= AR <= 1.05). (Ratio $AR = \mathbf{1.015}$)
Apparent Order ($p$)1.53
Fine $GCI_{21}$2.17 %
Medium $GCI_{32}$4.11 %
Rel Error ($e_a$)1.5 %
Ratio $r_{21}$1.5
Ratio $r_{32}$1.33

📈 Solution Convergence vs Normalized Grid Spacing $h/h_1$

📋 Grid Convergence Analysis Breakdown

ParameterValueDescription
Convergence TypeMonotonic ConvergenceMonotonic / Oscillatory behavior
Apparent Order ($p$)1.534ASME V&V 20 solution
Richardson Extrap ($\phi_{ext}$)6.1685Continuum solution at $h \to 0$
Fine Grid GCI2.175 %Numerical uncertainty on fine mesh
Medium Grid GCI4.113 %Numerical uncertainty on medium mesh
Asymptotic Ratio ($AR$)1.015Target $AR \approx 1.0$

Fortran Solver Raw Output:

===============================================================
  THERMOFLUIDCALC — ASME V&V 20 GRID CONVERGENCE INDEX (GCI)
===============================================================
Dimension           =  2
Safety Factor Fs    =     1.2500
Fine Size h1        =   7.453560E-03
Fine Solution phi1  =   6.063000E+00
Medium Size h2      =   1.118034E-02
Medium Solution phi2=   5.972000E+00
Coarse Size h3      =   1.490712E-02
Coarse Solution phi3=   5.863000E+00
---------------------------------------------------------------
Ratio r21 (h2/h1)   =     1.5000
Ratio r32 (h3/h2)   =     1.3333
Convergence Type    = Monotonic Convergence
Apparent Order p    =     1.5340
Richardson Extrap   =   6.168496E+00
Approx Error ea21   =   1.500907E-02
Approx Error ea21 % =     1.5009%
Extrap Error e_ext  =   1.710233E-02
Extrap Error e_ext %=     1.7102%
GCI Fine (GCI_21)   =   2.174989E-02
GCI Fine (GCI_21) % =     2.1750%
GCI Medium (GCI_32) =   4.112854E-02
GCI Medium (GCI_32)%=     4.1129%
Asymptotic Ratio AR =     1.0152
---------------------------------------------------------------
Asymptotic Check    = EXCELLENT: Grid within asymptotic range (0.95 <= AR <= 1.05).
===============================================================
--- GCI CONVERGENCE PROFILE ---
Grid_Index   h_norm      phi_val       GCI_pct
   0    0.000000E+00    6.168496E+00    0.000000E+00
   1    1.000000E+00    6.063000E+00    2.174989E+00
   2    1.500000E+00    5.972000E+00    4.112854E+00
   3    2.000000E+00    5.863000E+00    4.112854E+00
--- END GCI PROFILE ---

📘 Calculation Methodology: Grid Convergence Index (GCI) & Richardson Extrapolation

Mathematical Model & Theory

The GCI method (ASME V&V 20 / Roache) calculates numerical discretization error and confidence bounds by comparing results across three geometrically scaled grids:

$$p = \frac{1}{\ln(r_{21})} \left| \ln\left|\frac{f_3 - f_2}{f_2 - f_1}\right| \right|, \quad GCI_{fine} = \frac{1.25 |(f_1 - f_2)/f_1|}{r_{21}^p - 1}$$
$$f_{extrapolated} = f_1 + \frac{f_1 - f_2}{r_{21}^p - 1}$$

Assumptions

  • Monotonic asymptotic grid convergence.
  • Uniform refinement ratio $r \ge 1.3$.

Academic References

  1. Roache, P. J. (1998): Verification and Validation in Computational Science and Engineering.
  2. ASME V&V 20-2009 Standard.

Worked Engineering Example

Problem Statement:
Three grids with $r = 1.414$ yield $C_D = [0.0345, 0.0328, 0.0322]$. Calculate apparent order $p$ and $GCI_{fine}$.

Step-by-step Solution:
1. $p = \ln((0.0345-0.0328)/(0.0328-0.0322)) / \ln(1.414) \approx 3.01$.
2. $GCI_{21} = 1.25 \times (0.0006/0.0322) / (1.414^{3.01} - 1) \approx 1.27\%$.
Final Result:
Fine grid uncertainty is $C_D = 0.0322 \pm \mathbf{1.27\%}$.