Hostname: page-component-6766d58669-88psn Total loading time: 0 Render date: 2026-05-19T22:51:48.790Z Has data issue: false hasContentIssue false

Machine learning building-block-flow wall model for large-eddy simulation

Published online by Cambridge University Press:  22 May 2023

Adrián Lozano-Durán*
Affiliation:
Department of Aeronautics and Astronautics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
H. Jane Bae
Affiliation:
Graduate Aerospace Laboratories, California Institute of Technology, Pasadena, CA 91125, USA
*
Email address for correspondence: adrianld@mit.edu

Abstract

A wall model for large-eddy simulation (LES) is proposed by devising the flow as a combination of building blocks. The core assumption of the model is that a finite set of simple canonical flows contains the essential physics to predict the wall shear stress in more complex scenarios. The model is constructed to predict zero/favourable/adverse mean pressure gradient wall turbulence, separation, statistically unsteady turbulence with mean flow three-dimensionality, and laminar flow. The approach is implemented using two types of artificial neural networks: a classifier, which identifies the contribution of each building block in the flow, and a predictor, which estimates the wall shear stress via a combination of the building-block flows. The training data are obtained directly from wall-modelled LES (WMLES) optimised to reproduce the correct mean quantities. This approach guarantees the consistency of the training data with the numerical discretisation and the gridding strategy of the flow solver. The output of the model is accompanied by a confidence score in the prediction that aids the detection of regions where the model underperforms. The model is validated in canonical flows (e.g. laminar/turbulent boundary layers, turbulent channels, turbulent Poiseuille–Couette flow, turbulent pipe) and two realistic aircraft configurations: the NASA Common Research Model High-lift and NASA Juncture Flow experiment. It is shown that the building-block-flow wall model outperforms (or matches) the predictions by an equilibrium wall model. It is also concluded that further improvements in WMLES should incorporate advances in subgrid-scale modelling to minimise error propagation to the wall model.

Information

Type
JFM Papers
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.
Copyright
© The Author(s), 2023. Published by Cambridge University Press.
Figure 0

Figure 1. Schematic of the building-block flow wall model (BFWM). Details of the formulation are provided in § 2.

Figure 1

Figure 2. Examples of building-block units taken as representative of different flow regimes: (a) freestream, (b) laminar channel flow, (c) turbulent channel flow, (d) turbulent Poiseuille–Couette flow for zero wall stress, (e) turbulent Poiseuille–Couette flow with a strong adverse mean pressure gradient, and ( f) turbulent channel flow with sudden imposition of spanwise mean pressure gradient.

Figure 2

Figure 3. Mean velocity profiles for a selection of building-block flows. (a) Turbulent channel flows for (from left to right) $Re_\tau =180$, 550, 950, 2000, 4200 and 10 000 (ZPG). (b) Turbulent Poiseuille–Couette flows with favourable mean pressure gradient (FPG) at $Re_U=6500$ (dashed) for $Re_P=0$, 100, 150, 200, 250, 300 (from left to right), and $Re_U=22\,360$ (solid) for $Re_P= 0$, 380, 550, 750, 800, 1000 (from left to right). (c) Turbulent Poiseuille–Couette flows with adverse mean pressure gradient (APG) and separation at $Re_U=6500$ (dashed) for $Re_P=0$, $-$100, $-$150, $-$200, $-$250, $-$300 (from right to left) and $Re_U=22\,360$ (solid) for $Re_P= 0$, $-$380, $-$550, $-$750, $-$800, $-$1000 (from right to left). (d) Turbulent channel flows with the sudden imposition of spanwise mean pressure gradient for increasing time (from light to dark colour) for the streamwise (in blue) and spanwise (in red) mean velocity profiles at $Re_\tau =550$ (solid) and $Re_\tau =950$ (dashed) for $\varPi = 60$. In all cases, $u_{\tau,ZPG}$ is the friction velocity of the same case without adverse/favourable/spanwise mean pressure gradient.

Figure 3

Figure 4. Overview of the training workflow for the BFWM. The details are discussed in § 2.6.

Figure 4

Figure 5. Confusion matrix of the classifier. The categories are freestream (freestream), laminar channel flow (laminar), favourable mean pressure gradient wall turbulence (FPG), zero mean pressure gradient wall turbulence (ZPG), adverse mean pressure gradient wall turbulence (APG), separated turbulence (separation), and statistically unsteady wall turbulence (unsteady).

Figure 5

Figure 6. Schematic of the predictor. The predictor consists of a collection of ANNs/analytical models specialised in predicting the wall shear stress of each building-block flow. The final output is the sum of the predictions from each building-block flow weighted by the probability of each category.

Figure 6

Figure 7. Joint p.d.f. of the predicted output and actual output for (a) the magnitude of the wall stress $\widetilde {\tau _w}$, and (b) the relative angle $\widetilde {\gamma _{1w}}$. The tilde denotes values standardised by the mean and standard deviation of the training set. The results are for the statistically unsteady turbulent flow (unsteady).

Figure 7

Figure 8. Validation case: laminar boundary layer. (a) The streamwise mean velocity profiles at $x/L_0 = 1$, 11, 21, 31 and $41$ for the DSM-EQWM (blue squares), VREM-EQWM (blue crosses), DSM-BFWM (red squares), VREM-BFWM (red crosses), and DNS (solid line). The mean velocity profiles are shifted by $\Delta u/U_\infty = (x/L_0-1)/5$. (b) Dominant flow classification (solid blue) and confidence score (solid red) by the DSM-BFWM as a function of the streamwise distance. (c) Internal wall-modelling error of the wall stress prediction for the ESGS-BFWM (diamonds) and ESGS-EQWM (circles) as a function of the streamwise distance. (d) Total wall-modelling error for the DSM-EQWM (dashed line and squares), DSM-BFWM (solid line and squares), VREM-EQWM (dashed line and crosses), and VREM-BFWM (solid line and crosses) as a function of the streamwise distance.

Figure 8

Figure 9. Validation case: zero mean pressure gradient turbulent boundary layer. (a) The streamwise mean velocity profiles at $Re_x = 6\times 10^5$, $8\times 10^5$, $10\times 10^5$ and $12\times 10^5$, for the DSM-EQWM (blue squares), VREM-EQWM (blue crosses), DSM-BFWM (red squares), VREM-BFWM (red crosses) and DNS (solid line). The mean velocity profiles are shifted by $\Delta u / U_\infty = (x/L_0-1)/5$. (b) Dominant flow classification (solid blue) and confidence score (solid red) by the DSM-BFWM as a function of the streamwise distance. (c) Internal wall-modelling error of the wall stress prediction for the ESGS-BFWM (diamonds) and ESGS-EQWM (circles) as a function of the streamwise distance. (d) Total wall-modelling error for the DSM-EQWM (dashed line and squares), DSM-BFWM (solid line and squares), VREM-EQWM (dashed line and crosses) and VREM-BFWM (solid line and crosses) as a function of the streamwise distance.

Figure 9

Figure 10. Validation case: turbulent pipe flow at $Re_\tau =40\,000$. (a) The streamwise mean velocity profiles non-dimensionalised by the mean centreline velocity ($U_{cl}$) for the DSM-BFWM (squares) and VREM-BFWM (crosses) for $R/\varDelta \approx 5$ (blue), 10 (red) and 20 (yellow). The dashed line is the experimental mean velocity profile from Baidya et al. (2019). (b) Dominant flow classification (solid blue) and confidence score (solid red) by the DSM-BFWM as a function of the grid resolution. (c) Internal wall-modelling error of the wall stress prediction for the ESGS-BFWM (diamonds) and ESGS-EQWM (circles) as a function of the grid resolution. (d) Total wall-modelling error for the DSM-EQWM (dashed line and squares), DSM-BFWM (solid line and squares), VREM-EQWM (dashed line and crosses) and VREM-BFWM (solid line and crosses) as a function of the grid resolution.

Figure 10

Figure 11. Validation case: turbulent Poiseuille–Couette flow with adverse mean pressure gradient. (a) The streamwise mean velocity profiles non-dimensionalised by the mean centreline velocity ($U_{cl}^{ZPG}$) of the case with zero mean pressure gradient for the DSM-EQWM (blue squares), VREM-EQWM (blue crosses), DSM-BFWM (red squares) and VREM-BFWM (red crosses), for different $Re_P$. The dashed lines are mean velocity profiles from DNS. (b) Dominant flow classification (solid blue) and confidence score (solid red) by the DSM-BFWM as a function of the adverse pressure gradient $Re_P$. (c) Wall stress prediction in the absence of external errors for the ESGS-BFWM (diamonds) and ESGS-EQWM (circles) as a function of $Re_P$. (d) Total wall-stress prediction for the DSM-EQWM (dashed line and squares), DSM-BFWM (solid line and squares), VREM-EQWM (dashed line and crosses), and VREM-BFWM (solid line and crosses) as a function of $Re_P$. In (c) and (d), the wall-stress prediction is non-dimensionalised by the DNS wall stress for the case with zero mean pressure gradient.

Figure 11

Figure 12. Validation case: turbulent Poiseuille-Couette flow with favourable mean pressure gradient. (a) The streamwise mean velocity profiles non-dimensionalised by the mean centreline velocity ($U_{cl}^{ZPG}$) of the case with zero mean pressure gradient for the DSM-EQWM (blue squares), VREM-EQWM (blue crosses), DSM-BFWM (red squares) and VREM-BFWM (red crosses), for different $Re_P$. The dashed lines are mean velocity profiles from DNS. (b) Dominant flow classification (solid blue) and confidence score (solid red) by the DSM-BFWM as a function of $Re_P$. (c) Internal wall-modelling error of the wall stress prediction for the ESGS-BFWM (diamonds) and ESGS-EQWM (circles) as a function $Re_P$. (d) Total wall-modelling error for the DSM-EQWM (dashed line and squares), DSM-BFWM (solid line and squares), VREM-EQWM (dashed line and crosses) and VREM-BFWM (solid line and crosses) as a function of $Re_P$.

Figure 12

Figure 13. Validation case: turbulent channel flow sudden imposition of spanwise mean pressure gradient. (a) Streamwise and (b) spanwise mean velocity profiles non-dimensionalised by the centreline mean velocity at $t=0$ ($U_{cl}^{ZPG}$) for the DSM-EQWM (blue squares), VREM-EQWM (blue crosses), DSM-BFWM (red squares) and VREM-BFWM (red crosses), at $t u_\tau ^{ZPG}/h=0.01, 0.2,\ldots,0.9$, where $u_\tau ^{ZPG}$ is $u_\tau$ at $t=0$. The dashed lines are DNS mean velocity profiles (same for all following panels). (c) Dominant flow classification (solid blue) and confidence score (solid red) by the DSM-BFWM as a function of time. Internal wall-modelling error of the (d) streamwise and (e) spanwise wall stress predictions and ( f) relative angle between $\boldsymbol {u}_1$ and $\boldsymbol {\tau }_w$, for the ESGS-BFWM (diamonds) and ESGS-EQWM (circles) as a function of time. Total wall-modelling error for (g) streamwise wall stress, (h) spanwise wall stress, and (i) relative angle between $\boldsymbol {u}_1$ and $\boldsymbol {\tau }_w$, for the DSM-EQWM (dashed line and squares), DSM-BFWM (solid line and squares), VREM-EQWM (dashed line and crosses) and VREM-BFWM (solid line and crosses) as a function of time.

Figure 13

Figure 14. Validation case: NASA Common Research Model High-lift. Geometry of the aircraft and an inset of the grid across the wing section.

Figure 14

Figure 15. Validation case: NASA Common Research Model High-lift: (a) lift, (b) drag, and (c) pitching moment coefficients, as functions of the angle of attack (AoA) for the DSM-BFWM (red circles) and DSM-EQWM (blue circles). The dashed lines are experimental results.

Figure 15

Figure 16. Validation case: NASA Common Research Model High-lift. Visualisation of the instantaneous wall shear stress (left) and confidence map (right) by the DSM-BFWM.

Figure 16

Figure 17. Validation case: NASA Juncture Flow experiment. Visualisation of Voronoi control volumes for boundary-layer-conforming grid with five points per boundary layer thickness.

Figure 17

Figure 18. Validation case: NASA Juncture Flow experiment. The mean velocity profiles at (a) the upstream region of the fuselage at $x=1168.4$ mm and $z=0$ mm, (b) the wing–body juncture at $x=2747.6$ mm and $y=239.1$ mm, and (c) the wing–body juncture close to the trailing edge at $x=2922.6$ mm and $y=239.1$ mm. Solid lines with open symbols are for the DSM-EQWM, and closed symbols are for the DSM-BFWM. Dashed lines are experiments. Colours denote different velocity components. The distances $y$ and $z$ are normalised by the local boundary layer thickness $\delta$ at each location.

Figure 18

Table 1. Validation case: NASA Juncture Flow experiment. The flow classification and confidence in the solution by the BFWM. The locations are (a) upstream region of the fuselage, (b) wing–body juncture, and (c) wing–body juncture close to the trailing edge.