Accuracy of the Crank-Nicolson method depending on the parameter of the method r

Gunova, Vesna and Gicev, Vlado (2015) Accuracy of the Crank-Nicolson method depending on the parameter of the method r. Yearbook 2014 - Faculty of Computer Science, 3 (3). pp. 5-14. ISSN 1857- 8691

[thumbnail of 873-1741-1-PB.pdf]
Preview
Text
873-1741-1-PB.pdf

Download (2MB) | Preview

Abstract

The method of Crank-Nicolson is powerful implicit method for numerical solving of parabolic partial differential equations. Because the method is implicit, it is unconditionally stable. We analyze the accuracy of the Crank-Nicolson method depending on the parameter r which is the ratio of the time step and the square of the spatial interval. To do this study, we consider metal rod initially heated with specific heat distribution. Temperature at the ends of the rod is prescribed at each time. For this example, close analytical solution given in Fourier series exists. Using Crank-Nicolson method, with Matlab we solve the problem for specific r. We compare this numerical solution with the exact analytical solution and obtain the error for the actual parameter r. Then we repeat the procedure for other values of the parameter r. On this way we are obtaining the dependence of the error of the method upon the parameter r.

Item Type: Article
Subjects: Natural sciences > Computer and information sciences
Natural sciences > Matematics
Divisions: Faculty of Computer Science
Depositing User: Vlado Gicev
Date Deposited: 26 Jun 2015 08:19
Last Modified: 26 Jun 2015 09:23
URI: https://eprints.ugd.edu.mk/id/eprint/13419

Actions (login required)

View Item View Item