ThermoFluidCalc Report

Grid Convergence Index (GCI) Report
2026-09-26 20:45:08

📊 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$)
149.514
Fine Grid $GCI_{fine} = \mathbf{\pm 6.061\%}$  |  Apparent Order $p = \mathbf{1.21}$
Asymptotic Range: EXCELLENT: Grid within asymptotic range (0.95 <= AR <= 1.05). (Ratio $AR = \mathbf{1.032}$)
Apparent Order ($p$)1.21
Fine $GCI_{21}$6.06 %
Medium $GCI_{32}$10.2 %
Rel Error ($e_a$)3.09 %
Ratio $r_{21}$1.5
Ratio $r_{32}$1.5

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

📋 Grid Convergence Analysis Breakdown

ParameterValueDescription
Convergence TypeMonotonic ConvergenceMonotonic / Oscillatory behavior
Apparent Order ($p$)1.215ASME V&V 20 solution
Richardson Extrap ($\phi_{ext}$)149.514Continuum solution at $h \to 0$
Fine Grid GCI6.061 %Numerical uncertainty on fine mesh
Medium Grid GCI10.23 %Numerical uncertainty on medium mesh
Asymptotic Ratio ($AR$)1.032Target $AR \approx 1.0$

Fortran Solver Raw Output:

===============================================================
  THERMOFLUIDCALC — ASME V&V 20 GRID CONVERGENCE INDEX (GCI)
===============================================================
Dimension           =  3
Safety Factor Fs    =     1.2500
Fine Size h1        =   1.000000E-03
Fine Solution phi1  =   1.426000E+02
Medium Size h2      =   1.500000E-03
Medium Solution phi2=   1.382000E+02
Coarse Size h3      =   2.250000E-03
Coarse Solution phi3=   1.310000E+02
---------------------------------------------------------------
Ratio r21 (h2/h1)   =     1.5000
Ratio r32 (h3/h2)   =     1.5000
Convergence Type    = Monotonic Convergence
Apparent Order p    =     1.2146
Richardson Extrap   =   1.495143E+02
Approx Error ea21   =   3.085554E-02
Approx Error ea21 % =     3.0856%
Extrap Error e_ext  =   4.624498E-02
Extrap Error e_ext %=     4.6245%
GCI Fine (GCI_21)   =   6.060910E-02
GCI Fine (GCI_21) % =     6.0609%
GCI Medium (GCI_32) =   1.023362E-01
GCI Medium (GCI_32)%=    10.2336%
Asymptotic Ratio AR =     1.0318
---------------------------------------------------------------
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    1.495143E+02    0.000000E+00
   1    1.000000E+00    1.426000E+02    6.060910E+00
   2    1.500000E+00    1.382000E+02    1.023362E+01
   3    2.250000E+00    1.310000E+02    1.023362E+01
--- 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\%}$.