DiFVM: A Vectorized Graph-Based Finite Volume Solver for Differentiable CFD on Unstructured Meshes
Pan Du, Yongqi Li, Mingqi Xu, Jian-Xun Wang

TL;DR
DiFVM is a GPU-accelerated, end-to-end differentiable finite-volume CFD solver that operates on unstructured meshes, enabling gradient-based inverse problems and machine learning in complex geometries.
Contribution
It introduces a novel graph neural network formulation of FVM operators, allowing differentiable CFD on unstructured meshes with seamless integration into existing workflows.
Findings
Close agreement with OpenFOAM in benchmark tests
Successful inference of Windkessel parameters from sparse data
Demonstrates end-to-end differentiability in cardiovascular simulations
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Lattice Boltzmann Simulation Studies · Scientific Computing and Data Management
