arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.18536math.NAcs.NAphysics.flu-dyn
收藏

用于湍流流动加速模拟的可微软件包

A differentiable software suite for accelerated simulation of turbulent flows

Centrum Wiskunde & Informatica(荷兰数学与计算机科学中心);Eindhoven University of Technology(埃因霍温理工大学)

Syver Døving Agdestein, Benjamin Sanderse

AI总结:

本文介绍了一个用于求解不可压缩纳维-斯托克斯方程的开源Julia包,支持多线程CPU和GPU计算,具备可微性,可训练神经网络闭合模型,并实现高精度直接数值模拟。

摘要:

我们介绍了IncompressibleNavierStokes.jl,一个开源的Julia包,用于在交错的笛卡尔网格上求解不可压缩纳维-斯托克斯方程。该包具有无矩阵、硬件无关的内核,这些内核从单一源代码编译,用于多线程CPU或GPU执行,并为所有离散算子编写手动的伴随内核,使整个求解器能够通过整个求解器进行高效的反向模式自动微分。这种可微性允许神经网络闭合模型在大涡模拟中进行后验训练。内存优化使得在单个GPU上可以以双精度进行直接数值模拟,分辨率高达$840^3$。软件设计、数值方法、硬件性能以及神经网络闭合模型的集成均被描述,并对湍流通道流的结果进行了与参考数据的验证。

英文摘要:

We present IncompressibleNavierStokes.jl, an open-source Julia package for solving the incompressible Navier--Stokes equations on staggered Cartesian grids. The package features matrix-free, hardware-agnostic kernels that are compiled from a single source for multi-threaded CPU or GPU execution, and hand-written adjoint kernels for all discrete operators, enabling efficient reverse-mode automatic differentiation through the entire solver. This differentiability allows neural network closure models to be trained a-posteriori while embedded in a large-eddy simulation. Memory optimizations permit double-precision direct numerical simulations at resolutions up to $840^3$ on a single GPU. The software design, numerical methods, hardware performance, and integration of neural network closure models are described, and results for turbulent channel flow are validated against reference data.

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

↑