Datasets:
- DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics
- Contact:
- Website:
- Summary:
- CFD Solver:
- How to cite this dataset:
- Files:
- Recommended dataset splits
- How to download:
- Example 1: Download all files (~31TB)
- Example 2: only download select files (STL,images & force and moments):
- Credits
- License
- version history:
DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics
Contact:
Neil Ashton (contact@caemldatasets.org)
Website:
Summary:
Machine Learning (ML) has the potential to revolutionise the field of automotive aerodynamics, enabling split-second flow predictions early in the design process. However, the lack of open-source training data for realistic road cars, using high-fidelity CFD methods, represents a barrier to their development. 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.
CFD Solver:
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:
How to cite this dataset:
In order to cite the use of this dataset please cite the paper below which contains full details on the dataset.
'' @article{ashton2024drivaer, title = {{DrivAerML: High-Fidelity Computational Fluid Dynamics Dataset for Road-Car External Aerodynamics}}, year = {2024}, journal = {arxiv.org}, url={https://arxiv.org/abs/2408.11969}, author = {Ashton, N., Mockett, C., Fuchs, M., Fliessbach, L., Hetmann, H., Knacke, T., Schonwald, N., Skaperdas, V., Fotiadis, G., Walle, A., Hupertz, B., and Maddix, D} } ''
Files:
Native boundary polygon areas
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/.
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:
- geometry stl (~135mb): drivaer_i.stl
- reference values for each geometry: geo_ref_i.csv
- reference geometry for each geometry: geo_parameters_i.csv
- Boundary VTU (~500mb): boundary_i.vtp
- Native boundary polygon cell areas (
m^2, matchingboundary_i.vtpCellDataorder):boundary_cell_area_i.npy - 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)
- forces/moments time-averaged (using varying frontal area/wheelbase): force_mom_i.csv
- forces/moments time-averaged (using constant frontal area/wheelbase): force_mom_constref_i.csv
- slices: folder containing .vtp slices in x,y,z that contain flow-field variables
- 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.
In addition to the files per run folder, there are also:
- 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.
- force_mom_all.csv : forces/moments time-averaged (using varying frontal area/wheelbase) for all runs
- force_mom_constref_all.csv : forces/moments time-averaged (using constant frontal area/wheelbase) for all runs
- geo_parameters_all.csv: reference geometry values for each geometry for all runs
splits/: deterministic benchmark manifests, documentation, source metrics, diagnostic figures, and generation code.
Recommended dataset splits
For reproducible machine-learning evaluation, DrivAerML provides eight
deterministic split families in splits/manifest.json.
Case identifiers match the top-level run_N directories.
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.
| Split | Type | Train | Validation | Test | Intended use |
|---|---|---|---|---|---|
full |
In-distribution | 400 | 34 | 50 | Seed-42 public baseline |
medium |
In-distribution | 133 | 34 | 50 | Intermediate data-efficiency study |
scarce |
In-distribution | 67 | 34 | 50 | Low-data study |
super_scarce |
In-distribution | 11 | 34 | 50 | Extreme low-data study |
geometry |
OOD | 339 | 48 | 97 | Extrapolation to locally isolated STL geometries |
high_drag |
OOD | 339 | 48 | 97 | Extrapolation to the highest-drag regime |
low_drag |
OOD | 339 | 48 | 97 | Extrapolation to the lowest-drag regime |
rear_separation |
OOD | 339 | 48 | 97 | Extrapolation in image-derived wake and rear-separation behaviour |
The data-efficiency training sets are nested:
super_scarce_train ⊂ scarce_train ⊂ medium_train ⊂ full_train
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.
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.
Download only the split package with:
hf download neashton/drivaerml \
--repo-type dataset \
--include "splits/**" \
--local-dir ./drivaerml
Complete definitions, construction methods, diagnostic figures, source
metrics, and reproducibility instructions are provided in
splits/README.md.
How to download:
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.
Example 1: Download all files (~31TB)
Please note you’ll need to have git lfs installed first, then you can run the following command:
git clone git@hf.co:datasets/neashton/drivaerml
Example 2: only download select files (STL,images & force and moments):
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.
#!/bin/bash
# Set the path and prefix
HF_OWNER="neashton"
HF_PREFIX="drivaerml"
# Set the local directory to download the files
LOCAL_DIR="./drivaer_data"
# Create the local directory if it doesn't exist
mkdir -p "$LOCAL_DIR"
# Loop through the run folders from 1 to 500
for i in $(seq 1 500); do
RUN_DIR="run_$i"
RUN_LOCAL_DIR="$LOCAL_DIR/$RUN_DIR"
# Create the run directory if it doesn't exist
mkdir -p "$RUN_LOCAL_DIR"
# Download the drivaer_i.stl file
wget "https://huggingface.co/datasets/${HF_OWNER}/${HF_PREFIX}/resolve/main/$RUN_DIR/drivaer_$i.stl" -O "$RUN_LOCAL_DIR/drivaer_$i.stl"
# Download the force_mom_i.csv file
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"
done
Credits
- CFD solver and workflow development by Charles Mockett, Marian Fuchs, Louis Fliessbach, Henrik Hetmann, Thilo Knacke & Norbert Schonwald (UpstreamCFD)
- Geometry parameterization by Vangelis Skaperdas, Grigoris Fotiadis (BETA-CAE Systems) & Astrid Walle (Siemens Energy)
- Meshing development workflow by Vangelis Skaperdas & Grigoris Fotiadis (BETA-CAE Systems)
- DrivAer advise and consultation by Burkhard Hupertz (Ford)
- Guidance on dataset preparation for ML by Danielle Maddix (Amazon Web Services - now NVIDIA)
- Simulation runs, HPC setup and dataset preparation by Neil Ashton (Amazon Web Services - now NVIDIA)
License
This dataset is provided under the CC BY SA 4.0 license, please see LICENSE.txt for full license text.
version history:
17/08/2026 - Added per-run native boundary polygon cell-area arrays and supporting metadata in
surface_cell_areas/.17/08/2026 - Added deterministic official train/validation/test splits, including data-efficiency and out-of-distribution evaluation protocols.
04/03/2025 - Now available on HuggingFace!
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.
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.
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.
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.
03/05/2024 - draft version produced
- Downloads last month
- 55,783