FlowBench: A Large Scale Benchmark for Flow Simulation over Complex Geometries

Ronak Tali, Ali Rabeh, Cheng-Hau Yang, Mehdi Shadkhah, Samundra Karki, Abhisek Upadhyaya, Suriya Dhakshinamoorthy, Marjan Saadati, Soumik Sarkar, Adarsh Krishnamurthy, Chinmay Hegde, Aditya Balu, Baskar Ganapathysubramanian

TL;DR

FlowBench is a large-scale, open-source benchmark dataset containing over 10,000 high-fidelity Direct Numerical Simulation (DNS) samples designed to stress-test neural PDE solvers on fluid dynamics across complex 2D and 3D geometries. Spanning pure fluid flow and coupled thermal convection across diverse flow regimes, FlowBench introduces a structured, four-tier evaluation hierarchy to assess how well machine learning models generalize to intricate geometries and preserve physical laws.

What Problem Does This Paper Address?

Simulating fluid flow around complex, arbitrary geometries (such as biological shapes, vehicles, or heat exchangers) using conventional computational fluid dynamics (CFD) is notoriously expensive. Standard body-fitted mesh generation requires manual tuning and struggles with irregular boundaries, while DNS must resolve down to microscopic turbulence scales (the Kolmogorov length scale).

Scientific Machine Learning (SciML)—such as Fourier Neural Operators (FNO) and DeepONets—promises orders-of-magnitude speedups. However, existing flow datasets are typically constrained to tiny sample sizes ($<1\text{K}$ runs), simple canonical shapes (airfoils, cylinders), fixed Reynolds numbers, or purely single-physics setups without thermal coupling. FlowBench fills this gap with an expansive, diverse, multi-physics benchmark.

Methods

  • High-Fidelity octree SBM Simulations: Rather than fighting with manual, body-fitted meshing, the authors use the Shifted Boundary Method (SBM) coupled with parallel adaptive octree/quadtree meshes (Dendro-kt). SBM embeds complex boundaries into Cartesian meshes and enforces Dirichlet boundary conditions weakly via Taylor series expansions on surrogate boundaries.
  • Parametric and Non-Parametric Geometry Synthesis:
  • G1: Smooth parametric curves generated using Non-Uniform Rational B-Splines (NURBS) with randomized control points.
  • G2: Star-like parametric shapes synthesized from spherical harmonics.
  • G3: Highly complex, non-parametric shapes adapted from the SkelNetOn benchmark (representing animals, tools, and intricate contours) smoothed with Gaussian filtering.
  • Physical Setups:
  • Lid-Driven Cavity (LDC): Internal flow (2D and 3D) containing internal bluff bodies under pure Navier-Stokes (NS) and Boussinesq-coupled Heat Transfer (NS-HT) spanning forced, mixed, and free convection ($Re \in [10^1, 10^3]$, $Gr \in [10^1, 10^7]$).
  • Flow Past an Object (FPO): External unsteady flow in 2D capturing vortex shedding and wake dynamics over time ($Re \in [10^2, 10^3]$).
  • Four-Tier Evaluation Hierarchy:
  • M1 (Global metrics): Domain-wide MSE, relative $L_2$, and relative $L_\infty$ errors for velocity ($u, v$), pressure ($p$), and temperature ($\theta$).
  • M2 (Boundary layer metrics): Errors conditioned exclusively near the object's surface ($0 \le \text{SDF} \le 0.2$).
  • M3 (Engineering property metrics): Prediction accuracy on global force and transport coefficients (lift $C_L$, drag $C_D$, and Nusselt number $Nu$).
  • M4 (Physical residual metrics): Finite-element evaluations measuring how well predictions satisfy momentum balance and incompressibility ($\nabla \cdot \mathbf{u} = 0$).

Datasets

The newly released FlowBench dataset provides $>10,000$ simulation samples in compressed .npz tensor formats:

  • 2D LDC (Pure NS): 3,000 samples at $512 \times 512$, $256 \times 256$, and $128 \times 128$ resolutions.
  • 2D LDC (NS + Heat Transfer): 5,990 coupled multiphysics samples across varied Richardson numbers.
  • 2D Flow Past Object (Transient NS): 1,150 cases, each featuring 240 equi-spaced time snapshots capturing vortex shedding.
  • 3D LDC (Pure NS): 500 fully resolved 3D simulations downsampled to a uniform $128^3$ grid.
  • Input Representations: Alongside scalar physical parameters ($Re, Gr$), inputs include aligned 2D/3D grids of binary geometry masks and continuous Signed Distance Fields (SDF).

Key Insights and Ideas

  • The Boundary Layer Penalty: Model performance degrades sharply near the object surface. Boundary layer errors (M2) and integrated engineering force coefficients (M3) are significantly worse across all models than global field averages (M1), exposing a key blind spot in standard operator training.
  • Geometric Complexity Drives Failure: All baseline architectures showed systematic performance drops when moving from smooth parametric geometries (G1, G2) to non-parametric shapes (G3) with thin structures and sharp corners.
  • Foundation Models Dominate Extreme Errors: While traditional neural operators like FNO and DeepONet achieve comparable relative $L_2$ errors on simple domains, the pretrained foundation model Poseidon dramatically outperforms them on peak localized errors (relative $L_\infty$) and mean squared error.

Key Results

Baseline models (FNO, DeepONet, and Poseidon) were trained on the 2D LDC-NS dataset at full $512 \times 512$ resolution for 400 epochs:

  • Global Error (M1, MSE): Poseidon achieved MSEs between $1.4 \times 10^{-4}$ and $4.0 \times 10^{-4}$ across all shape classes, outperforming FNO ($5.8 \times 10^{-3} - 9.7 \times 10^{-3}$) and DeepONet ($2.3 \times 10^{-3} - 6.0 \times 10^{-3}$) by over an order of magnitude.
  • Peak Error (M1, Relative $L_\infty$): On the hardest non-parametric shapes (G3), DeepONet exceeded $1.1$ relative $L_\infty$ error and FNO reached $0.98$, whereas Poseidon contained peak relative error to $0.64$.
  • Physics Residuals (M4): Models maintained incompressibility residuals ($\nabla \cdot \mathbf{u} = 0$) on the order of $10^{-8} - 10^{-7}$ and momentum PDE residuals around $10^{-5} - 10^{-4}$, providing a quantitative baseline for physics-informed refinement.

Limitations and Future Work

  • Evaluated Scope: Baseline experiments were only performed on the 2D steady-state LDC flow; the transient 2D FPO cases, coupled heat transfer setups, and 3D simulations remain to be benchmarked across models.
  • 3D Scale: Due to the extreme computational expense of 3D DNS (requiring millions of degrees of freedom), the 3D dataset is limited to 500 samples over ellipsoids and tori.
  • Reynolds Number Range: Simulations cover laminar and transitional regimes ($Re \le 1,000$). Expanding to fully developed, high-Reynolds turbulent flows ($Re > 10^4$) is an explicit target for future iterations.

Summary updated

BibTeX
@inproceedings{tali2024flowbench,
  author = {Ronak Tali and Ali Rabeh and Cheng-Hau Yang and Mehdi Shadkhah and Samundra Karki and Abhisek Upadhyaya and Suriya Dhakshinamoorthy and Marjan Saadati and Soumik Sarkar and Adarsh Krishnamurthy and Chinmay Hegde and Aditya Balu and Baskar Ganapathysubramanian},
  title = {{FlowBench: A Large Scale Benchmark for Flow Simulation over Complex Geometries}},
  booktitle = {Accepted by DMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=0xrOmmB2KQ},
}
Figure