Hostname: page-component-77f85d65b8-g98kq Total loading time: 0 Render date: 2026-03-27T10:02:34.824Z Has data issue: false hasContentIssue false

Reconstruction of three-dimensional turbulent flow structures using surface measurements for free-surface flows based on a convolutional neural network

Published online by Cambridge University Press:  23 March 2023

Anqing Xuan
Affiliation:
Department of Mechanical Engineering and Saint Anthony Falls Laboratory, University of Minnesota, Minneapolis, MN 55455, USA
Lian Shen*
Affiliation:
Department of Mechanical Engineering and Saint Anthony Falls Laboratory, University of Minnesota, Minneapolis, MN 55455, USA
*
Email address for correspondence: shen@umn.edu

Abstract

A model based on a convolutional neural network (CNN) is designed to reconstruct the three-dimensional turbulent flows beneath a free surface using surface measurements, including the surface elevation and surface velocity. Trained on datasets obtained from the direct numerical simulation of turbulent open-channel flows with a deformable free surface, the proposed model can accurately reconstruct the near-surface flow field and capture the characteristic large-scale flow structures away from the surface. The reconstruction performance of the model, measured by metrics such as the normalised mean squared reconstruction errors and scale-specific errors, is considerably better than that of the traditional linear stochastic estimation (LSE) method. We further analyse the saliency maps of the CNN model and the kernels of the LSE model and obtain insights into how the two models utilise surface features to reconstruct subsurface flows. The importance of different surface variables is analysed based on the saliency map of the CNN, which reveals knowledge about the surface–subsurface relations. The CNN is also shown to have a good generalisation capability with respect to the Froude number if a model trained for a flow with a high Froude number is applied to predict flows with lower Froude numbers. The results presented in this work indicate that the CNN is effective regarding the detection of subsurface flow structures and by interpreting the surface–subsurface relations underlying the reconstruction model, the CNN can be a promising tool for assisting with the physical understanding of free-surface turbulence.

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. Building blocks of the network for flow reconstruction. (a) Overview of the reconstruction process. (b) Structure of the residual block in the encoder. Here, SE refers to the squeeze-and-excitation layer (Hu, Shen & Sun 2018).

Figure 1

Table 1. Detailed architecture of the CNN with its parameters, including the input size, kernel size and stride of each block (if applicable). The input size is written as $N_x\times N_y \times N_c$ for two-dimensional data for the encoder or $N_x \times N_y \times N_z \times N_c$ for three-dimensional data for the decoder, where $N_x$, $N_y$ and $N_z$ denote the grid dimensions in the $x$-, $y$- and $z$-directions, respectively, and $N_c$ denotes the number of channels. Note that the output of each block is the input of the next block. The output size of the last block is $128\times 64 \times 96 \times 3$.

Figure 2

Figure 2. (a) Set-up of the turbulent open-channel flow. The contours illustrate the instantaneous streamwise velocity $u$ of one snapshot from the simulation. (b) Sketch of the boundary-fitted curvilinear coordinate system. For illustration purposes, the domain is stretched, and the grid resolution is lowered in the plots.

Figure 3

Table 2. The simulation parameters of the turbulent open-channel flows. The superscript ${}^+$ denotes the quantities normalised by wall units $\nu /u_\tau$.

Figure 4

Figure 3. Comparison of the root-mean-square (rms) free-surface fluctuations $\eta_{rms}$ with the literature: the present DNS results ($\blacksquare$) and the DNS results of Yoshimura & Fujita (2020) ($\bullet$) and Yokojima & Nakayama (2002) ($\blacktriangle$) are compared. The dashed line (– – –) is an approximated parameterisation of $\eta _{rms}/h$ proposed by Yoshimura & Fujita (2020); i.e. $\eta _{rms}/h= 4.5\times 10^{-3}{Fr}^2$ where $Fr=\bar {U}/\sqrt {gh}$ is defined based on the bulk mean velocity $\bar {U}$ and, in the present study, $\bar {U}=15.6 u_\tau$.

Figure 5

Table 3. The sampling parameters and the sizes of the datasets, including: the non-dimensionalised sampling interval $\Delta t u_\tau /h$, the total number of snapshots sampled from simulations $N$, the total number of snapshots after augmentation $N_i$, the number of snapshots in the training set $N_{train}$, the number of snapshots in the validation set $N_{{val}}$ and the number of snapshots in the test set $N_{test}$.

Figure 6

Figure 4. Comparisons among the instantaneous streamwise velocity fluctuations $u'$ (a,d,g) obtained from the DNS results and the fields reconstructed by (b,e,h) the CNN and (cf,i) the LSE methods. The $x$$y$ planes at (ac) $z/h=0.9$, (df) $z/h=0.6$ and (gi) $z/h=0.3$ are plotted for the case of ${Fr}_\tau =0.08$.

Figure 7

Figure 5. Comparisons of the instantaneous vortex structures among the (a) DNS, (b) CNN reconstruction and (c) LSE reconstruction. The vortex structures are educed with the criterion $\lambda _2<0$ (Jeong & Hussain 1995). The isosurface with $0.9\,\%$ of the minimum $\lambda _2$ value is plotted and is coloured by $\omega _z$.

Figure 8

Figure 6. Side views of the inclined vortices in the (a) DNS, (b) CNN reconstruction and (c) LSE reconstruction, as plotted in figures 5(a), 5(b) and 5(c), respectively. The vortex structures are educed by the $\lambda _2$-criterion and the isosurfaces are coloured by $\omega _z$.

Figure 9

Figure 7. Normalised mean squared errors (3.1) of the CNN (——) and LSE (– – –) reconstructions at $Fr_\tau =0.08$ ($\circ$, blue), $Fr_\tau =0.03$ ($\square$, orange) and $Fr_\tau =0.01$ ($\triangle$, green) for the (a) streamwise, (b) spanwise and (c) vertical velocity fluctuations between the DNS and reconstructed fields.

Figure 10

Figure 8. Relative amplitudes of the Fourier coefficients of reconstructed velocity fluctuations compared with the ground truth: (a,d) $\hat {r}_u$, (b,e) $\hat {r}_v$ and (cf) $\hat {r}_w$, for the streamwise, spanwise and vertical velocity fluctuations, respectively. The spectra are evaluated at $z/h=0.9$ (——, blue), $z/h=0.6$ (– – –, orange) and $z/h=0.3$ (—${\cdot }$—, green) for the CNN reconstructions ($\circ$) and LSE reconstructions ($\square$). The first row (ac) and the second row (df) plot the spectra with respect to the streamwise wavenumber $k_x$ and the spanwise wavenumber $k_y$, respectively.

Figure 11

Figure 9. Mean phase errors of the reconstructed velocity fluctuations (3.2): (a,d) $\hat {\varTheta }_u$, (b,e) $\hat {\varTheta }_v$ and (cf) $\hat {\varTheta }_w$ for the streamwise, spanwise and vertical velocity fluctuations, respectively. The phase errors are evaluated at $z/h=0.9$ (——, blue), $z/h=0.6$ (– – –, orange) and $z/h=0.3$ (—${\cdot }$—, green) for the CNN reconstructions ($\circ$) and LSE reconstructions ($\square$). The first row (ac) and the second row (df) plot the errors with respect to the streamwise wavenumber $k_x$ and the spanwise wavenumber $k_y$, respectively.

Figure 12

Figure 10. Contours of the scaled kernels, $l_{ij}E_j^{rms}$, for the LSE prediction of the velocity at $z/h=0.9$ of the flow with ${Fr}_\tau =0.08$. Each row shows the kernels of one surface variable $E_j$: (ac) $u_s$, (df) $v_s$, (gi) $w_s$ and ( jl) $\eta$. Each column corresponds to one component of the predicted subsurface velocity: (a,d,g,j) $\tilde {u}'$, (b,e,h,k) $\tilde {v}'$ and (cf,i,l) $\tilde {w}'$.

Figure 13

Figure 11. Illustrations of the vortical structures associated with the LSE kernels (a) $l_{i2}$ and (b) $l_{i3}$, i.e. the LSE predicted flow structures induced by $u_s$ and $v_s$, respectively.

Figure 14

Figure 12. Relationships between (a) $u_s$ and (b) the subsurface vortical structures, which are educed by the $\lambda _2$ criterion. In (b), only the near-surface vortices above $z/h=0.8$ are plotted, and the vortices are coloured by their spanwise vorticity $\omega _y$. Dashed circles and dash-dotted circles mark the $u_s$ examples induced by the spanwise vortices and vertical vortices, respectively. Note that the vertical vortices observed in the top view appear as hollowed circles.

Figure 15

Figure 13. Relationships between (a) $v_s$ and (b) the subsurface vortical structures, which are educed by the $\lambda _2$ criterion. In (b), only the near-surface vortices above $z/h=0.8$ are plotted, and the vortices are coloured by their streamwise vorticity $\omega _x$. Dashed circles and dash-dotted circles mark the $v_s$ examples induced by the streamwise vortices and vertical vortices, respectively. Note that the vertical vortices observed in the top view appear as hollowed circles.

Figure 16

Figure 14. Saliency maps for (a) $u_s$, (b) $v_s$, (c) $w_s$ and (d) $\eta$ at the surface of the flow with ${Fr}_\tau =0.08$.

Figure 17

Figure 15. Saliency maps for (a) $u_s$, (b) $v_s$, (c) $w_s$ and (d) $\eta$ at the surface of the flow with ${Fr}_\tau =0.01$.

Figure 18

Figure 16. Instantaneous vertical velocity fluctuations at the surface $w_s/w_{rms}$ for (a) the flow with the high Froude number (${Fr}_\tau =0.08$) and (b) the flow with the low Froude number (${Fr}_\tau =0.01$), where $w_{rms}$ is the root-mean-square value of $w_s$.

Figure 19

Figure 17. Comparison between the normalised mean squared reconstruction errors of the CNN models with (——, blue) and without (- - -, orange) $w_s$ included in the input. The upper (ac) and lower (df) rows show the case of the high Froude number (${Fr}_\tau =0.08$) and the case of the low Froude number (${Fr}_\tau =0.01$), respectively, for the streamwise (a,d), spanwise (b,e) and vertical (cf) velocity fluctuations.

Figure 20

Figure 18. Comparison between the normalised mean squared reconstruction errors of the CNN models with (——) and without (– – –) $u_s$ included as input. The reconstruction errors of the (a) streamwise, (b) spanwise and (c) vertical velocity fluctuations are plotted for the case with ${Fr}_\tau =0.08$.

Figure 21

Figure 19. Relations between (a) the salient regions of $v_s$ and (b) the subsurface $u'$ at $z/h=0.9$. The dashed contours in (b) indicate negative $u'$ values. In (c), the contours of the JPDF of the saliency $G$ and $u'$ are plotted. To highlight the relationship between the salient regions with high $G$ and $u'$ values, the contours are cut off at the median of $G$; i.e. only the upper half of $G$ is plotted.

Figure 22

Figure 20. Normalised mean squared reconstruction errors when (ac) the CNN trained at ${Fr}_\tau =0.01$ and (df) the CNN trained at ${Fr}_\tau =0.08$ are used to predict flows with different ${Fr}_\tau$. The Froude numbers of the flows to be reconstructed include ${Fr}_\tau =0.08$ (——, blue), ${Fr}_\tau =0.03$ (– – –, orange) and ${Fr}_\tau =0.01$ (—${\cdot }$—, green). The errors of the (a) streamwise, (b) spanwise and (c) vertical velocity fluctuations are plotted.

Figure 23

Figure 21. Normalised mean squared reconstruction errors when a CNN model trained at ${Fr}_\tau =0.01$ without $\eta$ included as input is used to predict flows with different ${Fr}_\tau$. The Froude numbers of the flows to be reconstructed include ${Fr}_\tau =0.08$ (——, blue), ${Fr}_\tau =0.03$ (– – –, orange) and ${Fr}_\tau =0.01$ (—${\cdot }$—, green). The errors of the (a) streamwise, (b) spanwise and (c) vertical velocity fluctuations are plotted.

Figure 24

Figure 22. Variations of the reconstruction loss $J$ (2.4) with the translation distances. The losses are normalised by the loss for a non-translated input, $J_0$. Two CNN models are considered: the original model as presented in table 1 with the blur pooling layers and periodic paddings (——, blue) and a model with only strided convolution layers and zero paddings (– – –, orange). The translation distances in the (a) $x$ and (b) $y$ directions are denoted by $\varDelta _x^{grid}$ and $\varDelta _y^{grid}$ in terms of the number of grid points, and by $\varDelta _x/L_x$ and $\varDelta _y/L_y$ as relative distances to domain sizes, respectively.

Figure 25

Figure 23. Comparisons among the instantaneous spanwise velocity fluctuations $v'$ obtained from (a,d,g) the DNS results and the fields reconstructed by (b,e,h) the CNN and (cf,i) LSE methods. The $x$$y$ planes at (ac) $z/h=0.9$, (df) $z/h=0.6$ and (gi) $z/h=0.3$ are plotted for the case of ${Fr}_\tau =0.08$.

Figure 26

Figure 24. Comparisons among the instantaneous vertical velocity fluctuations $w'$ obtained from (a,d,g) the DNS results and the fields reconstructed by (b,e,h) the CNN and (cf,i) LSE methods. The $x$$y$ planes at (ac) $z/h=0.9$, (df) $z/h=0.6$ and (gi) $z/h=0.3$ are plotted for the case of ${Fr}_\tau =0.08$.

Supplementary material: PDF

Xuan and Shen supplementary material

Xuan and Shen supplementary material

Download Xuan and Shen supplementary material(PDF)
PDF 240.8 KB