Processing math: 100%
Correction terms in the Crank-Nicolson scheme (1)
[Dtu=−a¯ut]n+12,
Definition of the truncation error R and correction terms C:
[Dtue+a¯uet=C+R]n+12.
Must Taylor expand
- the derivative
- the arithmetic mean
Cn+12+Rn+12=124ue‴(tn+12)Δt2+a8ue″(tn+12)Δt2+O(Δt4).
Let Cn+12 cancel the Δt2 terms:
Cn+12=124ue‴(tn+12)Δt2+a8ue″(tn)Δt2.