arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.07385math.NAcs.MScs.NA
收藏

JAX-FVM:用于可压缩流的非结构化网格上的可微熵稳定有限体积求解器

JAX-FVM: A differentiable, entropy-stable finite volume solver on unstructured meshes for compressible flows

INRIA(法国国家信息与自动化研究所)

Guillaume de Romémont

AI总结:

介绍用于二维可压缩流的开源JAX-FVM,它基于非结构化三角形网格,完全用JAX编写,具备端到端可微性。结合熵守恒通量等数值方法,填补现有可微CFD框架局限于结构化网格或谱离散化的空白,还介绍了相关方程、架构及验证案例。

摘要:

我们展示了JAX-FVM,一种用于二维可压缩欧拉方程和纳维-斯托克斯方程的开源、完全可微的有限体积方法(FVM),用于非结构化三角形网格。该求解器完全用JAX编写,通过自动微分实现即时编译、向量化和端到端可微。在数值方面,它围绕熵守恒的Tadmor/Ismail-Roe两点通量构建,补充熵可变的Rusanov或Roe耗散,用最小二乘梯度和Venkatakrishnan限制对原始变量进行二阶MUSCL重构,以及一系列显式(RK2-4)和无矩阵隐式(牛顿、SDIRK2)时间积分器。非结构化网格可压缩FVM与端到端可微性的结合填补了现有可微CFD框架留下的空白。我们描述了控制方程、离散化、软件架构和一组标准验证案例。代码可在指定网址公开获取。

英文摘要:

We present JAX-FVM, an open-source, fully differentiable finite volume method (FVM) for the two-dimensional compressible Euler and Navier-Stokes equations on unstructured triangular meshes. The solver is written entirely in JAX, so that every operation : mesh connectivity, flux evaluation, slope limiting, and time integration is just-in-time compiled, vectorised, and end-to-end differentiable through automatic differentiation (AD), and runs transparently on CPU or GPU. On the numerical side, JAX-FVM is built around an entropy-conservative Tadmor/Ismail-Roe two-point flux supplemented with entropy-variable Rusanov or Roe dissipation, second-order MUSCL reconstruction of primitive variables with least-squares gradients and Venkatakrishnan limiting, and a family of explicit (RK2-4) and matrix-free implicit (Newton, SDIRK2) time integrators whose Jacobian actions are obtained by AD. The combination of an unstructured-mesh compressible FVM with end-to-end differentiability fills a gap left by existing differentiable CFD frameworks, which are almost exclusively restricted to structured grids or spectral discretisations. We describe the governing equations, the discretisation, the software architecture, and a set of standard verification cases. The code is openly available at https://github.com/guigzair/jax_fvm.

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

↑