A smooth mode survives smoothing
Weighted Jacobi for a Dirichlet Laplacian uses \(\omega=2/3\). Compute the multiplier at grid angles \(\pi/3\) and \(2\pi/3\), and the error left by two sweeps. Explain how this affects the choice of a coarse-grid space.
Worked solution
For \(\pi/3\) the multiplier is \(1-(2/3)(1-1/2)=2/3\), leaving \(4/9\) after two sweeps. At \(2\pi/3\) it is \(1-(2/3)(1+1/2)=0\), so the error vanishes in one sweep.
Smoother errors can persist while oscillatory components decay. A coarse interpolation space should approximate those persistent smooth components. A coarse solve alone cannot remove arbitrary fine-grid error.
Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.
Test exact coarse correction
Use \(A=\left(\begin{smallmatrix}2&-1\\-1&2\end{smallmatrix}\right)\), \(P=(1,1)^T\), \(R=P^T/2\). Find the coarse operator and the coarse correction for true error \((3,1)^T\). Verify the restricted residual afterward.
Worked solution
\(AP=(1,1)^T\) and \(RAP=1\). The initial residual is
Its restriction is 2, giving coarse correction \(P\,2=(2,2)^T\).
The remaining error is \((1,-1)^T\), with residual \((3,-3)^T\). Restricting gives zero even though the fine error remains. An exact coarse solve eliminated only the represented component.
Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.
Use the transpose
Let \(A=\left(\begin{smallmatrix}2&1\\0&3\end{smallmatrix}\right)\), \(c=(1,0)^T\), and suppose a computed state's residual is
Compute the observation error with an adjoint, verify it by solving \(Ae=r\), and explain the sign.
Worked solution
Solving \(A^Tz=c\) gives \(2z_1=1,\ z_1+3z_2=0\), so \(z=(1/2,-1/6)^T\). Its dot product with \(r\) is −0.05.
The error equation gives \(e_2=0.1,\ 2e_1+0.1=0\), hence
A positive second-row defect forces a negative first-component change through the positive off-diagonal coupling. Using \(A\) instead of its transpose for the dual would miss that effect.
Explore the related calculation with adjustable inputs. Inspect the Taylor remainder with the correct and wrong-sign adjoint. The explorer uses a two-state equilibrium; apply the stated scalar or nonsymmetric operator to obtain this exercise’s exact gradient.
Decide if another grid refinement answers the engineering question
A steady diffusion solver predicts a dimensionless mean sensor value of 0.42800, 0.42200 and 0.42050 on meshes with 16, 32 and 64 cells per side. The linear solver reports relative residuals below 10⁻¹⁰. Estimate the converged value and the error on the finest grid. A measurement reads 0.4170 with uncertainty ±0.0010. Can the discrepancy be attributed to mesh error alone?
Worked solution
Assume the same smooth solution, geometry, sensor integration and refinement ratio on all three grids. The ratio of successive differences is 0.0060/0.0015 = 4.0, giving observed order p = 2. Extrapolate the fine estimate by adding (0.42050−0.42200)/(2²−1) = −0.00050. The resulting estimate is 0.42000.
The fine-grid spatial error magnitude is therefore about 0.00050. A relative algebraic residual near 10⁻¹⁰ describes the discrete equations and is in different units from the absolute sensor error. It cannot replace this grid calculation. Repeating the study with a local peak instead of a mean can give a different observed order.
The measurement interval spans 0.4160 to 0.4180. Even the extrapolated prediction exceeds its upper end by 0.0020. Under the assumed error model mesh refinement alone appears too small to explain that gap. Test coefficient uncertainty, boundary data and sensor averaging separately. The numerical experiment in chapter 6 supplies a known exact field for checking the discretisation independently of the physical measurement.
Explore the related calculation with adjustable inputs. Refine the grid on a known solution and keep the small linear-solver residual separate from the spatial field error.