EKSAKTA: Berkala Ilmiah Bidang MIPA
Open Access

Efficient 1D Heat Equation Solver: Leveraging Numba in Python

1 Department of Earth and Planetary Sciences, University of California, Riverside, USA
2 School of Architecture, Planning and Perservation, University of Maryland, College Park, MD, USA
3 Applied Geology Research Group, Bandung Institute of Technology, Bandung, Indonesia
4 Paleontology and Quaternary Geology Research Group, Bandung Institute of Technology, Bandung, Indonesia
Download PDF

Abstract

This paper presents a Numba-based solver for the 1D Heat Equation, seamlessly blending Python’s readability with Numba’s dynamic Just-In-Time (JIT) compilation. The explicit method exhibits a notable runtime reduction from 8.324 s to 4.035 s, while the implicit method sees a more pronounced improvement, decreasing from 9.970 s to 1.195 s. Statistical tests confirm the statistical significance of these efficiency gains. Future research directions include extending the solver to multidimensional heat equations, exploring advanced parallelization techniques, and implementing dynamic parameter optimization strategies. Collaboration with domain experts for real-world applications is also envisioned to validate the solver’s performance and impact. In summary, the symbiosis of Python and Numba in crafting an optimized 1D Heat Equation solver marks a pivotal advancement in efficient numerical solutions. This research holds promise for diverse scientific

References

1
Ewing, R. E., & Wang, H. (2001). A summary of numerical methods for time-dependent advection-dominated partial differential equations. Journal of Computational and Applied Mathematics, 128(1-2), 423-445.
2
Fernández, D. C. D. R., Hicken, J. E., & Zingg, D. W. (2014). Review of summation-by-parts operators with simultaneous approximation terms for the numerical solution of partial differential equations. Computers & Fluids, 95, 171-196.
3
Sharma, H., Patil, M., & Woolsey, C. (2020). A review of structure-preserving numerical methods for engineering applications. Computer Methods in Applied Mechanics and Engineering, 366, 113067.
4
Steinboeck, A., Wild, D., Kiefer, T., & Kugi, A. (2011). A fast simulation method for 1D heat conduction. Mathematics and Computers in Simulation, 82(3), 392-403.
5
Filbet, F., Negulescu, C., & Yang, C. (2012). Numerical study of a nonlinear heat equation for plasma physics. International Journal of Computer Mathematics, 89(8), 1060-1082.
Downloads
Download data is not yet available.

How to Cite

1.
Efficient 1D Heat Equation Solver: Leveraging Numba in Python. EKSAKTA [Internet]. 2024 Jun. 30 [cited 2026 Aug. 29];25(02):126-37. Available from: https://eksakta.ppj.unp.ac.id/index.php/eksakta/article/view/487

Most read articles by the same author(s)