Processing math: 100%
Exact solutions of the finite difference equations
How does the truncation error depend on ue in finite differences?
- One-sided differences: ue″Δt (lowest order)
- Centered differences: ue‴Δt2 (lowest order)
- Only harmonic and geometric mean involve ue′ or ue
Consequence:
- ue(t)=ct+d will very often give exact solution
of the discrete equations (R=0)!
- Ideal for verification
- Centered schemes allow quadratic ue
Problem: harmonic and geometric mean (error depends on ue′ and ue)