The Lax-Friedrichs scheme for with is u_j^ n+1 = 12 (u_ j+1 ^n + u_ j-1 ^n ) - C 2…
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Oscillations, Waves & Acoustics · Wave motion, the wave equation and wave energy
Error, Chance and the Machine, Ch Partial differential equations: stability, convergence and solvers
Problem
The Lax-Friedrichs scheme for ut+cux=0 with c>0 is ujn+1=21(uj+1n+uj−1n)−2C(uj+1n−uj−1n),C=ΔxcΔt. When Δx and Δt are refined together at fixed C it is consistent, with a residual of order Δx.
((a)) Substitute ujn=Gneijθ to find G(θ) and ∣G∣2. Show that ∣G∣≤1 for every θ exactly when C≤1, and find the smallest ∣G∣ at C=0.9.
((b)) Three runs are refined with C held fixed and Δx,Δt→0 together: forward-time centred-space advection at C=0.01, upwind at C=0.8 and Lax-Friedrichs at C=0.9. For each, say whether it converges to the exact solution at a fixed time T, and give the reason.
((c)) A colleague runs the centred scheme at C=0.01 with c=1ms−1 on the grid Δx=0.01m. The worst mode, θ=π/2, grows by only 1.65 over T=1s, and concludes that the scheme converges. Find the growth of that mode over T=1s on the grid Δx=2×10−4m, still at C=0.01, and say what the coarse-grid test could not show.