Hostname: page-component-76d6cb85b7-8p85h Total loading time: 0 Render date: 2026-07-16T09:08:40.748Z Has data issue: false hasContentIssue false

Learning from data versus data for learning: a shape-to-aerodynamics study

Published online by Cambridge University Press:  14 July 2026

Mark Benjamin*
Affiliation:
Department of Mechanical Engineering, Stanford University , USA
Gianluca Iaccarino
Affiliation:
Department of Mechanical Engineering, Stanford University , USA
*
Corresponding author: Mark Benjamin; Email: markben@stanford.edu

Abstract

The cost of high-quality aerodynamics simulations for realistic automotive configurations makes comprehensive design studies unfeasible. Data-driven surrogates (learning from data) are an appealing alternative, and there is no shortage of approaches that target shape-to-aerodynamics predictions. However, there is a fundamental limitation (data insufficiency problem) in this context: owing to the proprietary nature of commercial automotive designs, training datasets are limited to a few freely-available geometries. In a previous work the authors, a strategy to construct datasets for training surrogates was introduced. It enables controlled generation of an arbitrary number of samples, by convex interpolation between a small number of basis geometries. In this work, we extend this strategy by introducing three features, namely size, density, and diversity that characterize more general datasets. These are important to assess how useful is a dataset for a specific prediction task (data for learning). A formal measure of diversity is developed and then, datasets of successively increasing diversity but constant size are constructed. We show that the dataset diversity has an impact on the predictive accuracy of machine learning surrogates. A power-law scaling, $ \varepsilon \hskip0.5em \propto \hskip0.5em {M}^{1/2}\hskip0.1em {m}^{-1/6} $, where $ \varepsilon $ is the prediction error, $ M $ is the diversity, and $ m $ the dataset size, collapses 23 controlled experiments onto a single curve, revealing that diversity dominates size in determining prediction error. The proposed framework allows for more rigorous a priori evaluation of models than is currently possible and can be applied readily to other shape optimization problems.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Open Practices
Open data
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Temporal snapshot of time-resolving simulation of flow past a car, showing velocity magnitude contours. Image courtesy: Kun Lu.Figure 1. long description.

Figure 1

Table 1. Datasets for data-driven automotive aerodynamics surrogatesTable 1. long description.

Figure 2

Table 2. Surface representations and corresponding network typesTable 2. long description.

Figure 3

Figure 2. DrivAer back configurations: estateback (left), fastback (center), and notchback (right).

Figure 4

Figure 3. View of the mesh used for the large eddy simulations, with refinement zones shown: (a) near the car, (b) in the wake. (c) Instantaneous velocity magnitude contours showing wake behind the car.Figure 3. long description.

Figure 5

Table 3. Simulation setup details for the DrivAerCH3 databaseTable 3. long description.

Figure 6

Figure 4. Planar images of the left view of the notchback, showing (left) the normalized surface pressure coefficient computed on the 2M CV grid, (center) the normalized surface pressure coefficient computed on the 4M CV grid, and (right) the relative error between the two solutions.Figure 4. long description.

Figure 7

Figure 5. Planar images of the normal distance from the camera (top row) and the normalized surface pressure coefficients (bottom rows) for a sample DrivAer geometry. The input images with the check marks (and the corresponding output views) are used for training.Figure 5. long description.

Figure 8

Figure 6. Surface pressure coefficients (cp$ {c}_p $) shown on left side views of a selection of samples in dataset, showing a transition from the notchback (top left) to the estateback (bottom right), with the fastback visited along the way. Values are normalized between 0 and 255 per sample.Figure 6. long description.

Figure 9

Figure 7. Schematic of U-Net architecture for the cp$ {c}_p $ model.Figure 7. long description.

Figure 10

Table 4. Network architectureTable 4. long description.

Figure 11

Figure 8. Illustration of size, density, and diversity of a dataset in ℝ1$ {\mathrm{\mathbb{R}}}^1 $. Crosses represent training samples. Gray solid line represents the underlying truth. (a) Baseline; (b) same diversity, but different size and density; (c) same density, but different size and diversity; (d) same size, but different diversity and density.Figure 8. long description.

Figure 12

Figure 9. Illustration of database size and density in the ShapeCH framework.

Figure 13

Table 5. Diversity metric for model databasesTable 5. long description.

Figure 14

Figure 10. The six basis STLs used in generating the datasets. Left column: DrivAer models; right column: equivalent AeroSUV models.

Figure 15

Table 6. Datasets’ characteristicsTable 6. long description.

Figure 16

Figure 11. Histograms of drag coefficients of different datasets. Left to right: the DrivAerCH3 dataset, the DrivAerCH4 dataset, the DrivAerCH5 dataset, and the DrivAerCH6 dataset.Figure 11. long description.

Figure 17

Figure 12. Multidimensional scaling (MDS) of the DrivAerCH3 dataset. Each sample is colored by drag coefficient obtained from LES. Silhouettes indicate the basis samples.Figure 12. long description.

Figure 18

Figure 13. DrivAerCH4 dataset. See Figure 12 for details.Figure 13. long description.

Figure 19

Figure 14. DrivAerCH5 dataset. See Figure 12 for details.Figure 14. long description.

Figure 20

Figure 15. DrivAerCH6 dataset. See Figure 12 for details.Figure 15. long description.

Figure 21

Figure 16. Mean absolute error in drag counts for CNNs trained on different datasets when predicting the aerodynamic drag. Left to right: DrivAerCH3, DrivAerCH4, DrivAerCH5, and DrivAerCH6.

Figure 22

Figure 17. Surface pressure coefficient cp$ {c}_p $ predictions for models trained on DrivAerCH3 (first row), DrivAerCH4 (second row), DrivAerCH5 (third row), and DrivAerCH6 (fourth row), respectively.Figure 17. long description.

Figure 23

Figure 18. Extrapolation study: training set (top) and test set (bottom), shaded by CD$ {C}_D $.Figure 18. long description.

Figure 24

Figure 19. Extrapolation distance (%).Figure 19. long description.

Figure 25

Figure 20. Test set relative error from extrapolation study.Figure 20. long description.

Figure 26

Figure 21. Test set relative error from extrapolation study rescaled by basis case diversity.Figure 21. long description.

Figure 27

Figure 22. Controlled extrapolation test of CD$ {C}_D $ prediction on the DrivAerCH5 dataset; left: MDS projection of training set, colored by CD$ {C}_D $ value; right: testing set.Figure 22. long description.

Figure 28

Figure 23. Controlled extrapolation test of CD$ {C}_D $ prediction on the DrivAerCH5 dataset. MDS projections of: (a) CD$ {C}_D $ network predictions, (b) CD$ {C}_D $ ground truth values, (c) relative error, (d) extrapolation distances computed from diversity metric.Figure 23. long description.

Figure 29

Table 7. Summary of scaling experimentsTable 7. long description.

Figure 30

Figure 24. All 23 experiments from Table 7 plotted against the composite variable ξ∝M1/2m−1/6$ \xi \propto {M}^{1/2}\hskip0.1em {m}^{-1/6} $ (scaled by 105$ {10}^5 $ for readability). Colors distinguish the six experiment families; markers denote the constraint type (circles: constant size; squares: constant density; triangles: constant diversity). Error bars show the standard error of the mean MAE across the five cross-validation folds of the best-performing network. The dashed line is the fit from Equation (6).Figure 24. long description.

Submit a response

Comments

No Comments have been published for this article.