B3 - local truncation error

local truncation error

  • the local error at a particular grid point due to discrete representation of the derivative

y^kj+1=Qkj(y^oj,y^1j,…,y^N−1j) Qkj=f(xk,tj)+ΔtF(xk,tj)y^kj=f(xk,tj) LTE≡Qk[y(x0,tj),y(x1,tj),…,y(xN−1,tj)]−y(xk,tj+1)

C3 - local truncation error - comparison.png|500
image: B Hnat, lecture notes

∥LTE∥<C0(Δx)M+1+C1(Δt)N+1 dfdt=f′=G(t)fj+1=fj+ΔtG(tj)⟹Qj≡fj+ΔtGjLTE=Qj[fa(tj)]−fa(tj+1)=fa(tj)+ΔtGa(tj)−fa(tj+1) LTE=fa(tj)+ΔtGa(tj)−∑n=0∞fan(tj)n!(Δt)n⋮|LTE|=|−12fa″(tj)(Δt)2+O(Δt)3|

stability

C3 - local truncation error - stability.png|500
image: B Hnat, lecture notes