Improve DrivAerML dataset card

#6
by neashton - opened
Files changed (1) hide show
  1. README.md +123 -128
README.md CHANGED
@@ -1,82 +1,84 @@
1
  ---
2
- viewer: false
3
  license: cc-by-sa-4.0
 
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics
7
- -------
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
- Contact:
10
- ----------
11
- Neil Ashton (contact@caemldatasets.org)
12
 
13
- Website:
14
- ----------
15
- https://caemldatasets.org
16
 
17
- Summary:
18
- -------
19
 
20
- Machine Learning (ML) has the potential to revolutionise the field of automotive aerodynamics, enabling split-second flow predictions early in the design process.
21
- However, the lack of open-source training data for realistic road cars, using high-fidelity CFD methods, represents a barrier to their development.
22
- To address this, a high-fidelity open-source (CC-BY-SA) public dataset for automotive aerodynamics has been generated, based on 500 parametrically morphed variants of the widely-used DrivAer notchback generic vehicle. Mesh generation and scale-resolving CFD was executed using consistent and validated automatic workflows representative of the industrial state-of-the-art. Geometries and rich aerodynamic data are published in open-source formats. To our knowledge, this is the first large, public-domain dataset for complex automotive configurations generated using high-fidelity CFD.
23
 
24
- CFD Solver:
25
- ----------
26
- All cases were run using the open-source finite-volume code OpenFOAM v2212 with custom modifications by UpstreamCFD. Please see the paper below for full details on the code and validation:
27
 
28
- How to cite this dataset:
29
- ----------------
30
- In order to cite the use of this dataset please cite the paper below which contains full details on the dataset.
31
 
32
- ''
 
 
33
  @article{ashton2024drivaer,
34
- title = {{DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics}},
35
- year = {2024},
36
- journal = {arxiv.org},
37
- url={https://arxiv.org/abs/2408.11969},
38
- author = {Ashton, N., Mockett, C., Fuchs, M., Fliessbach, L., Hetmann, H., Knacke, T., Schonwald, N.,
39
- Skaperdas, V., Fotiadis, G., Walle, A., Hupertz, B., and Maddix, D}
40
  }
41
- ''
42
-
43
- Files:
44
- -------
45
 
46
- ### Native boundary polygon areas
47
 
48
- For each published `run_N`, `run_N/boundary_cell_area_N.npy` is a one-dimensional little-endian float32 (`<f4`) array with one area in `m^2` per native polygon (and matching `CellData` tuple) of `run_N/boundary_N.vtp`, in its original cell order. It is not valid for an STL, PhysicsNeMo PDMsh, retriangulated mesh, or reordered cells. The method and per-case metadata are in [`surface_cell_areas/`](surface_cell_areas/).
49
 
 
 
 
 
 
 
 
 
 
 
50
 
51
- Each folder (e.g run1,run2...run"i" etc) corresponds to a different geometry that contains the following files where "i" is the run number:
52
- * geometry stl (~135mb): drivaer_i.stl
53
- * reference values for each geometry: geo_ref_i.csv
54
- * reference geometry for each geometry: geo_parameters_i.csv
55
- * Boundary VTU (~500mb): boundary_i.vtp
56
- * Native boundary polygon cell areas (`m^2`, matching `boundary_i.vtp` `CellData` order): `boundary_cell_area_i.npy`
57
- * Volume field VTU (~50GB): volume_i.vtu ( please note on HuggingFace this is split into part 1 and part2 - please cat them together to create the volume_i.vtu)
58
- * forces/moments time-averaged (using varying frontal area/wheelbase): force_mom_i.csv
59
- * forces/moments time-averaged (using constant frontal area/wheelbase): force_mom_constref_i.csv
60
- * slices: folder containing .vtp slices in x,y,z that contain flow-field variables
61
- * Images: This folder contains images of various flow variables (e.g. Cp, CpT, UMagNorm) for slices of the domain at X, Y, and Z locations (M signifies minus, P signifies positive), as well as on the surface. It also includes evaluation plots of the time-averaging of the force coefficients (via the tool MeanCalc) and a residual plot illustrating the convergence.
62
 
63
- In addition to the files per run folder, there are also:
64
- * openfoam_meshes : this folder contains the OpenFOAM meshes (in OpenFOAM format) used for these simulations. The 0 and system folders are just the default output from ANSA and were not those used in this study. Please refer to the arxiv paper for full details of the CFD setup. We hope that by providing the meshes, groups may wish to expand the dataset as they see fit.
65
- * force_mom_all.csv : forces/moments time-averaged (using varying frontal area/wheelbase) for all runs
66
- * force_mom_constref_all.csv : forces/moments time-averaged (using constant frontal area/wheelbase) for all runs
67
- * geo_parameters_all.csv: reference geometry values for each geometry for all runs
68
- * [`splits/`](splits/): deterministic benchmark manifests, documentation, source metrics, diagnostic figures, and generation code.
69
 
70
- ## Recommended dataset splits
71
 
72
- For reproducible machine-learning evaluation, DrivAerML provides eight
73
- deterministic split families in [`splits/manifest.json`](splits/manifest.json).
74
- Case identifiers match the top-level `run_N` directories.
75
 
76
- The split construction is based on the 484 publicly available runs. The 16
77
- unavailable or held-back runs are excluded from every partition. Reduced-data
78
- variants intentionally use subsets of the standard training population while
79
- retaining fixed validation and test sets.
80
 
81
  | Split | Type | Train | Validation | Test | Intended use |
82
  |---|---:|---:|---:|---:|---|
@@ -93,102 +95,95 @@ The data-efficiency training sets are nested:
93
 
94
  `super_scarce_train ⊂ scarce_train ⊂ medium_train ⊂ full_train`
95
 
96
- They share the same validation and test sets, allowing direct comparisons
97
- across training-set sizes. For the OOD splits, validation cases are sampled
98
- from the training-side population; the held-out extreme is reserved for final
99
- testing.
100
 
101
- Use `full` for a standard baseline, the nested sequence for data-efficiency
102
- studies, `geometry` for surface-shape extrapolation, `high_drag` or
103
- `low_drag` for coefficient-regime extrapolation, and `rear_separation` for
104
- flow-structure generalization.
105
 
106
- Download only the split package with:
107
 
108
- ```bash
109
- hf download neashton/drivaerml \
110
- --repo-type dataset \
111
- --include "splits/**" \
112
- --local-dir ./drivaerml
113
- ```
114
 
115
- Complete definitions, construction methods, diagnostic figures, source
116
- metrics, and reproducibility instructions are provided in
117
- [`splits/README.md`](splits/README.md).
118
 
119
- How to download:
120
- ----------------
121
 
122
- The dataset is now available on HuggingFace. Below are some examples of how to download all or selected parts of the dataset. Please refer to the HuggingFace documentation for other ways to accessing the dataset and building workflows.
123
 
124
- Example 1: Download all files (~31TB)
125
- ----------
126
- Please note you’ll need to have git lfs installed first, then you can run the following command:
127
 
128
- git clone git@hf.co:datasets/neashton/drivaerml
129
-
130
- Example 2: only download select files (STL,images & force and moments):
131
- --------
132
 
133
- Create the following bash script that could be adapted to loop through only select runs or to change to download different files e.g boundary/volume.
134
 
 
 
135
  ```
136
- #!/bin/bash
137
 
138
- # Set the path and prefix
139
- HF_OWNER="neashton"
140
- HF_PREFIX="drivaerml"
141
 
142
- # Set the local directory to download the files
143
- LOCAL_DIR="./drivaer_data"
 
 
 
 
144
 
145
- # Create the local directory if it doesn't exist
146
- mkdir -p "$LOCAL_DIR"
147
 
148
- # Loop through the run folders from 1 to 500
149
- for i in $(seq 1 500); do
150
- RUN_DIR="run_$i"
151
- RUN_LOCAL_DIR="$LOCAL_DIR/$RUN_DIR"
152
 
153
- # Create the run directory if it doesn't exist
154
- mkdir -p "$RUN_LOCAL_DIR"
 
 
 
 
 
 
 
 
155
 
156
- # Download the drivaer_i.stl file
157
- wget "https://huggingface.co/datasets/${HF_OWNER}/${HF_PREFIX}/resolve/main/$RUN_DIR/drivaer_$i.stl" -O "$RUN_LOCAL_DIR/drivaer_$i.stl"
158
 
159
- # Download the force_mom_i.csv file
160
- wget "https://huggingface.co/datasets/${HF_OWNER}/${HF_PREFIX}/resolve/main/$RUN_DIR/force_mom_$i.csv" -O "$RUN_LOCAL_DIR/force_mom_$i.csv"
161
 
162
- done
 
 
 
 
 
 
163
  ```
164
 
165
- Credits
166
- -----
167
 
168
- * CFD solver and workflow development by Charles Mockett, Marian Fuchs, Louis Fliessbach, Henrik Hetmann, Thilo Knacke & Norbert Schonwald (UpstreamCFD)
169
- * Geometry parameterization by Vangelis Skaperdas, Grigoris Fotiadis (BETA-CAE Systems) & Astrid Walle (Siemens Energy)
170
- * Meshing development workflow by Vangelis Skaperdas & Grigoris Fotiadis (BETA-CAE Systems)
171
- * DrivAer advise and consultation by Burkhard Hupertz (Ford)
172
- * Guidance on dataset preparation for ML by Danielle Maddix (Amazon Web Services - now NVIDIA)
173
- * Simulation runs, HPC setup and dataset preparation by Neil Ashton (Amazon Web Services - now NVIDIA)
174
 
175
- License
176
- ----
177
- This dataset is provided under the CC BY SA 4.0 license, please see LICENSE.txt for full license text.
 
 
 
178
 
179
- version history:
180
- ---------------
181
- * 17/08/2026 - Added per-run native boundary polygon cell-area arrays and supporting metadata in `surface_cell_areas/`.
182
- * 17/08/2026 - Added deterministic official train/validation/test splits, including data-efficiency and out-of-distribution evaluation protocols.
183
 
184
- * 04/03/2025 - Now available on HuggingFace!
185
-
186
- * 11/11/2024 - the 15 of the 17 cases that were missing are being considered for use as a blind study. For the time-being these are available but password protected in the file blind_15additional_cases_passwd_required.zip. Once we setup a benchmarking sysystem we will provide details on how people can test their methods against these 15 blind cases.
187
 
188
- * 08/10/2024 - The OpenFOAM meshes (in OpenFOAM format) that were generated in ANSA have been uploaded to the openfoam_meshes folder. The 0 and system folders are just the default output from ANSA and were not those used in this study. Please refer to the arxiv paper for full details of the CFD setup. We hope that by providing the meshes, groups may wish to expand the dataset as they see fit.
189
 
190
- * 10/09/2024 - Run_0 has been added as a blind study for the AutoCFD4 workshop. Post-workshop the results from this additional run will be uploaded to the dataset.
191
 
192
- * 29/07/2024 - Note: please be aware currently runs 167, 211, 218, 221, 248, 282, 291, 295, 316, 325, 329, 364, 370, 376, 403, 473 are not in the dataset.
193
 
194
- * 03/05/2024 - draft version produced
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: DrivAerML
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
+ # DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics
16
+
17
+ [Project website](https://caemldatasets.org) · [Paper](https://arxiv.org/abs/2408.11969) · [Hugging Face paper page](https://huggingface.co/papers/2408.11969) · [Official splits](splits/)
18
+
19
+ ## At a Glance
20
+
21
+ | | |
22
+ |---|---|
23
+ | Domain | External aerodynamics of realistic road-car configurations |
24
+ | Scale | 500 parametrically morphed designs; 484 runs are publicly available |
25
+ | CFD method | Scale-resolving CFD using OpenFOAM v2212 with UpstreamCFD modifications |
26
+ | Geometry | DrivAer notchback generic vehicle |
27
+ | Published data | Surface and volume fields, geometry, meshes, slices, images, and force/moment coefficients |
28
+ | License | CC BY-SA 4.0 |
29
 
30
+ ## Summary
 
 
31
 
32
+ Machine learning has the potential to enable rapid aerodynamic predictions early in the vehicle design process, but progress is limited by the availability of open training data for realistic road cars generated with high-fidelity CFD methods.
 
 
33
 
34
+ DrivAerML addresses this gap with a high-fidelity open dataset based on 500 parametrically morphed variants of the widely used DrivAer notchback generic vehicle. Mesh generation and scale-resolving CFD were executed using consistent, validated, automated workflows representative of industrial practice. Geometry and rich aerodynamic data are published in open formats.
 
35
 
36
+ ## CFD Solver
 
 
37
 
38
+ All cases were run with the open-source finite-volume code OpenFOAM v2212 with custom modifications by UpstreamCFD. See the [paper](https://arxiv.org/abs/2408.11969) 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{ashton2024drivaer,
46
+ title = {{DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics}},
47
+ author = {Ashton, Neil and Mockett, Charles and Fuchs, Marian and Fliessbach, Louis and Hetmann, Hendrik and Knacke, Thilo and Schonwald, Norbert and Skaperdas, Vangelis and Fotiadis, Grigoris and Walle, Astrid and Hupertz, Burkhard and Maddix, Danielle},
48
+ journal = {arXiv preprint arXiv:2408.11969},
49
+ year = {2024},
50
+ url = {https://arxiv.org/abs/2408.11969}
 
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
+ * `drivaer_i.stl`: Geometry STL (approximately 135 MB).
59
+ * `geo_ref_i.csv`: Reference values for the geometry.
60
+ * `geo_parameters_i.csv`: Parameters defining the geometry.
61
+ * `boundary_i.vtp`: Surface boundary data (approximately 500 MB).
62
+ * `boundary_cell_area_i.npy`: Native polygon areas in `m^2`, in the exact `CellData` tuple order of `boundary_i.vtp`.
63
+ * `volume_i.vtu`: Volume field data (approximately 50 GB). On Hugging Face, this is stored in two parts that must be concatenated to recreate `volume_i.vtu`.
64
+ * `force_mom_i.csv`: Time-averaged force and moment coefficients using geometry-dependent frontal area and wheelbase references.
65
+ * `force_mom_constref_i.csv`: Time-averaged force and moment coefficients using constant frontal area and wheelbase references.
66
+ * `slices/`: VTP slices in the x, y, and z directions containing flow-field variables.
67
+ * `images/`: Flow-variable images—including `Cp`, `CpT`, and `UMagNorm`—on slices and the vehicle surface, plus force-coefficient time-averaging and residual-convergence plots.
68
 
69
+ The repository root also contains:
 
 
 
 
 
 
 
 
 
 
70
 
71
+ * `openfoam_meshes/`: OpenFOAM meshes used for the simulations. The included `0/` and `system/` directories are default ANSA output and were not used in the study; consult the paper for the CFD setup.
72
+ * `force_mom_all.csv`: Force and moment coefficients for all runs using geometry-dependent reference values.
73
+ * `force_mom_constref_all.csv`: Force and moment coefficients for all runs using constant reference values.
74
+ * `geo_parameters_all.csv`: Geometry parameters for all runs in one file.
75
+ * [`splits/`](splits/): Deterministic benchmark manifests, documentation, source metrics, diagnostic figures, and generation code.
 
76
 
77
+ ## Recommended Dataset Splits
78
 
79
+ For reproducible machine-learning evaluation, DrivAerML provides eight deterministic split families in [`splits/manifest.json`](splits/manifest.json). Case identifiers match the top-level `run_N` directories.
 
 
80
 
81
+ The split construction is based on the 484 publicly available runs. The 16 unavailable or held-back runs are excluded from every partition. Reduced-data variants intentionally use subsets of the standard training population while retaining fixed validation and test sets.
 
 
 
82
 
83
  | Split | Type | Train | Validation | Test | Intended use |
84
  |---|---:|---:|---:|---:|---|
 
95
 
96
  `super_scarce_train ⊂ scarce_train ⊂ medium_train ⊂ full_train`
97
 
98
+ They share the same validation and test sets, allowing direct comparisons across training-set sizes. For the OOD splits, validation cases are sampled from the training-side population; the held-out extreme is reserved for final testing.
 
 
 
99
 
100
+ Use `full` for a standard baseline, the nested sequence for data-efficiency studies, `geometry` for surface-shape extrapolation, `high_drag` or `low_drag` for coefficient-regime extrapolation, and `rear_separation` for flow-structure generalization.
 
 
 
101
 
102
+ Complete definitions, construction methods, diagnostic figures, source metrics, and reproducibility instructions are provided in [`splits/README.md`](splits/README.md).
103
 
104
+ ## Native Boundary Polygon Areas
 
 
 
 
 
105
 
106
+ For each published `run_N`, `run_N/boundary_cell_area_N.npy` is a one-dimensional little-endian float32 (`<f4`) array with one area in `m^2` per native polygon—and matching `CellData` tuple—of `run_N/boundary_N.vtp`, in its original cell order. It is not valid for an STL, PhysicsNeMo PDMsh, retriangulated mesh, or reordered cells. The method and per-case metadata are in [`surface_cell_areas/`](surface_cell_areas/).
 
 
107
 
108
+ ## How to Download
 
109
 
110
+ DrivAerML is publicly available on Hugging Face and is approximately 31 TB in full. We recommend the Hugging Face CLI for selective, resumable downloads and a dry-run preview before transferring large files.
111
 
112
+ ### Prerequisites
 
 
113
 
114
+ ```bash
115
+ pip install -U huggingface_hub hf_xet
116
+ ```
 
117
 
118
+ Authentication is optional for this public dataset, but recommended for large downloads to avoid unauthenticated rate limits:
119
 
120
+ ```bash
121
+ hf auth login
122
  ```
 
123
 
124
+ ### Preview or Download the Full Dataset
 
 
125
 
126
+ ```bash
127
+ hf download neashton/drivaerml \
128
+ --repo-type dataset \
129
+ --local-dir ./drivaerml_data \
130
+ --dry-run
131
+ ```
132
 
133
+ Remove `--dry-run` to start the download.
 
134
 
135
+ ### Preview Selected Metadata and Benchmark Files
 
 
 
136
 
137
+ ```bash
138
+ hf download neashton/drivaerml \
139
+ --repo-type dataset \
140
+ --local-dir ./drivaerml_data \
141
+ --include "force_mom_all.csv" \
142
+ --include "force_mom_constref_all.csv" \
143
+ --include "geo_parameters_all.csv" \
144
+ --include "splits/**" \
145
+ --dry-run
146
+ ```
147
 
148
+ Remove `--dry-run` to download those files.
 
149
 
150
+ ### Preview a Small Per-Run Subset
 
151
 
152
+ ```bash
153
+ hf download neashton/drivaerml \
154
+ --repo-type dataset \
155
+ --local-dir ./drivaerml_data \
156
+ --include "run_1/drivaer_1.stl" \
157
+ --include "run_1/force_mom_1.csv" \
158
+ --dry-run
159
  ```
160
 
161
+ Remove `--dry-run` to download the selected files.
 
162
 
163
+ ## Credits
 
 
 
 
 
164
 
165
+ * CFD solver and workflow development by Charles Mockett, Marian Fuchs, Louis Fliessbach, Hendrik Hetmann, Thilo Knacke, and Norbert Schonwald (UpstreamCFD).
166
+ * Geometry parameterization by Vangelis Skaperdas and Grigoris Fotiadis (BETA CAE Systems), and Astrid Walle (Siemens Energy).
167
+ * Meshing workflow development by Vangelis Skaperdas and Grigoris Fotiadis (BETA CAE Systems).
168
+ * DrivAer advice and consultation by Burkhard Hupertz (Ford).
169
+ * Guidance on dataset preparation for ML by Danielle Maddix (Amazon Web Services, now NVIDIA).
170
+ * Simulation runs, HPC setup, and dataset preparation by Neil Ashton (Amazon Web Services, now NVIDIA).
171
 
172
+ ## License
 
 
 
173
 
174
+ This dataset is provided under the CC BY-SA 4.0 license. See `LICENSE.txt` for the full license text.
 
 
175
 
176
+ ## Contact
177
 
178
+ Dataset questions and corrections: Neil Ashton at [contact@caemldatasets.org](mailto:contact@caemldatasets.org).
179
 
180
+ ## Version History
181
 
182
+ * 17/08/2026 - Added per-run native boundary polygon cell-area arrays and supporting metadata in `surface_cell_areas/`.
183
+ * 17/08/2026 - Added deterministic official train/validation/test splits, including data-efficiency and out-of-distribution evaluation protocols.
184
+ * 04/03/2025 - Dataset made available on Hugging Face.
185
+ * 11/11/2024 - Fifteen of the seventeen previously missing cases were reserved for a blind study and made available in the password-protected `blind_15additional_cases_passwd_required.zip`; benchmarking instructions will be provided separately.
186
+ * 08/10/2024 - Uploaded the OpenFOAM meshes generated in ANSA. The included `0/` and `system/` directories are default ANSA output and were not used in the study; consult the paper for the CFD setup.
187
+ * 10/09/2024 - Added `run_0` as a blind study for the AutoCFD4 workshop, with results to be uploaded after the workshop.
188
+ * 29/07/2024 - Runs 167, 211, 218, 221, 248, 282, 291, 295, 316, 325, 329, 364, 370, 376, 403, and 473 were not present in the dataset at this date.
189
+ * 03/05/2024 - Draft version produced.