A metal rod is discretised with grid spacing and diffusivity
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Fourier analysis and integral transforms · Numerical and computational mathematics
Error, Chance and the Machine, Ch Partial differential equations: stability, convergence and solvers
Problem
A metal rod is discretised with grid spacing Δx=0.01m and diffusivity D=1.0×10−4m2s−1. The initial temperature (above ambient) alternates +1∘C,−1∘C,+1∘C,… between neighbouring grid points, a sharp sawtooth. One step of Crank-Nicolson is taken with Δt=50s, giving α=DΔt/Δx2=50. After the step, the amplitude of the sawtooth has fallen only slightly, by a factor of about 0.98. Someone argues: "Crank-Nicolson is unconditionally stable for any α, so this step size is safe, and since the amplitude stayed bounded and only shrank, this must be an accurate solution of the diffusion equation after 50 seconds." Find the error in this argument.
((a)) Compute the amplification factor G(π) for the grid-scale mode at α=50.
((b)) Compute the true physical decay factor over the same 50s for a Fourier mode of wavelength 2Δx, using exp(−Dk2t) with k=π/Δx.
((c)) State the actual error in the reasoning.