Hostname: page-component-6898cfcb55-kwdml Total loading time: 0 Render date: 2026-11-11T16:36:57.633Z Has data issue: false hasContentIssue false

Physics-guided deep learning for generating turbulent inflow conditions

Published online by Cambridge University Press:  11 February 2022

Mustafa Z. Yousif
Affiliation:
School of Mechanical Engineering, Pusan National University, 2, Busandaehak-ro 63beon-gil, Geumjeong-gu, Busan 46241, Republic of Korea
Linqi Yu
Affiliation:
School of Mechanical Engineering, Pusan National University, 2, Busandaehak-ro 63beon-gil, Geumjeong-gu, Busan 46241, Republic of Korea
HeeChang Lim*
Affiliation:
School of Mechanical Engineering, Pusan National University, 2, Busandaehak-ro 63beon-gil, Geumjeong-gu, Busan 46241, Republic of Korea
*
†Email address for correspondence: hclim@pusan.ac.kr

Abstract

In this paper, we propose an efficient method for generating turbulent inflow conditions based on deep neural networks. We utilise the combination of a multiscale convolutional auto-encoder with a subpixel convolution layer (${\rm MSC}_{\rm {SP}}$-AE) and a long short-term memory (LSTM) model. Physical constraints represented by the flow gradient, Reynolds stress tensor and spectral content of the flow are embedded in the loss function of the ${\rm MSC}_{\rm {SP}}$-AE to enable the model to generate realistic turbulent inflow conditions with accurate statistics and spectra, as compared with the ground truth data. Direct numerical simulation (DNS) data of turbulent channel flow at two friction Reynolds numbers $Re_{\tau } = 180$ and 550 are used to assess the performance of the model obtained from the combination of the ${\rm MSC}_{\rm {SP}}$-AE and the LSTM model. The model exhibits a commendable ability to predict instantaneous flow fields with detailed fluctuations and produces turbulence statistics and spectral content similar to those obtained from the DNS. The effects of changing various salient components in the model are thoroughly investigated. Furthermore, the impact of performing transfer learning (TL) using different amounts of training data on the training process and the model performance is examined by using the weights of the model trained on data of the flow at $Re_{\tau } = 180$ to initialise the weights for training the model with data of the flow at $Re_{\tau } = 550$. The results show that by using only 25% of the full training data, the time that is required for successful training can be reduced by a factor of approximately 80% without affecting the performance of the model for the spanwise velocity, wall-normal velocity and pressure, and with an improvement of the model performance for the streamwise velocity. The results also indicate that using physics-guided deep-learning-based models can be efficient in terms of predicting the dynamics of turbulent flows with relatively low computational cost.

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 (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Table 1.Grid size, spatial spacing and time step of each simulation. Here $N$ is the number of grid points. The superscript ‘$+$’ indicates that the quantity is made dimensionless using $u_{\tau }$ and $\nu$. Here $\Delta y^{+}_{w}$ and $\Delta y^{+}_{c}$ are the spacing in the wall-normal direction near the wall and at the centre of the channel, respectively.

Figure 1

Figure 1.Architecture of (a) the ${\rm MSC}_{{\rm SP}}$-AE and (b) the LSTM model.

Figure 2

Figure 2.Schematic of turbulent inflow generation using the proposed PGDL model.

Figure 3

Figure 3.Instantaneous velocity fields at $Re_\tau =180$. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity.

Figure 4

Figure 4.Instantaneous velocity fields at $Re_\tau =550$. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity.

Figure 5

Figure 5.Probability density function plots of the velocity components and pressure at $Re_\tau =180$.

Figure 6

Figure 6.Probability density function plots of the velocity components and pressure at $Re_\tau =550$.

Figure 7

Figure 7.Two-dimensional cross-correlation plots of the velocity components at $Re_\tau =180$.

Figure 8

Figure 8.Two-dimensional cross-correlation plots of the velocity components at $Re_\tau =550$.

Figure 9

Figure 9.Turbulence statistics of the flow at $Re_\tau =180$. (a) Mean streamwise velocity profile. (b) The r.m.s. profiles of the velocity components. (c) Mean Reynolds shear stress profile. (d) R.m.s. profile of the streamwise vorticity.

Figure 10

Figure 10.Turbulence statistics of the flow at $Re_\tau =550$. (a) Mean streamwise velocity profile. (b) The r.m.s. profiles of the velocity components. (c) Mean Reynolds shear stress profile. (d) The r.m.s. profile of the streamwise vorticity.

Figure 11

Figure 11.Spanwise energy spectra of the velocity components at $Re_\tau =550$.

Figure 12

Figure 12.Spanwise energy spectra of the velocity components at $Re_\tau =550$.

Figure 13

Figure 13.Temporal correlation plots of the velocity components at $Re_\tau =180$.

Figure 14

Figure 14.Temporal correlation plots of the velocity components at $Re_\tau =550$.

Figure 15

Figure 15.Instantaneous velocity fields at $Re_\tau =180$; case 1 and case 2 represent the results from the ${\rm MSC}_{{\rm SP}}$-AE with and without using $L_{gradient}$ and $L_{perceptual}$, respectively. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity.

Figure 16

Figure 16.The r.m.s. profiles of the velocity components (a) and mean Reynolds shear stress profile (b) at $Re_\tau =180$; case 1 and case 2 represent the results from the ${\rm MSC}_{{\rm SP}}$-AE with and without using $L_{Reynolds\ stress}$, respectively.

Figure 17

Figure 17.Spanwise energy spectra of the velocity components at $Re_\tau =180$; case 1 and case 2 represent the results from the ${\rm MSC}_{{\rm SP}}$-AE with and without using $L_{spectrum}$, respectively. Results at $y^{+}=5.4$.

Figure 18

Figure 18.Instantaneous velocity fields at $Re_\tau =180$; case 1, case 2 and case 3 represent the results from ${\rm MSC}_{{\rm SP}}$-AE, auto-encoder having convolution layer with 16 filters after the last upsampling layer and auto-encoder having convolution layer with four filters after the last upsampling layer, respectively. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity.

Figure 19

Figure 19.Profiles of RMSE for the reconstructed velocity components and pressure at $Re_\tau =180$; case 1, case 2 and case 3 represent the results from ${\rm MSC}_{{\rm SP}}$-AE, auto-encoder having convolution layer with 16 filters after the last upsampling layer and auto-encoder having convolution layer with four filters after the last upsampling layer, respectively. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity. (d) Pressure.

Figure 20

Figure 20.RMSE of the predicted latent space by the LSTM model using different numbers of LSTM branches; $Re_\tau =180$.

Figure 21

Figure 21.Profiles of RMSE for the predicted velocity components and pressure at $Re_\tau =180$; here 128, 512 and 2048 represent the sizes of the latent space. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity. (d) Pressure.

Figure 22

Figure 22.Plots of the average divergence rate of instantaneous velocity components at $Re_\tau =180$ using the three sizes of latent space (128, 512 and 2048). (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity.

Figure 23

Figure 23.Profiles of RMSE for the predicted velocity components and pressure at $Re_\tau =550$ without and with TL using different percentages of the full training data. (a) Streamwise velocity. (b) Wall-normal velocity. (c) Spanwise velocity. (d) Pressure.

Figure 24

Table 2.Number of trainable parameters and computational cost of the PGDL model.