Hostname: page-component-7b7567c8c-lpg2g Total loading time: 0 Render date: 2026-11-15T14:03:39.614Z Has data issue: false hasContentIssue false

Numerical investigation of minimum drag profiles in laminar flow using deep learning surrogates

Published online by Cambridge University Press:  01 June 2021

Li-Wei Chen*
Affiliation:
Department of Informatics, Technical University of Munich, D-85748 Garching, Germany
Berkay A. Cakal
Affiliation:
Department of Informatics, Technical University of Munich, D-85748 Garching, Germany
Xiangyu Hu
Affiliation:
Department of Mechanical Engineering, Technical University of Munich, D-85748 Garching, Germany
Nils Thuerey
Affiliation:
Department of Informatics, Technical University of Munich, D-85748 Garching, Germany
*
†Email address for correspondence: liwei.chen@tum.de

Abstract

Efficiently predicting the flow field and load in aerodynamic shape optimisation remains a highly challenging and relevant task. Deep learning methods have been of particular interest for such problems, due to their success in solving inverse problems in other fields. In the present study, U-net-based deep neural network (DNN) models are trained with high-fidelity datasets to infer flow fields, and then employed as surrogate models to carry out the shape optimisation problem, i.e. to find a minimal drag profile with a fixed cross-sectional area subjected to a two-dimensional steady laminar flow. A level-set method as well as Bézier curve method are used to parameterise the shape, while trained neural networks in conjunction with automatic differentiation are utilised to calculate the gradient flow in the optimisation framework. The optimised shapes and drag force values calculated from the flow fields predicted by the DNN models agree well with reference data obtained via a Navier–Stokes solver and from the literature, which demonstrates that the DNN models are capable not only of predicting flow field but also yielding satisfactory aerodynamic forces. This is particularly promising as the DNNs were not specifically trained to infer aerodynamic forces. In conjunction with a fast runtime, the DNN-based optimisation framework shows promise for general aerodynamic design problems.

Information

Type
JFM Papers
Copyright
© The Author(s), 2021. Published by Cambridge University Press
Figure 0

Figure 1.Drag coefficients from $Re_D=0.1$ to 40. Surface integral values from OpenFOAM simulations are plotted as black curves. Results based on re-sampled points on Cartesian grids with resolutions of $128\times 128$, $256\times 256$ and $512\times 512$ are plotted as red, black and green circles, respectively. All data are compared with the experimental measurements of Tritton (1959), which are shown as squares.

Figure 1

Figure 2.Pressure coefficient and wall shear stress distributions. (a) Pressure coefficient distribution and (b) wall shear stress distribution.

Figure 2

Figure 3.Shape generation using two Bézier curves. The region of interest is divided into four columns, and each column-wise region is further split into five subregions. (a) Bézier control points and (b) randomly generated shapes.

Figure 3

Table 1.Three datasets for training the neural network models.

Figure 4

Figure 4.Distribution of flow-field samples from Dataset-Range on the $\varOmega ^{*}_i$–$Re^{*}_D$ map. The indices of geometries $\varOmega ^{*}_i$ are from 0 to 2499. The red symbols denote the flow-field samples with $Re^{*}_D \in [0.5, 1.5]$, the green ones with $Re^{*}_D \in [8,12]$ and the blue ones with $Re^{*}_D \in [38, 42]$.

Figure 5

Figure 5.Training (in blue) and validation (in orange) losses of three different scales of models trained with Dataset-1. (a) Small-scale neural network, (b) medium-scale neural network and (c) large-scale neural network.

Figure 6

Figure 6.Training (in blue) and validation (in orange) losses of three different scales of models trained with Dataset-40. (a) Small-scale neural network, (b) medium-scale neural network and (c) large-scale neural network.

Figure 7

Figure 7.Training (in blue) and validation (in orange) losses of large-scale model trained with Dataset-Range.

Figure 8

Figure 8.Optimisation histories at $Re_D=1$. The black solid lines denote the results using neural network models trained with Dataset-1 and the blue solid lines denote the results from OpenFOAM. Results calculated with the re-sampled flow fields on the $128\times 128$ Cartesian grid are denoted by $128^{2}$. The red cross symbols represent the OpenFOAM results obtained with its native postprocessing tool. (a) OpenFOAM, (b) small-scale neural network, (c) medium-scale neural network and (d) large-scale neural network.

Figure 9

Figure 9.The converged shapes at $Re_D=1$ (a) and the intermediate states at every 10th iteration predicted by the large-scale neural network (NN) model (b).

Figure 10

Figure 10.Streamlines and the $x$-component velocity fields $u/U_{\infty }$ at $Re_D=1$. (a) OpenFOAM, (b) small-scale neural network, (c) medium-scale neural network and (d) large-scale neural network.

Figure 11

Figure 11.Optimisation histories at $Re_D=40$. The black solid lines denote the results using neural network models trained with Dataset-40 and the blue solid lines denote the results from OpenFOAM. Results calculated with the re-sampled flow fields on the $128\times 128$ Cartesian grid are denoted by $128^{2}$. The red cross symbols represent the OpenFOAM results obtained with its native postprocessing tool. (a) OpenFOAM, (b) small-scale neural network, (c) medium-scale neural network and (d) large-scale neural network.

Figure 12

Figure 12.The converged shapes at $Re_D=40$ (a) and the intermediate states at every 10th iteration predicted by the large-scale neural network (NN) model (b).

Figure 13

Figure 13.Streamlines and the $x$-component velocity fields $u/U_{\infty }$ at $Re_D=40$ obtained with different solvers, i.e. OpenFOAM and three neural network models trained with Dataset-40. (a) OpenFOAM, (b) small-scale neural network, (c) medium-scale neural network and (d) large-scale neural network.

Figure 14

Figure 14.Optimisation history for the four cases at $Re_D=1$, 5, 10 and 40. The black solid lines denote the results using neural network models (i.e. the ranged model) and the blue solid lines denote the results from OpenFOAM. Results calculated with the re-sampled flow fields on the $128\times 128$ Cartesian grid are denoted by $128^{2}$. The red cross symbols represent the OpenFOAM results obtained with its native postprocessing tool. (a) $Re_D=1$, (b) $Re_D=5$, (c) $Re_D=10$ and (d) $Re_D=40$.

Figure 15

Figure 15.Shapes after optimisation at $Re_D=1$, 5, 10 and 40. The black solid lines denote the results using neural network models (i.e. the ranged model), the blue dashed lines denote the results from OpenFOAM and the symbols denote the corresponding reference data. (a) $Re_D=1$, (b) $Re_D=5$, (c) $Re_D=10$ and (d) $Re_D=40$.

Figure 16

Figure 16.Streamlines and the $x$-component velocity fields $u/U_{\infty }$ at $Re_D=1$, 5, 10 and 40 using the ranged model. (a) $Re=1$, (b) $Re=5$, (c) $Re=10$ and (d) $Re=40$.

Figure 17

Table 2.Runtimes for 200 optimisation iterations at $Re_D=1$.

Figure 18

Table 3.Different dataset sizes used for training runs with corresponding splits into training and validation sets.

Figure 19

Figure 17.Comparison of training histories for different amounts of training data. (a) Training loss and (b) validation loss.

Figure 20

Figure 18.Training and validation losses for different amounts of training data.