Hostname: page-component-7b7567c8c-tnzcf Total loading time: 0 Render date: 2026-11-14T10:55:56.809Z Has data issue: false hasContentIssue false

Sub-grid scale model classification and blending through deep learning

Published online by Cambridge University Press:  14 May 2019

Romit Maulik
Affiliation:
Mechanical and Aerospace Engineering, Oklahoma State University, Stillwater, OK 74078, USA
Omer San*
Affiliation:
Mechanical and Aerospace Engineering, Oklahoma State University, Stillwater, OK 74078, USA
Jamey D. Jacob
Affiliation:
Mechanical and Aerospace Engineering, Oklahoma State University, Stillwater, OK 74078, USA
Christopher Crick
Affiliation:
Computer Science, Oklahoma State University, Stillwater, OK 74078, USA
*
†Email address for correspondence: osan@okstate.edu

Abstract

In this article we detail the use of machine learning for spatio-temporally dynamic turbulence model classification and hybridization for large eddy simulations (LES) of turbulence. Our predictive framework is devised around the determination of local conditional probabilities for turbulence models that have varying underlying hypotheses. As a first deployment of this learning, we classify a point on our computational grid as that which requires the functional hypothesis, the structural hypothesis or no modelling at all. This ensures that the appropriate model is specified from a priori knowledge and an efficient balance of model characteristics is obtained in a particular flow computation. In addition, we also utilize the conditional-probability predictions of the same machine learning to blend turbulence models for another hybrid closure. Our test case for the demonstration of this concept is given by Kraichnan turbulence, which exhibits a strong interplay of enstrophy and energy cascades in the wavenumber domain. Our results indicate that the proposed methods lead to robust and stable closure and may potentially be used to combine the strengths of various models for complex flow phenomena prediction.

Information

Type
JFM Papers
Copyright
© 2019 Cambridge University Press 
Figure 0

Figure 1.Visualization of the effect of Fourier cutoff filtering with DNS at $N^{2}=2048^{2}$ (a) and corresponding FDNS at $N^{2}=256^{2}$ (b).

Figure 1

Figure 2.Data segregation for one-hot labelling. The a priori eddy viscosities are projected onto a Gaussian distribution where data beyond 1.0 % of the standard deviation are labelled as requiring structural (if negative) or functional (if positive) modelling. The remaining data points are classified as no-model cases.

Figure 2

Figure 3.Neural network training and validation loss for the proposed learning framework for one random weight initialization showing convergence at around 1500 epochs (a). The training (in black) and validation (in red) saturation behaviour for different initializations also indicated convergence to similar accuracies as shown on the right. The best model was chosen according to lowest validation loss for reduced over-fitting in forward deployments.

Figure 3

Figure 4.A posteriori kinetic-energy spectra (a) and compensated kinetic-energy spectra (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. The proposed framework (deployed as a classifier) balances the dissipative natures of the AD and the DS models.

Figure 4

Figure 5.A posteriori vorticity structure functions plotted against $\boldsymbol{r}$ (a) and $\log (\boldsymbol{r})$ (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. It is observed that AD performs better in the near region whereas the proposed framework behaves similar to the DS approach.

Figure 5

Figure 6.Time histories for turbulent kinetic energy (a) and vorticity variance (b) for $Re=32\,000$ at $N^{2}=256^{2}$ degrees of freedom. The proposed method can be seen to adapt between the behaviour of the AD and DS techniques.

Figure 6

Figure 7.A posteriori kinetic-energy spectra (a) and compensated kinetic-energy spectra (b) for $Re=64\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. This assessment displays closure effectiveness for a Reynolds number not utilized in the training data.

Figure 7

Figure 8.A posteriori vorticity structure functions plotted against $\boldsymbol{r}$ (a) and $\log (\boldsymbol{r})$ (b) for $Re=64\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. It is observed that solely AD performs better in the near region whereas the proposed framework behaves similarly to the DS approach. The behaviour is similar to that observed for within training data regime deployment.

Figure 8

Figure 9.Time histories for turbulent kinetic energy (a) and vorticity variance (b) for $Re=64\,000$ at $N^{2}=256^{2}$ degrees of freedom. The proposed method can be seen to adapt between the behaviour of the AD and DS techniques and acts as an additional validation for deployment to different Reynolds numbers.

Figure 9

Figure 10.A posteriori kinetic-energy spectra (a) and compensated kinetic-energy spectra (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=128^{2}$ degrees of freedom. This assessment displays closure effectiveness for a coarse-grained resolution not utilized in the training data.

Figure 10

Figure 11.A posteriori vorticity structure functions plotted against $\boldsymbol{r}$ (a) and $\log (\boldsymbol{r})$ (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=128^{2}$ degrees of freedom. It is observed that solely AD performs better in the near region whereas the proposed framework behaves similar to the DS approach. The behaviour is similar to that observed for within training resolution deployment.

Figure 11

Figure 12.Time histories for turbulent kinetic energy (a) and vorticity variance (b) for $Re=32\,000$ at $N^{2}=128^{2}$ degrees of freedom. The proposed method can be seen to adapt between the behaviour of the AD and DS techniques and acts as an additional validation for deployment to similar coarse-grained resolutions.

Figure 12

Table 1.Classification accuracy percentages for different grid resolutions a priori to illustrate how accurately our base learning can predict correct labels. Accuracies are seen to drop when resolutions are coarsened radically. However, some learning is retained as evidenced by accuracies greater than 33 %.

Figure 13

Table 2.Classification percentages in a priori and a posteriori. One can see deviation from trends due to numerical error accumulation (and greater utilization of closure classifications for subsequent stabilization). We note that an $N^{2}=256^{2}$ is utilized for this assessment.

Figure 14

Figure 13.The a posteriori classification percentages of the various modelling hypotheses for our three forward deployments. In all deployments it is observed that the utilization of AD and SM increases as the scale separation grows and saturates for the slow decay. Noticeably, the deployment at $N^{2}=128^{2}$ necessitates a higher proportion of AD and SM classifications for improved stabilization.

Figure 15

Figure 14.A posteriori contour results for $Re=32\,000$ at $N^{2}=256^{2}$ with the proposed classification framework shown (a), DS shown (b), UNS shown (c) and AD shown (d). These may be compared against FDNS contours qualitatively (in figure 1).

Figure 16

Figure 15.A posteriori kinetic-energy spectra (a) and compensated kinetic-energy spectra (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. The proposed framework (deployed as a model blending mechanism) behaves similar to the DS approach at the inertial wavenumbers. We remind the reader that the blending is dynamic between AD and SM.

Figure 17

Figure 16.A posteriori vorticity structure functions plotted against $\boldsymbol{r}$ (a) and $\log (\boldsymbol{r})$ (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. It is observed that solely AD performs better in the near region whereas the proposed blending (once again) behaves similar to the DS approach. We remind the reader that the blending is dynamic between AD and SM.

Figure 18

Figure 17.Time histories for turbulent kinetic energy (a) and vorticity variance (b) for $Re=32\,000$ at $N^{2}=256^{2}$ degrees of freedom. The proposed blending technique shows a varying $TKE$ capture behaviour due to its adaptive dissipation. Note that the blending is dynamic between AD and SM.

Figure 19

Figure 18.A posteriori kinetic-energy spectra (a) and compensated kinetic-energy spectra (b) for $Re=64\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. The proposed framework (deployed as a model blending mechanism) behaves similar to the DS approach at the inertial wavenumbers. Note that the blending is dynamic between AD and SM and training is performed using $Re=32\,000$ data alone.

Figure 20

Figure 19.A posteriori vorticity structure functions plotted against $\boldsymbol{r}$ (a) and $\log (\boldsymbol{r})$ (b) for $Re=64\,000$ at $t=4$ and at $N^{2}=256^{2}$ degrees of freedom. It is observed that solely AD performs better in the near region whereas the proposed blending (once again) behaves similar to the DS approach. We remind the reader that the blending is dynamic between AD and SM and training is performed using $Re=32\,000$ data alone.

Figure 21

Figure 20.Time histories for turbulent kinetic energy (a) and vorticity variance (b) for $Re=64\,000$ at $N^{2}=256^{2}$ degrees of freedom. We remind the reader that the blending is dynamic between AD and SM and training is performed using $Re=32\,000$ data alone.

Figure 22

Figure 21.A posteriori kinetic-energy spectra (a) and compensated kinetic-energy spectra (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=128^{2}$ degrees of freedom. The proposed framework (deployed as a model blending mechanism) behaves similar to the DS approach at the inertial wavenumbers. We remind the reader that the blending is dynamic between AD and SM and training is performed using $Re=32\,000$ and $N^{2}=256^{2}$ data alone.

Figure 23

Figure 22.A posteriori vorticity structure functions plotted against $\boldsymbol{r}$ (a) and $\log (\boldsymbol{r})$ (b) for $Re=32\,000$ at $t=4$ and at $N^{2}=128^{2}$ degrees of freedom. It is observed that solely AD performs better in the near region whereas the proposed blending (once again) behaves similar to the DS approach. We remind the reader that the blending is dynamic between AD and SM and training is performed using $Re=32\,000$ and $N^{2}=256^{2}$ data alone.

Figure 24

Figure 23.Time histories for turbulent kinetic energy (a) and vorticity variance (b) for $Re=32\,000$ at $N^{2}=128^{2}$ degrees of freedom. The proposed blending technique behaves more dissipatively due to the reduced grid support. We remind the reader that the blending is dynamic between AD and SM and training is performed using $Re=32\,000$ and $N^{2}=256^{2}$ data alone.

Figure 25

Figure 24.A posteriori contour results for $Re=32\,000$ at $N^{2}=256^{2}$ with the proposed blending framework shown (a), DS shown (b), UNS shown (c) and AD shown (d). These may be compared against FDNS contours qualitatively (in figure 1).