CoolFace
Datasetpublic

OneScience-Group/cfdbench

CFDBench Dataset Description CFDBench is a large-scale benchmark dataset for machine learning methods in computational fluid dynamics, designed to evaluate the generalization capabilities of neural operators under unseen boundary conditions, fluid properties, and geometries. The dataset contains four classic CFD problems: lid-driven cavity flow (cavity), laminar pipe flow (tube), step dam-break flow (dam), and flow around a cylinder (cylinder). For each problem… See the full description on the dataset page: https://huggingface.co/datasets/OneScience-Group/cfdbench.

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes87downloads
Dataset Card

<p align="center"> <strong> <span style="font-size: 30px;">CFDBench</span> </strong> </p>

Dataset Description

CFDBench is a large-scale benchmark dataset for machine learning methods in computational fluid dynamics, designed to evaluate the generalization capabilities of neural operators under unseen boundary conditions, fluid properties, and geometries.

The dataset contains four classic CFD problems: lid-driven cavity flow (cavity), laminar pipe flow (tube), step dam-break flow (dam), and flow around a cylinder (cylinder). For each problem, subsets are organized by variations in boundary conditions (bc), geometry (geo), and fluid properties (prop).

Paper: CFDBench: A Large-Scale Benchmark for Machine Learning Methods in Fluid Dynamics

Supported Tasks

ScenarioDescription
Flow field time-series predictionPredict subsequent flow states from historical velocity fields.
CFD surrogate modelingLearn the mapping from physical parameters, boundary conditions, or geometry to velocity field evolution.
Generalization evaluationEvaluate model performance under unseen boundary conditions, fluid properties, and geometries.
Neural operator researchProvide unified CFD evaluation data for models such as FNO and Transformer.

Dataset Format and Structure

The data is organized by problem type, subset, and case:

text
data/<problem>/<subset>/case*/

Each case contains a physical parameter file and a two-dimensional velocity field time series:

FileFormatDescription
case.jsonJSONFluid properties, boundary conditions, or geometric parameters.
u.npyNumPy NPYHorizontal velocity component with shape [T, 64, 64] and dtype float64.
v.npyNumPy NPYVertical velocity component with the same shape as u.npy.

Some cases also provide u.png and v.png as preview images; they are not required training data.

How to Use the Dataset

This dataset is compatible with the OneScience-Group/CFDBench model. Download the dataset and model:

bash
hf download --dataset OneScience-Group/cfdbench --local-dir ./data

Official OneScience Information

PlatformOneScience Main RepositorySkills Repository
Giteehttps://gitee.com/onescience-ai/onesciencehttps://gitee.com/onescience-ai/oneskills
GitHubhttps://github.com/onescience-ai/OneSciencehttps://github.com/onescience-ai/oneskills

Citation and License

  • Luo, Y. et al. CFDBench: A Large-Scale Benchmark for Machine Learning Methods in Fluid Dynamics, 2023.
  • This dataset is organized from the original CFDBench data and is licensed under the same Apache License 2.0.