Higher Order Finite Difference Schemes for the Heat Eq (Part 5)
Perivious Part: Higher Order Finite Difference Schemes for the Heat Eq (Part 4)
Higher Order Finite Difference Schemes for the Heat Eq (Part 3)
Higher Order Finite Difference Schemes for the Heat Eq (Part 2)
First Part: Higher Order Finite Difference Schemes for the Heat Eq (Part 1)
BTCS
Heat Eq for BTCS can be written as
(1)
By using
(2)
Equation (1) will become
(3)
Since

(4)
(5)
(6)
So, the amplitude

(7)
which satisfies




Crank-Nicolson
For Crank-Nicolson, heat Eq will be
(8)
By using
(9)
Equation (8) will become
(10)
Since

(11)
(12)
(13)
So, the amplitude

(14)
which satisfies





Adams Basforth Method
For Adams Bashforth method, the heat equation has the form
(15)
By using
(16)
Equation (15) will become
(17)
Since

(18)
(19)
Which is a quadratic equation, where
(20)
Since quadratic formula is
(21)

The stability of Adams Bashforth and Euler method is discussed in the given figure.
In this figure is along
-axis and
along
-axis.
From the graphical analysis we see that Adams-Bashforth method stability is much better
then explicit Euler method for fine grids. However for course grids, the stability of
explicit Euler becomes better. In practice, one oftenly requires use of fine grids in order to improve the reliability of numerical schemes, hence Adams Bashforth will be preferred in such cases.
FTCS for three points
The heat equation when discretised using forward finite difference scheme in time and three points central finite difference scheme in space, given as
(22)
By using
(23)
Then equation (22) will become
(24)
(25)
where
(26)

The quadratic equation (25) can be easily solved on matlab. By using a matlab code we have seen that the graph between and
is given in the figure. The region under this straight line represents stable domain of the scheme. From the Von Neumann stability analysis of two points formula for FTCS, we have seen that there is a restriction on
and
i.e
.
Similarly here stability of FTCS is also depends on the value of and
.
The graph depicts that time discretization possesses maximum value initially, it gradually decreases in the interval and vanishes at
.
BTCS for three points
(27)
By using
(28)
Equation (27) will be
(29)
(30)
where
(31)

By using equation (30) a graph has draw in figure above.
This graph has the maximum stability, as the we have the intervals and
. If we increase the values then region of stability also increases and remains its maximum position. Which shows that this scheme (BTCS) is unconditionally stable.
Crank-Nicolson
(32)
By using
(33)
(34)
(35)
(36)
From the equation (36) we have draw graph as shown in figure below.
The graph depicts that time discretization has maximum value initially then it decreases to after that it shows increasing graph. So for greater values of
we obtain more region for stability.

Conclusion
In this post we have worked on the schemes; Explicit Euler, Implicit Euler, Crank Nicolson and Adams Bashforth method for the solution of the heat equation. For this purpose we have chosen two points in time and three points in space, finite difference approximations and then compare it with the three points in time and three points in space discretization.
The order of the two point schemes is first order in time step but the order of three points schemes is second order in time and space. The results from the three points schemes are more closer to the exact solution as compared to the solution given by the two points schemes. The work includes the schemes of three points in time the two dimensional heat equation.
Thank you for visiting our website ThesisPk.com