Background
The alternating direction implicit (ADI) method is a finite difference method for solving differential equations. It is most notably used to solve the problem of heat conduction or solving the diffusion equation in 2 or more dimensions.
The traditional method for solving the heat conduction equation is the method of Crank-Nicolson. This method is implicit, but has an unaffordable stability criterion in 2 or more dimensions.
The method
Consider the linear diffusion equation in two dimensions,
The implicit Crank-Nicolson method produces the following finite difference equation:
where is the central difference operator for the p-coordinate After performing a stability analysis, it can be shown that this method will be stable as long as .
This an unaffordable numerical stability criterion.
The idea behind the ADI method is to split the finite difference equations into two, one with the x-derivative taken implicitely and the next with the y-derivative taken implicitely,
It can be shown that this method is unconditionally stable. There are more refined ADI methods such as the methods of Douglas[1], or the f-factor method[2] which can be used for 3 or more dimensions.
- ^ Douglas, J. "Alternating direction methods for three space variables," Numerische Mathematik, Vol 4., pp 41-63 (1962)
- ^ Chang, M.J. et al. "Improved alternating-direction implicit method for solving transient three-dimensional heat diffusion problems", Numerical Heat Transfer, Vol 19, pp 69-84, (1991)