International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 79 - Number 5 |
Year of Publication: 2013 |
Authors: Edmund Agyeman, Derick Folson |
10.5120/13736-1535 |
Edmund Agyeman, Derick Folson . Algorithm Analysis of Numerical Solutions to the Heat Equation. International Journal of Computer Applications. 79, 5 ( October 2013), 11-19. DOI=10.5120/13736-1535
The numerical algorithms employed in the solution of Parabolic Partial Differential Equations are the subject of this paper. In particular, the Crank-Nicolson scheme, which is generally accepted as an improvement of the Schmidt scheme, is subjected not only to stability analysis, but also absolute relative error analysis to guide Mathematicians and Engineers alike to know the true performance of these numerical solution methods. The Heat Equation T_t=cT_xx with Dirichlet conditions conducting heat is analysed by employing the analytical method of solution where the method of Separation of Variables is used. The same equation is then solved with the Schmidt scheme as well as the Crank-Nicolson scheme and the results compared to the analytical solution. It is shown that provided stability conditions for both numerical schemes are not compromised, the Schmidt scheme is better than the Crank-Nicolson scheme at the particular point 80% from the conducting end of the rod. With the rod discretized into six points, both ends of the rod produce the same results for both numerical schemes. With the remaining four points, it is shown that three points produced values which showed that the Crank-Nicolson scheme is better than the Schmidt scheme at those three points, but not the fourth.