No Detail Found!

Deep Learning-Based PDE Solver: PINN Versus Classical Method for the 1D Heat Equation

Author(s)
Salah Uddin Department of Humanities & Sciences, College of Aeronautical Engineering, National University of Sciences & Technology, Risalpur 23200, Pakistan
Ehsan Ellahi Ashraf Department of Humanities & Sciences, College of Aeronautical Engineering, National University of Sciences & Technology,Risalpur 23200,Pakistan
Mahathir Mohamad Department of Mathematics & Statistics, Universiti Tun Hussein Onn Malaysia,Pagoh Educational Hub, Panchor 84600, Johor,Malaysia
Muhammad Ahmad Hafeez Department of Humanities & Sciences, College of Aeronautical Engineering, National University of Sciences & Technology,Risalpur 23200,Pakistan
Imran Ihsan Department of Creative Technologies, Air University, Islamabad 44000, Pakistan
Abstract
Partial Differential Equations (PDEs) play a vital role in modeling heat transfer and diffusion phenomena in science and engineering, ensuring the development of accurate and efficient numerical solvers for consistent simulations. Conventional discretization-based procedures often involve mesh production for regular geometries and frequently encounter complications for irregular cases and sparse data. Currently, Machine Learning approaches, specifically PhysicsInformed Neural Networks (PINNs), have emerged as capable mesh-free alternatives that integrate governing physical rules directly into the learning method. In this paper, PINNs have been applied to a One-Dimensional (1D) heat equation. The PINN model has been formulated by using DeepXDE and compared with the Finite Difference Method (FDM). The governing equation (GE), along with initial and boundary conditions, is rooted in the loss function, which monitors the training process, allowing the PINN to achieve physical stability by learning the result over the entire spatio-temporal field. The application influences programmed differentiation for the resulting derivatives and reduces the residual error, rather than relying on explicit discretization. Results suggest that the neural networks successfully approximate the solution to the heat equation with competing error rates. Moreover, it is flexible for noisy data and complex domains. Comparative convergence behavior and visualization results are presented to demonstrate the effectiveness of the PINN framework.
Publication Details
Page(s) 230-240
DOI DOI not available
Published Journal: The Sciencetech, Volume: 6, Issue: 4, Year: 2025

Request the full text from PASTIC

Keywords
DeepXDE, Partial Differential Equations, Finite difference method, Physics-Informed Neural Networks
References
Alianakh D.,Dyyak I.,Makar I. .2025 .Development of physicsinformed neural networks for solving partial differential equations. In Proceedings of the International Workshop on Computer Modeling and Intelligent Systems., : .
Almusallam N.,Al Nuaimi B. T.,Alkattan H.,Abotaleb M.,Dhoska K. .2025 .Physics-informed neural networks for solving the heat equation in thermal engineering. Int. J. Tech. Phys. Probl. Eng, 17(1) : 375-382.
Alshanti W. G.,Batiha I. M.,Hammad M. M. A.,Khalil R. .2023 .A novel analytical approach for solving partial differential equations via a tensor product theory of Banach spaces. Partial Differential Equations in Applied Mathematics, 8 : 100531.
Blechschmidt J.,Ernst O. G. .2021 .Three ways to solve partial differential equations with neural networks - A review. GAMM Mitteilungen, 44(2) : .
Chang Y.,Yang D.,He X. .2024 .A deep learning operator-based numerical scheme method for solving 1D wave equations. Journal of Geophysics and Engineering, 21(4) : 1194-1215.
Dalton D.,Husmeier D.,Gao H. .2023 .Physics-informed graph neural network emulation of soft-tissue mechanics. Computer Methods in Applied Mechanics and Engineering, 417 : 116351.
El-Metwaly A. R.,Kamal M. A. .2024 .A brief review of numerical methods for solving the boundary value problems of PDE. Journal of Physics: Conference Series, 2847(1) : .
Guo Y.,Cao X.,Liu B.,Gao M. .2020 .Solving partial differential equations using deep learning and physical constraints. Applied Sciences (Switzerland), 10(17) : .
Gürbüz B.,Fernandez A. .2024 .Numerical and Analytical Methods for Differential Equations and Systems. Multidisciplinary Digital Publishing Institute (MDPI)., 8 : .
Hu W. F.,Lin T. S.,Lai M. C. .2022 .A discontinuity capturing shallow neural network for elliptic interface problems. Journal of Computational Physics, 469 : .
Jiang Z.,Jiang J.,Yao Q.,Yang G. .2023 .A neural network-based PDE solving algorithm with high precision. Scientific Reports, 13(1) : .
Katsikis D.,Muradova A. D.,Stavroulakis G. E. .2022 .A Gentle Introduction to Physics-Informed Neural Networks, with Applications in Static Rod and Beam Problems. Journal of Advances in Applied & Computational Mathematics, 9 : 103-128.
Lima N. J.,Matos J. M. A.,Vasconcelos P. B. .2024 .Solving Partial Differential Problems with Tau Toolbox. , 18(2) : .
Luo K.,Zhao J.,Wang Y.,Li J.,Wen J.,Liang J.,Soekmadji H.,Liao S. .2025 .Physics-informed neural networks for PDE problems: a comprehensive review. Artificial Intelligence Review, 58(10) : .
Maczuga P.,Sikora M.,Służalec T.,Szubert M.,Sztangret M.,Szeliga D.,Łoś M.,Dzwinel W.,Pingali K.,Paszyński M. .2025 .Physics Informed Neural Network Code for 2D Transient Problems (PINN-2DT) Compatible with Google Colab. Lecture Notes in Computer Science, 15904 : 177-191.
Tanyu D. N.,Ning J.,Freudenberg T.,Heilenkötter N.,Rademacher A.,Iben U.,Maass P. .2023 .Deep learning methods for partial differential equations and related parameter identification problems. Inverse Problems, 39(10) : 103001.
Oh H.,Jo G. .2025 .Physics-informed neural network for the heat equation under imperfect contact conditions and its error analysis. AIMS Mathematics, 10(4) : 7920-7940.
Raissi M.,Perdikaris P.,Karniadakis G. E. .2019 .Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378 : 686-707.
Raman D. .2024 .Numerical and analytical approaches to solving partial differential equations. International Journal of Engineering and Applied Sciences, 11(3) : 9-12.
Wei M. .2025 .Numerical Methods for Solving Partial Differential Equations. In Proceedings of the 2025 5th International Conference on Automation Control, Algorithm and Intelligent Bionics, : 274-277.
Zhang Z. .2025 .Comparative Analysis of Finite Difference Method and Neural Network Models for Solving the One-Dimensional Heat Equal. Journal of Theory and Practice in Engineering and Technology, 2(5) : 19-29.
0

Citations

0

Downloads

2

Views