Preprint / Version 1

Efficient 1D Heat Equation Solver

Leveraging Numba in Python

##article.authors##

  • Sandy Herho University of California, Riverside https://orcid.org/0000-0001-8330-2095
  • Siti Kaban University of Maryland, College Park
  • Dasapta Irawan Bandung Institute of Technology
  • Rubiyanto Kapid Bandung Institute of Technology

DOI:

https://doi.org/10.31224/3422

Keywords:

Computational Efficiency, Finite Difference Methods, Numerical PDE Solver, Numba Optimization

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 applications, ushering in a new era of computational efficiency.

Downloads

Download data is not yet available.

Author Biographies

Sandy Herho, University of California, Riverside

Department of Earth and Planetary Sciences

Siti Kaban, University of Maryland, College Park

School of Architecture, Planning and Preservation

Dasapta Irawan, Bandung Institute of Technology

Applied Geology Research Group

Rubiyanto Kapid, Bandung Institute of Technology

Paleontology and Quaternary Research Group

Downloads

Posted

2023-12-31