A high-accuracy Crank-Nicolson compact difference method for the one-dimensional heat equation
Jiayi Li, Bujie Duo
Key points
From the paper's conclusion- The standard and compact schemes are derived for a one-dimensional heat equation subject to homogeneous Dirichlet boundary conditions.
Abstract
The Crank-Nicolson method is a classical implicit finite difference method for parabolic equations. This paper combines Crank-Nicolson time discretization with a fourth-order compact approximation of the second spatial derivative to obtain a method with second-order temporal accuracy and fourth-order spatial accuracy. The standard and compact schemes are derived for a one-dimensional heat equation subject to homogeneous Dirichlet boundary conditions. Consistency, stability, and convergence are examined using truncation-error and modal analyses. A manufactured problem with a known analytical solution is then used to compare the numerical solution, maximum-norm error, discrete L 2 error, convergence order, and computational time. With the coupled refinement rule τ = h 2 , the measured orders approach two for the standard method and four for the compact method. At the error threshold used in the efficiency test, the compact method reaches a smaller error on a substantially coarser grid and in less elapsed time. A supplementary refinement-law check and a brief Richardson-extrapolation comparison further clarify the reported accuracy and efficiency.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Leapfrog Crank--Nicolson decoupling of wave--heat-type problemsarXiv · 2026
- Numerical analysis of fractional integro-differential equations with Caputo derivatives of different ordersPhysica Scripta · 2026
- A Numerical Analysis for Solving the Time-Fractional Cattaneo Model Involving the Riesz Space-Fractional DerivativeFractal and Fractional · 2026
- Corrected L1 Scheme for the Fractional Subdiffusion EquationAxioms · 2026
- A two-dimensional hybrid Legendre-improved block-pulse function method for Caputo-Fabrizio time-fractional Cattaneo equationsPhysica Scripta · 2026
- Mixed precision solvers for the all-at-once Runge--Kutta discretization of the heat equationarXiv · 2026