arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.15920cs.MS
收藏

DiFVM:一种基于图的有限体积求解器,用于无结构网格上的可微CFD

DiFVM: A Vectorized Graph-Based Finite Volume Solver for Differentiable CFD on Unstructured Meshes

University of Notre Dame(圣母大学);Cornell University(康奈尔大学)

Pan Du, Yongqi Li, Mingqi Xu, Jian-Xun Wang

AI总结:

DiFVM是首个在无结构多面体网格上原生运行的可微有限体积CFD求解器,通过将有限体积离散化与图神经网络消息传递结构建立结构同构,实现无结构网格连接性的高效处理。

摘要:

可微编程已成为基于梯度的逆问题和计算流体动力学中的端到端混合物理-机器学习的结构前提。然而,现有的可微CFD平台局限于结构化的笛卡尔网格,排除了几何复杂区域,其中符合体的无结构离散化是必不可少的。我们提出了DiFVM,首个在无结构多面体网格上原生运行的GPU加速、端到端可微有限体积CFD求解器。关键的启发是有限体积离散化与图神经网络消息传递之间的结构同构:通过将所有FVM操作重新表述为在网格连接图上的静态散射/收集原语,DiFVM将不规则的无结构连接性转化为第一类GPU数据结构。所有操作均在JAX/XLA中实现,提供即时编译、操作融合和通过完整模拟流程的自动微分。为心血管应用提供了可微风库塞出口边界条件,并且DiFVM接受标准OpenFOAM案例目录而无需修改,以无缝集成到现有工作流中。在涵盖经典流到患者特异性血动力学的基准测试中,正向验证显示与OpenFOAM接近一致,并通过从稀疏观测推断风库塞参数展示了端到端可微性。DiFVM弥合了可微编程与无结构网格CFD之间的关键差距,使在复杂工程几何上基于梯度的逆问题和融合物理的机器学习成为可能。

英文摘要:

Differentiable programming has emerged as a structural prerequisite for gradient-based inverse problems and end-to-end hybrid physics--machine learning in computational fluid dynamics. However, existing differentiable CFD platforms are confined to structured Cartesian grids, excluding the geometrically complex domains where body-conforming unstructured discretizations are indispensable. We present DiFVM, the first GPU-accelerated, end-to-end differentiable finite-volume CFD solver operating natively on unstructured polyhedral meshes. The key enabling insight is a structural isomorphism between finite-volume discretization and graph neural network message-passing: by reformulating all FVM operators as static scatter/gather primitives on the mesh connectivity graph, DiFVM transforms irregular unstructured connectivity into a first-class GPU data structure. All operations are implemented in JAX/XLA, providing just-in-time compilation, operator fusion, and automatic differentiation through the complete simulation pipeline. Differentiable Windkessel outlet boundary conditions are provided for cardiovascular applications, and DiFVM accepts standard OpenFOAM case directories without modification for seamless adoption in existing workflows. Forward validation across benchmarks spanning canonical flows to patient-specific hemodynamics demonstrates close agreement with OpenFOAM, and end-to-end differentiability is demonstrated through inference of Windkessel parameters from sparse observations. DiFVM bridges the critical gap between differentiable programming and unstructured-mesh CFD, enabling gradient-based inverse problems and physics-integrated machine learning on complex engineering geometries.

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

↑