Datasets:
ArXiv:
DOI:
License:
Improve AhmedML dataset card
#4
by neashton - opened
README.md
CHANGED
|
@@ -1,65 +1,84 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
-
viewer: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
-
AhmedML: High-Fidelity Computational Fluid Dynamics dataset for incompressible, low-speed bluff body aerodynamics
|
| 6 |
-
-------
|
| 7 |
|
| 8 |
-
|
| 9 |
-
----------
|
| 10 |
-
Neil Ashton (NVIDIA) - contact@caemldatasets.org
|
| 11 |
|
| 12 |
-
website:
|
| 13 |
-
----------
|
| 14 |
-
https://caemldatasets.org
|
| 15 |
|
| 16 |
-
|
| 17 |
-
-------
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
-
----------
|
| 23 |
-
All cases were run using the open-source finite-volume code OpenFOAM v2212. Each case was run transiently for approximately 80 convective time units (CTU) on meshes of approximately 20M cells. Please see the paper for full details on the code and validation:
|
| 24 |
|
| 25 |
-
|
| 26 |
-
----------------
|
| 27 |
-
In order to cite the use of this dataset please cite the paper below which contains full details on the dataset. It can be found here: https://arxiv.org/abs/2407.20801
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
@article{ashton2024ahmed,
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
| 34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
*
|
| 40 |
-
*
|
| 41 |
-
*
|
| 42 |
-
* `
|
| 43 |
-
*
|
| 44 |
-
*
|
| 45 |
-
*
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
* force_mom_varref_all.csv : run, cd,cl for all runs in a single file with varying reference area
|
| 51 |
-
* geo_parameters_all.csv : all the geometry parameters for each run inside a single file
|
| 52 |
-
* ahmedml.slvs : SolveSpace input file to create the parametric geometries
|
| 53 |
-
* stl : folder containing stl files that were used as inputs to the OpenFOAM process
|
| 54 |
-
* openfoam-casesetup.tgz : complete OpenFOAM setup that can be used to extend or reproduce the dataset
|
| 55 |
-
* validation : folder containing full outputs from all four mesh levels that were used to validate the methodology
|
| 56 |
-
* [`splits/`](splits/): deterministic benchmark manifests, methods documentation, derived metrics, diagnostic figures, and generation code
|
| 57 |
-
|
| 58 |
-
## Recommended dataset splits
|
| 59 |
-
|
| 60 |
-
AhmedML provides eight deterministic train/validation/test split families in
|
| 61 |
-
[`splits/manifest.json`](splits/manifest.json). Identifiers correspond to the
|
| 62 |
-
top-level `run_N` directories.
|
| 63 |
|
| 64 |
| Split | Type | Train | Validation | Test | Intended evaluation |
|
| 65 |
|---|---:|---:|---:|---:|---|
|
|
@@ -72,95 +91,95 @@ top-level `run_N` directories.
|
|
| 72 |
| `low_drag` | OOD | 350 | 50 | 100 | Low-drag extrapolation |
|
| 73 |
| `image_wake` | OOD | 350 | 50 | 100 | Image-derived wake extrapolation |
|
| 74 |
|
| 75 |
-
The `full` assignment follows the established seed-42 AhmedML baseline used by
|
| 76 |
-
Noether. The reduced-data training sets are strictly nested and share the same
|
| 77 |
-
validation and test cases. For the OOD families, validation is selected from
|
| 78 |
-
the training-side population, while the held-out extreme is reserved for final
|
| 79 |
-
testing.
|
| 80 |
|
| 81 |
-
|
| 82 |
|
| 83 |
-
|
| 84 |
-
hf download neashton/ahmedml \
|
| 85 |
-
--type dataset \
|
| 86 |
-
--include "splits/**" \
|
| 87 |
-
--local-dir ./ahmedml
|
| 88 |
-
```
|
| 89 |
|
| 90 |
-
|
| 91 |
-
diagnostic figures, and reproducibility instructions are provided in
|
| 92 |
-
[`splits/README.md`](splits/README.md).
|
| 93 |
|
| 94 |
-
##
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
| 99 |
-
--------------
|
| 100 |
|
| 101 |
-
|
|
|
|
|
|
|
| 102 |
|
| 103 |
-
|
| 104 |
-
--------
|
| 105 |
-
Please note you'll need to have git lfs installed first, then you can run the following command:
|
| 106 |
|
|
|
|
|
|
|
| 107 |
```
|
| 108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
```
|
| 110 |
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
```
|
| 115 |
-
#!/bin/bash
|
| 116 |
|
| 117 |
-
|
| 118 |
-
HF_OWNER="neashton"
|
| 119 |
-
HF_PREFIX="ahmedml"
|
| 120 |
|
| 121 |
-
#
|
| 122 |
-
LOCAL_DIR="./ahmed_data"
|
| 123 |
|
| 124 |
-
|
| 125 |
-
mkdir -p "$LOCAL_DIR"
|
| 126 |
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
|
| 132 |
-
|
| 133 |
-
mkdir -p "$RUN_LOCAL_DIR"
|
| 134 |
|
| 135 |
-
|
| 136 |
-
wget "https://huggingface.co/datasets/${HF_OWNER}/${HF_PREFIX}/resolve/main/$RUN_DIR/ahmed_$i.stl" -O "$RUN_LOCAL_DIR/ahmed_$i.stl"
|
| 137 |
|
| 138 |
-
|
| 139 |
-
|
|
|
|
|
|
|
| 140 |
|
| 141 |
-
|
| 142 |
-
```
|
| 143 |
|
|
|
|
| 144 |
|
| 145 |
-
|
| 146 |
-
-----------
|
| 147 |
-
* OpenFOAM solver and workflow development by Neil Ashton (Amazon Web Services, now NVIDIA)
|
| 148 |
-
* Geometry parameterization by Samuel Gundry (Amazon Web Services) and Parisa Shabestari (Amazon Web Services)
|
| 149 |
-
* Guidance on dataset preparation for ML by Danielle Madix (Amazon Web Services)
|
| 150 |
-
* Simulation runs, HPC setup and dataset preparation by Neil Ashton (Amazon Web Services, now NVIDIA)
|
| 151 |
|
| 152 |
-
|
| 153 |
-
----
|
| 154 |
-
This dataset is provided under the CC BY SA 4.0 license, please see LICENSE.txt for full license text.
|
| 155 |
|
| 156 |
-
|
| 157 |
-
---------------
|
| 158 |
|
| 159 |
* 17/08/2026 - Added native boundary polygon-area arrays for all 500 runs, with reproducibility metadata.
|
| 160 |
* 17/08/2026 - Added deterministic benchmark train/validation/test splits, including nested data-efficiency and out-of-distribution evaluation protocols.
|
| 161 |
-
* 15/02/2025 -
|
| 162 |
-
* 12/11/2024 -
|
| 163 |
-
* 04/08/2024 -
|
| 164 |
-
* 05/06/2024 - global
|
| 165 |
-
* 01/05/2024 -
|
| 166 |
-
* 18/04/2024 -
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: AhmedML
|
| 3 |
license: cc-by-sa-4.0
|
| 4 |
+
viewer: false
|
| 5 |
+
tags:
|
| 6 |
+
- computational-fluid-dynamics
|
| 7 |
+
- scientific-machine-learning
|
| 8 |
+
- automotive-aerodynamics
|
| 9 |
+
- high-fidelity-simulation
|
| 10 |
+
- surrogate-modeling
|
| 11 |
+
- ai-for-science
|
| 12 |
+
- open-data
|
| 13 |
---
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
# AhmedML: High-Fidelity Computational Fluid Dynamics Dataset for Incompressible, Low-Speed Bluff Body Aerodynamics
|
|
|
|
|
|
|
| 16 |
|
| 17 |
+
[Project website](https://caemldatasets.org) · [Paper](https://arxiv.org/abs/2407.20801) · [Hugging Face paper page](https://huggingface.co/papers/2407.20801) · [Official splits](splits/)
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
## At a Glance
|
|
|
|
| 20 |
|
| 21 |
+
| | |
|
| 22 |
+
|---|---|
|
| 23 |
+
| Domain | Incompressible, low-speed automotive bluff-body aerodynamics |
|
| 24 |
+
| Scale | 500 geometric variants of the Ahmed body |
|
| 25 |
+
| CFD method | Time-accurate hybrid RANS–LES using OpenFOAM v2212 |
|
| 26 |
+
| Simulation size | Approximately 20 million cells and 80 convective time units per case |
|
| 27 |
+
| Published data | Surface and volume fields, geometry, slices, images, and force/moment coefficients |
|
| 28 |
+
| License | CC BY-SA 4.0 |
|
| 29 |
|
| 30 |
+
## Summary
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
AhmedML contains 500 geometric variations of the Ahmed body, a simplified car-like shape that exhibits many of the flow topologies found on bluff bodies such as road vehicles. The variants cover fundamental flow physics including geometry- and pressure-induced separation and three-dimensional vortical structures.
|
|
|
|
|
|
|
| 33 |
|
| 34 |
+
Each variant was simulated using a time-accurate hybrid Reynolds-Averaged Navier–Stokes (RANS) and Large-Eddy Simulation (LES) turbulence-modelling approach in the open-source CFD code OpenFOAM. The dataset provides surface boundary data, three-dimensional volume data, geometry STL files, slices, images, and forces/moments in open formats including VTP and VTU.
|
| 35 |
+
|
| 36 |
+
## CFD Solver
|
| 37 |
+
|
| 38 |
+
All cases were run with the open-source finite-volume code OpenFOAM v2212. Each transient simulation covered approximately 80 convective time units (CTU) on a mesh of approximately 20 million cells. See the [paper](https://arxiv.org/abs/2407.20801) for full solver and validation details.
|
| 39 |
+
|
| 40 |
+
## How to Cite This Dataset
|
| 41 |
+
|
| 42 |
+
Please cite the corresponding paper:
|
| 43 |
+
|
| 44 |
+
```bibtex
|
| 45 |
@article{ashton2024ahmed,
|
| 46 |
+
title = {{AhmedML: High-Fidelity Computational Fluid Dynamics Dataset for Incompressible, Low-Speed Bluff Body Aerodynamics}},
|
| 47 |
+
author = {Ashton, Neil and Maddix, Danielle and Gundry, Samuel and Shabestari, Parisa},
|
| 48 |
+
journal = {arXiv preprint arXiv:2407.20801},
|
| 49 |
+
year = {2024},
|
| 50 |
+
url = {https://arxiv.org/abs/2407.20801}
|
| 51 |
}
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## Dataset Structure and Files
|
| 55 |
+
|
| 56 |
+
Each `run_i` folder corresponds to a different geometry and contains the following files, where `i` is the run number:
|
| 57 |
+
|
| 58 |
+
* `ahmed_i.stl`: Geometry STL (approximately 5 MB).
|
| 59 |
+
* `geo_parameters_i.csv`: Parameters defining the geometry (`run_500` is missing this per-run file).
|
| 60 |
+
* `boundary_i.vtp`: Surface boundary data (approximately 500 MB).
|
| 61 |
+
* `boundary_cell_area_i.npy`: Native polygon areas in `m^2`, in the exact `CellData` tuple order of `boundary_i.vtp`.
|
| 62 |
+
* `volume_i.vtu`: Volume field data (approximately 5 GB).
|
| 63 |
+
* `force_mom_i.csv`: Time-averaged force coefficients (`Cd`, `Cl`) using a constant reference area.
|
| 64 |
+
* `force_mom_varref_i.csv`: Time-averaged force coefficients (`Cd`, `Cl`) using a geometry-dependent reference area.
|
| 65 |
+
* `slices/`: VTP slices in the x, y, and z directions containing flow-field variables.
|
| 66 |
+
* `images/`: Images of variables including `CpT` and `UxMean` on x-, y-, and z-oriented slices.
|
| 67 |
|
| 68 |
+
The repository root also contains:
|
| 69 |
+
|
| 70 |
+
* `force_mom_all.csv`: `run`, `cd`, and `cl` for all runs using a constant reference area.
|
| 71 |
+
* `force_mom_varref_all.csv`: `run`, `cd`, and `cl` for all runs using a geometry-dependent reference area.
|
| 72 |
+
* `geo_parameters_all.csv`: Geometry parameters for all runs in one file.
|
| 73 |
+
* `ahmedml.slvs`: SolveSpace input used to create the parametric geometries.
|
| 74 |
+
* `stl/`: STL files used as inputs to the OpenFOAM process.
|
| 75 |
+
* `openfoam-casesetup.tgz`: Complete OpenFOAM setup for extending or reproducing the dataset.
|
| 76 |
+
* `validation/`: Full outputs from all four mesh levels used to validate the methodology.
|
| 77 |
+
* [`splits/`](splits/): Deterministic benchmark manifests, methods documentation, derived metrics, diagnostic figures, and generation code.
|
| 78 |
+
|
| 79 |
+
## Recommended Dataset Splits
|
| 80 |
+
|
| 81 |
+
AhmedML provides eight deterministic train/validation/test split families in [`splits/manifest.json`](splits/manifest.json). Identifiers correspond to the top-level `run_N` directories.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
| Split | Type | Train | Validation | Test | Intended evaluation |
|
| 84 |
|---|---:|---:|---:|---:|---|
|
|
|
|
| 91 |
| `low_drag` | OOD | 350 | 50 | 100 | Low-drag extrapolation |
|
| 92 |
| `image_wake` | OOD | 350 | 50 | 100 | Image-derived wake extrapolation |
|
| 93 |
|
| 94 |
+
The `full` assignment follows the established seed-42 AhmedML baseline used by Noether. The reduced-data training sets are strictly nested and share the same validation and test cases. For the OOD families, validation is selected from the training-side population, while the held-out extreme is reserved for final testing.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
+
Complete definitions, construction methods, missing-data treatment, diagnostic figures, and reproducibility instructions are provided in [`splits/README.md`](splits/README.md).
|
| 97 |
|
| 98 |
+
## Native Boundary Polygon Areas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
+
Each `run_N/boundary_cell_area_N.npy` is a one-dimensional little-endian float32 array containing one area in `m^2` per native polygon—and therefore per `CellData` tuple—of `run_N/boundary_N.vtp`, in its original cell order. The array is valid only for that exact raw VTP. The definition, generator, hashes, and complete 500-run manifest are in [`surface_cell_areas/`](surface_cell_areas/).
|
|
|
|
|
|
|
| 101 |
|
| 102 |
+
## How to Download
|
| 103 |
|
| 104 |
+
AhmedML is publicly available on Hugging Face and is approximately 2 TB in full. We recommend the Hugging Face CLI for selective, resumable downloads and a dry-run preview before transferring large files.
|
| 105 |
|
| 106 |
+
### Prerequisites
|
|
|
|
| 107 |
|
| 108 |
+
```bash
|
| 109 |
+
pip install -U huggingface_hub hf_xet
|
| 110 |
+
```
|
| 111 |
|
| 112 |
+
Authentication is optional for this public dataset, but recommended for large downloads to avoid unauthenticated rate limits:
|
|
|
|
|
|
|
| 113 |
|
| 114 |
+
```bash
|
| 115 |
+
hf auth login
|
| 116 |
```
|
| 117 |
+
|
| 118 |
+
### Preview or Download the Full Dataset
|
| 119 |
+
|
| 120 |
+
Preview the full download:
|
| 121 |
+
|
| 122 |
+
```bash
|
| 123 |
+
hf download neashton/ahmedml \
|
| 124 |
+
--repo-type dataset \
|
| 125 |
+
--local-dir ./ahmedml_data \
|
| 126 |
+
--dry-run
|
| 127 |
```
|
| 128 |
|
| 129 |
+
Remove `--dry-run` to start the download.
|
| 130 |
+
|
| 131 |
+
### Preview Selected Metadata and Benchmark Files
|
| 132 |
+
|
| 133 |
+
```bash
|
| 134 |
+
hf download neashton/ahmedml \
|
| 135 |
+
--repo-type dataset \
|
| 136 |
+
--local-dir ./ahmedml_data \
|
| 137 |
+
--include "force_mom_all.csv" \
|
| 138 |
+
--include "force_mom_varref_all.csv" \
|
| 139 |
+
--include "geo_parameters_all.csv" \
|
| 140 |
+
--include "splits/**" \
|
| 141 |
+
--dry-run
|
| 142 |
```
|
|
|
|
| 143 |
|
| 144 |
+
Remove `--dry-run` to download those files.
|
|
|
|
|
|
|
| 145 |
|
| 146 |
+
### Preview a Small Per-Run Subset
|
|
|
|
| 147 |
|
| 148 |
+
This example selects only the geometry and force file from one run:
|
|
|
|
| 149 |
|
| 150 |
+
```bash
|
| 151 |
+
hf download neashton/ahmedml \
|
| 152 |
+
--repo-type dataset \
|
| 153 |
+
--local-dir ./ahmedml_data \
|
| 154 |
+
--include "run_1/ahmed_1.stl" \
|
| 155 |
+
--include "run_1/force_mom_1.csv" \
|
| 156 |
+
--dry-run
|
| 157 |
+
```
|
| 158 |
|
| 159 |
+
Remove `--dry-run` to download the selected files. Keep glob patterns in quotes so the shell does not expand them locally.
|
|
|
|
| 160 |
|
| 161 |
+
## Acknowledgements
|
|
|
|
| 162 |
|
| 163 |
+
* OpenFOAM solver and workflow development by Neil Ashton (Amazon Web Services, now NVIDIA).
|
| 164 |
+
* Geometry parameterization by Samuel Gundry and Parisa Shabestari (Amazon Web Services).
|
| 165 |
+
* Guidance on dataset preparation for ML by Danielle Maddix (Amazon Web Services).
|
| 166 |
+
* Simulation runs, HPC setup, and dataset preparation by Neil Ashton (Amazon Web Services, now NVIDIA).
|
| 167 |
|
| 168 |
+
## License
|
|
|
|
| 169 |
|
| 170 |
+
This dataset is provided under the CC BY-SA 4.0 license. See `LICENSE.txt` for the full license text.
|
| 171 |
|
| 172 |
+
## Contact
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
|
| 174 |
+
Dataset questions and corrections: Neil Ashton at [contact@caemldatasets.org](mailto:contact@caemldatasets.org).
|
|
|
|
|
|
|
| 175 |
|
| 176 |
+
## Version History
|
|
|
|
| 177 |
|
| 178 |
* 17/08/2026 - Added native boundary polygon-area arrays for all 500 runs, with reproducibility metadata.
|
| 179 |
* 17/08/2026 - Added deterministic benchmark train/validation/test splits, including nested data-efficiency and out-of-distribution evaluation protocols.
|
| 180 |
+
* 15/02/2025 - Files uploaded to Hugging Face.
|
| 181 |
+
* 12/11/2024 - Added the `validation/` folder containing full output from all four mesh levels used to validate the methodology.
|
| 182 |
+
* 04/08/2024 - Updated the file description and arXiv paper.
|
| 183 |
+
* 05/06/2024 - Added global force and geometry data for all runs.
|
| 184 |
+
* 01/05/2024 - Corrected forces/moments; the prior version contained incorrect `Cs` data.
|
| 185 |
+
* 18/04/2024 - Draft version produced.
|