Hostname: page-component-6898cfcb55-cbk24 Total loading time: 0 Render date: 2026-11-11T11:22:33.665Z Has data issue: false hasContentIssue false

Using machine learning to detect the turbulent region in flow past a circular cylinder

Published online by Cambridge University Press:  26 October 2020

Binglin Li
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 101408, PR China
Zixuan Yang*
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 101408, PR China
Xing Zhang
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 101408, PR China
Guowei He
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 101408, PR China
Bing-Qing Deng
Affiliation:
Department of Mechanical Engineering & St. Anthony Fall Laboratory, University of Minnesota, Minneapolis, MN 55455, USA
Lian Shen
Affiliation:
Department of Mechanical Engineering & St. Anthony Fall Laboratory, University of Minnesota, Minneapolis, MN 55455, USA
*
†Email address for correspondence: yangzx@imech.ac.cn

Abstract

Detecting the turbulent/non-turbulent interface is a challenging topic in turbulence research. In the present study, machine learning methods are used to train detectors for identifying turbulent regions in the flow past a circular cylinder. To ensure that the turbulent/non-turbulent interface is independent of the reference frame of coordinates and is physics-informed, we propose to use invariants of tensors appearing in the transport equations of velocity fluctuations, strain-rate tensor and vortical tensor as the input features to identify the flow state. The training samples are chosen from numerical simulation data at two Reynolds numbers, $Re=100$ and 3900. Extreme gradient boosting (XGBoost) is utilized to train the detector, and after training, the detector is applied to identify the flow state at each point of the flow field. The trained detector is found robust in various tests, including the applications to the entire fields at successive snapshots and at a higher Reynolds number $Re=5000$. The objectivity of the detector is verified by changing the input features and the flow region for choosing the turbulent training samples. Compared with the conventional methods, the proposed method based on machine learning shows its novelty in two aspects. First, no threshold value needs to be specified explicitly by the users. Second, machine learning can treat multiple input variables, which reflect different properties of turbulent flows, including the unsteadiness, vortex stretching and three-dimensionality. Owing to these advantages, XGBoost generates a detector that is more robust than those obtained from conventional methods.

Information

Type
JFM Papers
Copyright
© The Author(s), 2020. Published by Cambridge University Press
Figure 0

Figure 1.Computational domain and coordinate system of DNS and LES of flow past a circular cylinder. (a) Three-dimensional view and (b) two-dimensional view in an $x$–$y$ plane near the cylinder. The boxes in panel (b) show the regions where training samples are chosen. The samples for the non-turbulent state are chosen from the dashed box for $Re=100$ and the dash-dotted box for $Re=3900$. The turbulent samples are chosen from the solid box for $Re=3900$.

Figure 1

Figure 2.Transverse profiles of the mean square of streamwise velocity fluctuations $\overline {u^\prime u^\prime }$ at three downstream locations in the wake of a circular cylinder at $Re=3900$.

Figure 2

Table 1.Hyperparameters of XGBoost applied in the present study.

Figure 3

Figure 3.Accuracy of the detector trained by XGBoost. Diagonal entries show percentages of consistent classification and off-diagonal entries show percentages of inconsistent classification.

Figure 4

Figure 4.Turbulent/non-turbulent interface (solid line) at (a) $Re=100$ and (b) $Re=3900$ identified by the XGBoost detector. Contours of instantaneous spanwise vorticity $\omega _z$ are superimposed for comparison.

Figure 5

Figure 5.Successive snapshots of turbulent/non-turbulent interface (solid line) identified by the XGBoost detector and contours of instantaneous spanwise vorticity $\omega _z$ at $Re=3900$. See figure 4 for the legend of contours.

Figure 6

Figure 6.Turbulent/non-turbulent interface at $Re=3900$ (black solid line) and $Re=5000$ (red dotted line) identified by the XGBoost detector.

Figure 7

Figure 7.Contours of (a) vorticity modulus $\omega$ and (b) cross-stream fluctuation intensity $|v^\prime |+|w^\prime |$ at $Re = 3900$. The solid line shows the turbulent/non-turbulent interface identified by the XGBoost detector. Contours for $\omega < 0.1U/D$ and $|v^\prime |+|w^\prime | < 0.1U$ are clipped.

Figure 8

Figure 8.Results of detector $B$. (a) Confusion matrix (see figure 3 for definition); (b) detected turbulent/non-turbulent interface (dashed line). In panel (b), the turbulent/non-turbulent interface identified by detector $A$ as described in § 3 (solid line) and the contours of $|v^\prime |+|w^\prime |$ at $Re=3900$ are superimposed for comparison.

Figure 9

Figure 9.Effect of the training samples on the turbulent region detected by the XGBoost detector. The coloured area shows the detected turbulent region with the turbulent samples chosen from the solid box as described in § 3.3. The solid lines in panels (a) and (b) represent the detected turbulent/non-turbulent interface with the turbulent samples chosen from smaller and larger regions, respectively, as denoted by the dashed boxes in the figure.

Figure 10

Figure 10.Effect of input features on the turbulent region detected by the XGBoost detector. The coloured area shows the detected turbulent region using $\boldsymbol {X}$ (3.1) as the input vector, which consists of eight features, without including the invariants of third-order algebraic polynomials of $\boldsymbol {S}^\prime$ and $\boldsymbol {\varOmega }^\prime$. The solid line in panels (a) and (b) represents the detected turbulent/non-turbulent interface using $\boldsymbol {X}^*$ (4.1) and $\boldsymbol {X}^{**}$ (4.2), respectively, as the input vector.

Figure 11

Table 2.Feature importance in the XGBoost detectors trained using $\boldsymbol {X}$ (3.1), $\boldsymbol {X}^*$ (4.1) and $\boldsymbol {X}^{**}$ (4.2) as the input feature vector.

Figure 12

Figure 11.Contours of invariants: (a) $k$, (b) $I_2(\boldsymbol {S}^\prime \boldsymbol {\cdot } \boldsymbol {\varOmega }^\prime +\boldsymbol {\varOmega }^\prime \boldsymbol {\cdot } \boldsymbol {S}^\prime )$, (c) $I_3(\boldsymbol {S}^\prime \boldsymbol {\cdot } \boldsymbol {S}^\prime )$ and (d) $I_2( \bar {\boldsymbol {\varOmega }} \boldsymbol {\cdot } \boldsymbol {S}^\prime +\boldsymbol {S}^\prime \boldsymbol {\cdot } \bar {\boldsymbol {\varOmega }})$. Contours corresponding to $k<10^{-3}U^2$, $I_2(\boldsymbol {S}^\prime \boldsymbol {\cdot } \boldsymbol {\varOmega }^\prime +\boldsymbol {\varOmega }^\prime \boldsymbol {\cdot } \boldsymbol {S}^\prime ) <10^{-5}U^4/D^4$, $I_3(\boldsymbol {S}^\prime \boldsymbol {\cdot } \boldsymbol {S}^\prime )<10^{-7}U^6/D^6$ and $I_2( \bar {\boldsymbol {\varOmega }} \boldsymbol {\cdot } \boldsymbol {S}^\prime +\boldsymbol {S}^\prime \boldsymbol {\cdot } \bar {\boldsymbol {\varOmega }})<10^{-5}U^4/D^4$ are clipped. The solid line represents the detected turbulent/non-turbulent interface.

Figure 13

Table 3.Hyperparameters of FCN and SOM applied in the present study.

Figure 14

Figure 12.Confusion matrices of (a) FCN and (b) SOM.

Figure 15

Figure 13.Turbulent/non-turbulent interface (solid line) at (a) $Re=100$ and (b) $Re=3900$ identified by FCN. Contours of instantaneous spanwise vorticity $\omega _z$ are superimposed for comparison.

Figure 16

Figure 14.Turbulent/non-turbulent interface (solid line) at (a) $Re=100$ and (b) $Re=3900$ identified by SOM. Contours of instantaneous spanwise vorticity $\omega _z$ are superimposed for comparison.

Figure 17

Table 4.Feature coefficients in the SOM detector for the mid-hyperplane of the cluster centres of turbulent and non-turbulent states in the feature space.