[Paper Review] A supervised neural network for drag prediction of arbitrary 2D shapes in low Reynolds number flows
This paper proposes a supervised convolutional neural network (CNN) trained on 12,000 randomly generated 2D shapes using Bézier curves to predict drag in laminar, low-Reynolds-number flows (Re = 10). The network achieves high accuracy, with relative errors below 3.06% on real-world shapes like NACA airfoils and cylinders, demonstrating the effectiveness of using synthetic, diverse geometries for generalization in CFD surrogate modeling.
Despite the significant breakthrough of neural networks in the last few years, their spreading in the field of computational fluid dynamics is very recent, and many applications remain to explore. In this paper, we explore the drag prediction capabilities of convolutional neural networks for laminar, low-Reynolds number flows past arbitrary 2D shapes. A set of random shapes exhibiting a rich variety of geometrical features is built using Bézier curves. The efficient labelling of the shapes is provided using an immersed method to solve a unified Eulerian formulation of the Navier-Stokes equation. The network is then trained and optimized on the obtained dataset, and its predictive efficiency assessed on several real-life shapes, including NACA airfoils.
Motivation & Objective
- To develop a generalizable deep learning surrogate model for drag prediction across arbitrary 2D shapes in low-Reynolds laminar flows.
- To overcome limitations of traditional CFD by replacing computationally expensive Navier-Stokes solves with a trained neural network.
- To assess whether a diverse synthetic dataset of random 2D shapes can enable accurate generalization to real-world geometries like NACA airfoils.
- To optimize the CNN architecture for minimal error and parameter count while maintaining predictive performance.
- To validate the model on both synthetic and real-life geometries, including cylinders, squares, and airfoils.
Proposed method
- Random 2D shapes were generated using Bézier curves to ensure geometric diversity and variability.
- The Navier-Stokes equations were solved numerically using an immersed mesh method to compute accurate drag values for each shape, forming the training labels.
- A convolutional neural network (CNN) was trained in a supervised manner using the shape geometry (as input images) and corresponding drag values (as targets).
- The network architecture included convolutional blocks followed by a fully connected head, with hyperparameters (number of neurons and layers) optimized via grid search.
- The training process used stochastic gradient descent with early stopping and L2 regularization to prevent overfitting.
- Generalization was evaluated on unseen shapes, including NACA airfoils and standard geometries, with relative error computed against numerically computed drag.
Experimental results
Research questions
- RQ1Can a supervised CNN generalize drag predictions across arbitrary 2D shapes not seen during training?
- RQ2How does the performance of the CNN vary across different geometric features, such as sharp edges, symmetry, and aspect ratios?
- RQ3What is the optimal CNN architecture (number of neurons, depth of fully connected layers) for minimizing prediction error in drag estimation?
- RQ4To what extent can a model trained on random, synthetic shapes accurately predict drag on real-world airfoil profiles like NACA 4412 or NACA 0018?
- RQ5How does the choice of input representation (e.g., signed distance maps or shape images) affect the model’s predictive accuracy?
Key findings
- The optimized CNN achieved a maximum relative drag error of 3.06% on a horizontal bar, with average error below 1.2% across all test shapes.
- For NACA airfoils, the maximum relative error was 1.27% (NACA 4424), with all other airfoils showing errors below 1.0%.
- The model achieved less than 0.2% relative error when predicting drag for a random shape from the training dataset, confirming high generalization capability.
- The best-performing architecture used one fully connected layer with 64 neurons (q=1, n=64), resulting in 296,865 learnable parameters and a training time of ~1535 seconds.
- The model generalized effectively to non-random, real-life shapes, indicating that a diverse synthetic dataset can serve as a strong proxy for real-world CFD applications.
- The use of an immersed mesh method enabled efficient and accurate labeling of the entire dataset, making large-scale training feasible.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.