The Error of the Crank-Nicolson Method for Linear Parabolic Equations with a Derivative Boundary Condition
DOI:
https://doi.org/10.7146/dpb.v27i534.7064Resumé
The accuracy of finite difference formulae for partial differential equations is usually characterized by the approximation order of the local truncation error as determined by Taylor expansions. Thus the local truncation error of the Crank-Nicolson formula is second order in the two step sizes, h and k, and this carries over to the global error in case of Dirichlet boundary conditions, but not if a derivative boundary condition is approximated by a first order formula. We study the pointwise global error on the formh c(t,x) + k d(t,x) + h^2 f(t,x) + k^2 g(t,x) + ...
and show that the auxiliary functions, c, d, f, and g are solutions to related parabolic problems. We also present a method based on the computed numbers on refined grids to determine the order of the error and the dominant terms in the error expansion. The techniques are demonstrated on two examples.
Downloads
Publiceret
1998-08-01
Citation/Eksport
Østerby, O. (1998). The Error of the Crank-Nicolson Method for Linear Parabolic Equations with a Derivative Boundary Condition. DAIMI Report Series, 27(534). https://doi.org/10.7146/dpb.v27i534.7064
Nummer
Sektion
Articles
Licens
Articles published in DAIMI PB are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.