Preprint / Version 1

Benchmarking Modern Scientific Computing Platforms for 2D Potential Flow Solver

##article.authors##

  • Sandy Herho University of California, Riverside https://orcid.org/0000-0001-8330-2095
  • Siti Kaban Bandung Institute of Technology
  • Iwan Anwar Bandung Institute of Technology

DOI:

https://doi.org/10.31224/4270

Keywords:

Computational platform comparison, Jacobi iteration method, Scientific computing performance, Two-dimensional potential flow, Benchmarking methodology

Abstract

We present a comprehensive performance analysis of three major scientific computing platforms-Python, Julia, and R-in solving two-dimensional potential flow around dual square obstacles. We implemented a numerical solution using the Jacobi iteration method across all three platforms, with careful consideration of boundary conditions and convergence criteria. The numerical implementation successfully demonstrated convergence with an L2 norm reduction from 100 to 10-2 over 40,000 iterations, capturing fundamental flow physics including stagnation points (Cp ≅ 1), flow acceleration regions (Cp < 0), and obstacle interference effects. Through 200 independent executions and 10,000 bootstrap iterations, our comparative performance analysis revealed that Julia achieved superior computational efficiency with a median runtime of approximately 30 seconds, despite higher memory requirements (512MB), while Python offered balanced performance (45s, 108MB) and R showed higher variability in execution time (65s, 185MB). Statistical significance of these performance differences was confirmed through rigorous testing using Mann-Whitney U tests with Bonferroni correction (αadjusted = 0.0167) and bootstrap resampling methods. The results provide valuable insights into the trade-offs between computational efficiency and resource utilization across modern scientific computing platforms, while also validating the numerical accuracy of our potential flow solver implementation. This benchmarking study contributes to the growing body of knowledge regarding platform selection for computational fluid dynamics applications, particularly in educational and rapid prototyping contexts.

Downloads

Download data is not yet available.

Author Biographies

Sandy Herho, University of California, Riverside

Department of Earth and Planetary Sciences

Siti Kaban, Bandung Institute of Technology

Offshore Engineering Research Group

Iwan Anwar, Bandung Institute of Technology

Oceanography Research Group

Posted

2025-01-02