Hostname: page-component-6898cfcb55-cbk24 Total loading time: 0 Render date: 2026-11-11T16:14:38.122Z Has data issue: false hasContentIssue false

Prediction of turbulent heat transfer using convolutional neural networks

Published online by Cambridge University Press:  11 November 2019

Junhyuk Kim
Affiliation:
Department of Mechanical Engineering, Yonsei University, Seoul 03722, Korea
Changhoon Lee*
Affiliation:
Department of Mechanical Engineering, Yonsei University, Seoul 03722, KoreaDepartment of Computational Science and Engineering, Yonsei University, Seoul 03722, Korea
*
†Email address for correspondence: clee@yonsei.ac.kr

Abstract

With the recent rapid development of artificial intelligence (AI) and wide applications in many areas, some fundamental questions in turbulence research can be addressed, such as: ‘Can turbulence be learned by AI? If so, how and why?’ In order to provide answers to these questions, we applied deep learning to the prediction of turbulent heat transfer based only on wall information using data obtained from direct numerical simulations (DNS) of turbulent channel flow. Through this attempt, we investigated whether deep learning could help to improve our understanding of the physics of turbulent heat transfer. Under the assumption that the wall-normal local heat flux can be explicitly expressed through a multilayer nonlinear network in terms of the nearby wall-shear stresses and wall pressure fluctuations, we applied convolutional neural networks (CNNs) to predict the local heat flux. After optimizing the network hyperparameters using a grid searching method, we found that the network can predict the heat flux very accurately with a correlation coefficient of 0.980 between the DNS and the prediction by CNN for the trained Reynolds number, $Re_{\unicode[STIX]{x1D70F}}=180$, and shows similar accuracy at a Reynolds number three times higher than the trained number. This result indicates that relationships between the local heat flux and the nearby inputs are quite insensitive to the Reynolds number within the tested range. In addition, observing the gradient maps of the trained network, we identified the part of the input data that is essential for the local heat flux prediction and the spatial relationship between the local heat flux and the nearby input fields. In addition to obtaining an understanding of the underlying physics, we investigated whether our model could be utilized for turbulence modelling.

Information

Type
JFM Papers
Copyright
© 2019 Cambridge University Press 
Figure 0

Table 1.Simulation parameters for DNS.

Figure 1

Figure 1.Wall information extracted from DNS that is used for the input and output of a deep learning network. The streamwise wall-shear stress, spanwise wall-shear stress and wall pressure fluctuation are the inputs, and the wall-normal heat flux is the target of deep learning. Here, the spanwise wall-shear stress is referred to as the streamwise wall vorticity.

Figure 2

Figure 2.Padding effect of discrete convolution.

Figure 3

Figure 3.Modified CNN architecture composed of only convolution layers without zero padding, which is more cost-efficient than the classical architecture shown above because there is no redundant application of the convolution layers. In the modified architecture, the output size is variable with a choice of the input size.

Figure 4

Figure 4.Mean square error (MSE) of the networks composed of (a) six convolution layers and (b) nine convolution layers with the number of feature maps changed in each convolution layer. For cases where overfitting occurred, we increased the number of original training fields from $3200$ to $6400$. The validation errors of a simple linear regression using a single point of shear stress as input and a multiple linear regression using a stencil of shear stresses and pressure are approximately $1.05$ and $0.38$, respectively.

Figure 5

Figure 5.Architecture of the optimized network. Here $33\times 33~(=N_{x}\times N_{z})$ is the input kernel size needed to predict a single point of output. According to the increase in the input size, the image size in the hidden layer and output size can increase.

Figure 6

Figure 6.Comparison of an instantaneous heat flux field between the DNS and the prediction by the trained deep learning network at the Reynolds number $Re_{\unicode[STIX]{x1D70F}}=180$.

Figure 7

Table 2.Test results of simple linear regression (SLinear), multiple linear regression (MLinear) and deep learning (DL) at three Reynolds numbers. The network was trained at $Re_{\unicode[STIX]{x1D70F}}=180$, but tested at $Re_{\unicode[STIX]{x1D70F}}=180,~360$ and $540$. For Reynolds numbers $Re_{\unicode[STIX]{x1D70F}}=360$ and $540$, the same number of input kernel grid points ($N_{x}\times N_{z}=33\times 33$) and the same grid size $((\unicode[STIX]{x0394}x^{+},\unicode[STIX]{x0394}z^{+})=(11.781,5.890))$ as those of the trained one ($Re_{\unicode[STIX]{x1D70F}}=180$) were used.

Figure 8

Figure 7.Comparison of heat flux scatterplot between the DNS and prediction values for the trained Reynolds number using (a) SLinear, (b) MLinear and (c) DL. Only one-tenth of all test data are plotted. (d) The p.d.f.s of prediction data under the condition that the DNS value = 5 and 10. Here, conditioning was achieved by collecting data in the range $(5-0.1,5+0.1)$ and $(10-0.1,10+0.1)$ among all test data used for calculating the p.d.f.s.

Figure 9

Figure 8.(a) P.d.f.s and (b) high-order moments of the DNS and prediction for the trained Reynolds number.

Figure 10

Figure 9.Comparison of heat flux scatterplot between the DNS and prediction values for the Reynolds number three times higher than the trained one using (a) SLinear, (b) MLinear and (c) DL.

Figure 11

Figure 10.(a) P.d.f.s of heat flux and (b) high-order moments of the DNS and prediction for the Reynolds number three times higher than the trained number.

Figure 12

Figure 11.The first example fields yielding accurate prediction. Here $t_{0}$ is the prediction time, and the point is on the local maximum location of the heat flux. The vortices are visualized with $\unicode[STIX]{x1D706}_{2}=-0.05$.

Figure 13

Figure 12.The first example fields yielding poor prediction. The point is on the local maximum error location. The vortices are visualized with $\unicode[STIX]{x1D706}_{2}=-0.05$.

Figure 14

Figure 13.The second example fields yielding accurate prediction. The point is on the local maximum location. The vortices are visualized with $\unicode[STIX]{x1D706}_{2}=-0.05$.

Figure 15

Figure 14.The second example fields yielding poor prediction. The point is on the local maximum error location. The vortices are visualized with $\unicode[STIX]{x1D706}_{2}=-0.1$.

Figure 16

Table 3.Deep learning results considering the pressure field $p^{\ast }$ at an earlier time by $\unicode[STIX]{x0394}t^{+}$ as an extra input for prediction of the local heat flux. Training was performed using data of $Re_{\unicode[STIX]{x1D70F}}=180$, and tests were carried out at $Re_{\unicode[STIX]{x1D70F}}=180$ and 540.

Figure 17

Figure 15.Average gradient maps of the optimal network. The black line is the centreline of each axis, and $(0,0)$ is the point of interest where the local heat flux is predicted. The side view is provided at the bottom right of each panel.

Figure 18

Figure 16.(a–c) Average and (d–f) r.m.s. of the noise-reduced gradient maps of the network using the large-size inputs.

Figure 19

Table 4.Deep learning results for different combinations of the input fields. Input grid points ($N_{x}\times N_{z}$) are increased from $33\times 33$ (DL) to $49\times 49$ (DL1, DL2, DL3) in order to reduce the noise of the average gradient maps.

Figure 20

Figure 17.Magnified view of the average gradient maps of DL1 in which the inputs are the shear stress and vorticity.

Figure 21

Figure 18.Magnified view of the average gradient maps of DL2 in which the inputs are the shear stress and pressure.

Figure 22

Figure 19.Magnified view of the average gradient maps of DL3 in which the inputs are the shear stress, vorticity and pressure.

Figure 23

Figure 20.Magnified view of the gradient maps of MLinear1 in which the inputs are the shear stress, vorticity and pressure.

Figure 24

Figure 21.Magnified view of the relative average gradient maps of DL3.

Figure 25

Figure 22.Representative case with high heat transfer at $Re_{\unicode[STIX]{x1D70F}}=180$. Panel (b) is the top view of panel (a). Isocontours are used for the heat flux, the lines are used for the streamwise shear stress, and $\unicode[STIX]{x1D706}_{2}=-0.1$. The local maximum value of the heat flux is approximately three times higher than the average heat flux, while the local shear stress value at the same location is similar to the mean shear stress.

Figure 26

Figure 23.Kernel sensitivity analysis for quantifying the importance of kernels. (a) Weight distribution of the kernels in the first convolution layer; (b) changes in $R$; and (c) magnified view of prominent kernels that play an important role in the prediction of heat flux.

Figure 27

Figure 24.Prediction accuracy with change in input resolution at $Re_{\unicode[STIX]{x1D70F}}=180$. For all cases, the turbulent heat transfer of training and testing data was a fully resolved one.

Figure 28

Figure 25.Predicted turbulent heat transfer from the low-resolution input fields using DL-RV. (a) The DNS field and the low-resolution input field; and (b) the DNS heat flux field, and the predicted heat flux fields by DL-RV and MLinear-RV.

Figure 29

Table 5.Deep learning results for various combinations of input fields for the local heat flux prediction. Training was carried out using data of $Re_{\unicode[STIX]{x1D70F}}=180$, but tests were performed at $Re_{\unicode[STIX]{x1D70F}}=180$ and 540.

Figure 30

Table 6.Deep learning results for various choices of input and output fields.