OneScience-Group/cylinder_flow
Cylinder Flow Dataset Description The Cylinder Flow dataset is sourced from DeepMind's MeshGraphNets benchmark and describes flow around a cylinder (vortex shedding) on a two-dimensional unstructured triangular mesh. The data was generated using COMSOL simulations. Each trajectory contains 600 time steps with a time-step size of dt=0.01 and records the fluid velocity and pressure fields. Paper: Learning Mesh-Based Simulation with Graph Networks Supported… See the full description on the dataset page: https://huggingface.co/datasets/OneScience-Group/cylinder_flow.
<p align="center"> <strong> <span style="font-size: 30px;">Cylinder Flow</span> </strong> </p>
Dataset Description
The Cylinder Flow dataset is sourced from DeepMind's MeshGraphNets benchmark and describes flow around a cylinder (vortex shedding) on a two-dimensional unstructured triangular mesh. The data was generated using COMSOL simulations. Each trajectory contains 600 time steps with a time-step size of dt=0.01 and records the fluid velocity and pressure fields.
Paper: Learning Mesh-Based Simulation with Graph Networks
Supported Tasks
Dataset Format and Structure
The data uses the TFRecord format and is divided into training, validation, and test sets:
data/cylinder_flow/
train.tfrecord
valid.tfrecord
test.tfrecord
meta.json
stats/Each record corresponds to an unstructured mesh trajectory. The main fields are as follows:
stats/ stores normalization statistics for edge features, node velocities, velocity differences, and pressure.
How to Use the Dataset
This dataset is compatible with the OneScience-Group/MeshGraphNet model. Download the dataset and model:
hf download --dataset OneScience-Group/cylinder_flow --local-dir ./cylinder_flow
hf download --model OneScience-Group/MeshGraphNet --local-dir ./MeshGraphNetThe validation script included with the dataset can be used to check the directory structure, metadata, and the first TFRecord sample:
cd cylinder_flow
python scripts/validate_cylinder_flow_dataset.pyAppend the --verify-sha256 option to perform full SHA256 verification.
Official OneScience Information
Citation and License
- Original Cylinder Flow paper: Learning Mesh-Based Simulation with Graph Networks
- This repository retains information about the data source and organizes the data for automated runs on OneScience ModelScope. Before public distribution or redistribution, confirm the licensing requirements of the upstream project.
