arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.25403physics.flu-dyn
收藏

FEALPy 中不可压缩 Navier-Stokes 方程的高性能跨平台开源求解器

A High-Performance, Cross-Platform Open-Source Solver for the Incompressible Navier-Stokes Equations in FEALPy

School of Mathematics and Computational Science, Xiangtan University(湘潭大学数学与计算科学学院);National Center of Applied Mathematics in Hunan(湖南应用数学中心);Hunan Key Laboratory for Computation and Simulation in Science and Engineering(湖南省科学与工程计算重点实验室);National-certified Enterprise Technology Center, Kingfa Science and Technology Co., Ltd.(金发科技股份有限公司国家认定企业技术中心)

Wang Pengxiang, Huang Xianbo, Peng Li, Wei Huayi

AI总结:

提出 FEALPy.CFD 求解器,通过后端无关设计和模块化架构实现跨平台高性能计算,降低 CFD 使用门槛。

摘要:

为了解决跨异构硬件的性能可移植性和传统计算流体动力学(CFD)软件高使用门槛的双重挑战,本文介绍了 FEALPy.CFD,一个在 FEALPy 框架内开发的高性能、开源不可压缩 Navier-Stokes 方程求解器。该求解器的核心创新在于其后端无关设计,支持多种计算后端(如 NumPy、PyTorch 和 JAX),能够以最少的代码修改在 CPU 和 GPU 计算之间无缝切换,从而最大化硬件利用率和代码可移植性。其高度模块化的架构提供了各种空间离散化方案的可组合组件库,极大地简化了新算法的开发和集成。基准测试案例的验证表明,所实现的数值格式达到了理论收敛阶。此外,针对不同计算任务选择合适后端架构的能力充分利用了硬件潜力,带来了显著的效率提升。通过降低高性能、跨平台流体动力学模拟的技术门槛,FEALPy.CFD 为学术研究、工程应用和可重复计算科学提供了一个强大且易用的工具。

英文摘要:

To address the dual challenges of performance portability across heterogeneous hardware and the high usability barriers of conventional computational fluid dynamics (CFD) software, this paper introduces FEALPy.CFD, a high performance, open-source solver for the incompressible Navier-Stokes equations developed within the FEALPy framework. The solver's core innovation is its backend-agnostic design, which supports multiple computational backends like NumPy, PyTorch, and JAX to enable seamless switching between CPU and GPU computations with minimal code modification, thereby maximizing hardware utilization and code portability. Its highly modular architecture provides a library of composable components for various spatial discretization schemes, greatly simplifying the development and integration of new algorithms.Validation on benchmark cases confirms that the implemented numerical schemes achieve their theoretical orders of convergence. Furthermore, the capability to select a suitable backend architecture for different computational tasks fully leverages the hardware's potential, delivering substantial efficiency gains. By lowering the technical barrier to high-performance, cross-platform fluid dynamics simulation, FEALPy.CFD offers a powerful and accessible tool for academic research, engineering applications, and reproducible computational science.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑