Numerical solution of the heat equation using the Finite Difference Method

Nor Azam, Nur Zeti Azreen and Mohd Nazeri, Nurhayati and Ahmad, Azhar and Samsudin, Norshuhada (2025) Numerical solution of the heat equation using the Finite Difference Method. The New Frontiers Of E-Learning: Shaping The Future Of Education, 10. pp. 44-49. ISSN 978-629-98755-7-4

Official URL: https://appspenang.uitm.edu.my/sigcs/

Abstract

This paper focuses on solving the one-dimensional heat equation numerically through the Finite Difference Method (FDM), highlighting the application of the Crank-Nicolson approach. The heat equation, a key partial differential equation in physics and engineering, describes how heat diffuses over time within a material. Although exact analytical solutions exist for simple scenarios, they are often inadequate for more complex problems, making numerical techniques essential. In this study, the continuous domain is discretized in both time and space, converting the heat equation into a set of algebraic expressions. The Crank-Nicolson method, well-regarded for its numerical stability and second-order precision, is applied to examine temperature variations under different types of boundary conditions, such as Dirichlet and Neumann. Implementation is carried out using Wolfram Mathematica, which also enables dynamic visualizations through animated plots and 3D surfaces. The accuracy of the numerical results is checked by comparing them to known exact solutions, using measures like the L2-Norm and maximum absolute error. The analysis demonstrates that the Crank-Nicolson method is an effective and accurate tool for simulating heat transfer, offering a reliable solution strategy for practical thermal conduction problems.

Metadata

Item Type: Article
Creators:
Creators
Email / ID Num.
Nor Azam, Nur Zeti Azreen
2022478324@student.uitm.edu.my
Mohd Nazeri, Nurhayati
2022868264@student.uitm.edu.my
Ahmad, Azhar
azhar251@uitm.edu.my
Samsudin, Norshuhada
norsh111@uitm.edu.my
Contributors:
Contribution
Name
Email / ID Num.
Advisor
Abd Rahman, Nor Hanim
UNSPECIFIED
Chief Editor
Othman, Jamal
UNSPECIFIED
Subjects: Q Science > QA Mathematics > Equations
Divisions: Universiti Teknologi MARA, Pulau Pinang > Permatang Pauh Campus
Journal or Publication Title: The New Frontiers Of E-Learning: Shaping The Future Of Education
ISSN: 978-629-98755-7-4
Volume: 10
Page Range: pp. 44-49
Keywords: Heat equation, Finite Difference Method, Crank-Nicolson Method
Date: September 2025
URI: https://ir.uitm.edu.my/id/eprint/131953
Edit Item
Edit Item

Download

[thumbnail of 131953.pdf] Text
131953.pdf

Download (822kB)

ID Number

131953

Indexing

Statistic

Statistic details