cfd_benchmark / README.md
Zhongning's picture
Upload folder using huggingface_hub
b6e7d4d verified
|
Raw
History Blame Contribute Delete
3.14 kB
metadata
license: other
tags:
  - Multi-Physics PDE Benchmark
  - Surrogate Modeling
language:
  - en
  - zh

CFD Benchmark

Dataset Description

CFD Benchmark is a comprehensive benchmark dataset for training and evaluating neural PDE solvers. It contains six standard tasks on regular grids, structured grids, and irregular geometries. The dataset was used for unified evaluation in the ICML 2024 paper Transolver, and some of its data originates from the FNO and Geo-FNO works.

The dataset contains six subsets: airfoil, darcy, elasticity, ns, pipe, and plas.

Paper: Transolver: A Fast Transformer Solver for PDEs on General Geometries

Supported Tasks

Subset Task
airfoil Steady-state airfoil flow-field prediction.
darcy Darcy equation solution-field prediction.
elasticity Stress prediction for random-cell structures.
ns Navier-Stokes flow-field time-series prediction.
pipe Steady-state pipe flow-field prediction.
plas Plasticity dynamics response prediction.

Dataset Format and Structure

The data is located in the data/ directory and organized by task:

data/
  airfoil/
  darcy/
  elasticity/
  ns/
  pipe/
  plas/

The data files use NumPy NPY and MATLAB v5 formats. The Airfoil, Pipe, and Elasticity subsets contain grid coordinates, geometry, or flow-field arrays; the Darcy and Navier-Stokes subsets use MATLAB files to store coefficient and solution fields; and the Plasticity subset contains load inputs and response outputs over multiple time steps.

See metadata/schema.yaml for the shape and dtype of each file and the MATLAB variable structures.

How to Use the Dataset

This dataset has been adapted for the OneScience-Group/CFD_Benchmark model. Download the dataset and model:

hf download --dataset OneScience-Group/cfd_benchmark --local-dir ./cfd_benchmark
hf download --model OneScience-Group/CFD_Benchmark --local-dir ./CFD_Benchmark

Quickly check file presence, sizes, and readability:

cd cfd_benchmark
python scripts/validate_dataset.py --skip-sha256

Remove --skip-sha256 to perform a complete SHA256 validation.

Official OneScience Information

Citation and License

  • Six standard tasks: Transolver
  • Darcy and Navier-Stokes data source: Fourier Neural Operator
  • Elasticity, Plasticity, Airfoil, and Pipe data source: Geo-FNO
  • This repository retains the data-source information. Before public distribution or redistribution, verify the licensing requirements with the upstream projects.