PHYSICS · Multi-part · Fermi University Physics · Computational Physics · Research software practice, verification and validation · Research software practice, verification and validation
Scientific Computing for Physicists, Ch Are they the right equations? Solution verification, benchmarks and validation
Problem
A finite-difference wave-equation solver, formally second order, estimates the phase speed c of a travelling pulse on three grids with refinement ratio r=2: N=30 gives c3=338.200ms−1, N=60 gives c2=340.600ms−1, N=120 gives c1=339.850ms−1 (subscript 1 is the finest grid).
((a)) Compute the successive differences c3−c2 and c2−c1.
((b)) What does the formula for the observed order p^ give for these values? May a three-grid GCIfine with Fs=1.25 be reported for c1?
((c)) State what the study should do next before any numerical uncertainty is quoted.