Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-10T12:52:57.000Z Has data issue: false hasContentIssue false

Subgrid modelling for two-dimensional turbulence using neural networks

Published online by Cambridge University Press:  02 November 2018

R. Maulik
Affiliation:
School of Mechanical and Aerospace Engineering, Oklahoma State University, Stillwater, OK 74078, USA
O. San*
Affiliation:
School of Mechanical and Aerospace Engineering, Oklahoma State University, Stillwater, OK 74078, USA
A. Rasheed
Affiliation:
CSE Group, Mathematics and Cybernetics, SINTEF Digital, N-7465 Trondheim, Norway
P. Vedula
Affiliation:
School of Aerospace and Mechanical Engineering, The University of Oklahoma, Norman, OK 73019, USA
*
†Email address for correspondence: osan@okstate.edu

Abstract

In this investigation, a data-driven turbulence closure framework is introduced and deployed for the subgrid modelling of Kraichnan turbulence. The novelty of the proposed method lies in the fact that snapshots from high-fidelity numerical data are used to inform artificial neural networks for predicting the turbulence source term through localized grid-resolved information. In particular, our proposed methodology successfully establishes a map between inputs given by stencils of the vorticity and the streamfunction along with information from two well-known eddy-viscosity kernels. Through this we predict the subgrid vorticity forcing in a temporally and spatially dynamic fashion. Our study is both a priori and a posteriori in nature. In the former, we present an extensive hyper-parameter optimization analysis in addition to learning quantification through probability-density-function-based validation of subgrid predictions. In the latter, we analyse the performance of our framework for flow evolution in a classical decaying two-dimensional turbulence test case in the presence of errors related to temporal and spatial discretization. Statistical assessments in the form of angle-averaged kinetic energy spectra demonstrate the promise of the proposed methodology for subgrid quantity inference. In addition, it is also observed that some measure of a posteriori error must be considered during optimal model selection for greater accuracy. The results in this article thus represent a promising development in the formalization of a framework for generation of heuristic-free turbulence closures from data.

Information

Type
JFM Papers
Copyright
© 2018 Cambridge University Press 
Figure 0

Figure 1. Proposed artificial neural network architecture and relation to sampling and prediction space.

Figure 1

Figure 2. A priori performance of (a) Smagorinsky and (b) Leith models for varying model coefficients for data snapshot at $t=2$. Here, instances refer to the probability densities of truth and prediction at different magnitudes.

Figure 2

Figure 3. A priori results for the probability density distributions of the true and framework predicted LES source terms for (a) $Re=32\,000$ and (b) $Re=64\,000$. Note that the training data were generated for $Re=32\,000$ only and prediction on $Re=64\,000$ represents a stringent validation.

Figure 3

Figure 4. An a priori assessment of the nature of truncation given by (2.4) for $t=2$ snapshot data at (a) $Re=32\,000$ and (b) $Re=64\,000$. The nature of this truncation is for the preservation of viscous stability in a coarse-grained forward simulation.

Figure 4

Figure 5. A posteriori results for the spatially averaged kinetic energy spectra for the proposed framework compared with DNS and UNS solutions. Note that only $Re=32\,000$ training data are used for both deployments, and network is applied spatially and temporally in a dynamic manner until $t=4$.

Figure 5

Figure 6. A posteriori results for the spatially averaged kinetic energy spectra for the Smagorinsky model for different values of their eddy-viscosity coefficients and for different Reynolds numbers at $t=4$. One can observe that the capture of lower-wavenumber energy and scaling is heavily dependent on the value of these coefficients.

Figure 6

Figure 7. A posteriori results for the spatially averaged kinetic energy spectra for the Leith model for different values of their eddy-viscosity coefficients and for different Reynolds numbers at $t=4$. One can observe that the capture of lower-wavenumber energy and scaling is heavily dependent on the value of these coefficients.

Figure 7

Figure 8. A posteriori results for 24 ensemble-averaged simulations for (a) $Re=32\,000$ and (b) $Re=64\,000$.

Figure 8

Figure 9. The deployment of our framework till $t=6$ for (a) $Re=32\,000$ and (b) $Re=64\,000$ showing that a subgrid model has been learned for utility beyond the training region. We note that the training region is defined between $t=0$ and $t=4$ alone.

Figure 9

Figure 10. A posteriori results for the proposed framework showing vorticity fields for $Re=32\,000$ and $Re=64\,000$ data using coarse-grained grids (a,b). We also provide no-model simulations (c,d) and filtered DNS contours (e,f) for the purpose of comparison.

Figure 10

Figure 11. (a) A priori and (b) a posteriori effect of the utilization of eddy-viscosity kernel inputs in training and deployment for a two-layer 50-neuron network with a nine-point stencil. The presence of these kernels (intangible in a priori error minimization) leads to constrained statistical fidelity in a posteriori deployment at $Re=32\,000$.

Figure 11

Figure 12. (a) A priori and (b) a posteriori effect of the utilization of eddy-viscosity kernel inputs in training and deployment for a five-layer 50-neuron network with a nine-point stencil. The presence of these kernels leads to higher training errors but viable statistical fidelity in a posteriori deployment at $Re=32\,000$.

Figure 12

Figure 13. (a) A priori and (b) a posteriori effect of the number of hidden layers in the proposed framework. While the two-layered ANN with a nine-point stencil leads to excellent a priori results, the five-layered network predicts $k^{-3}$ scaling more accurately in deployment for an a posteriori simulation at $Re=32\,000$.

Figure 13

Figure 14. (a) A priori and (b) a posteriori effect of the stencil size in the two-layer, 50-neuron framework for a $Re=32\,000$ simulation. While the nine-point stencil leads to similar a priori training errors, an a posteriori deployment at $Re=32\,000$ reveals its limitations.

Figure 14

Figure 15. (a) A priori and (b) a posteriori effect of the stencil size in the five-layer, 50-neuron framework for a $Re=32\,000$ simulation. With deeper architectures, the five- and nine-point stencils show similar statistical performance.

Figure 15

Figure 16. Quantification of hyper-parameter optimization shown for (a) number of layers and (b) number of neurons. An optimal network architecture of two layers and 50 neurons is chosen for our study.

Figure 16

Figure 17. Learning rate of the proposed optimal model architecture. Note how training and validation loss are correlated closely for this learning problem.