Hostname: page-component-7b7567c8c-tnzcf Total loading time: 0 Render date: 2026-11-15T07:23:33.217Z Has data issue: false hasContentIssue false

Deep reinforcement transfer learning of active control for bluff body flows at high Reynolds number

Published online by Cambridge University Press:  20 October 2023

Zhicheng Wang
Affiliation:
Laboratory of Ocean Energy Utilization of Ministry of Education, Dalian University of Technology, Dalian 116024, PR ChinaSchool of Energy and Power Engineering, Dalian University of Technology, Dalian 116024, PR China
Dixia Fan
Affiliation:
School of Engineering, Westlake University, Hangzhou 310024, PR China
Xiaomo Jiang
Affiliation:
School of Energy and Power Engineering, Dalian University of Technology, Dalian 116024, PR ChinaState Key Lab of Structural Analysis, Optimization and CAE Software for Industrial Equipment, Provincial Key Lab of Digital Twin for Industrial Equipment, Dalian University of Technology, Dalian 116024, PR China
Michael S. Triantafyllou*
Affiliation:
Department of Mechanical Engineering, Massachusetts Institute Technology, Cambridge, MA 02139, USAMIT Sea Grant College Program, Cambridge, MA 02139, USA
George Em Karniadakis
Affiliation:
Division of Applied Mathematics and School of Engineering, Brown University, Providence, RI 02912, USA
*
†Email address for correspondence: mistetri@mit.edu

Abstract

We demonstrate how to accelerate the computationally taxing process of deep reinforcement learning (DRL) in numerical simulations for active control of bluff body flows at high Reynolds number ($Re$) using transfer learning. We consider the canonical flow past a circular cylinder whose wake is controlled by two small rotating cylinders. We first pre-train the DRL agent using data from inexpensive simulations at low $Re$, and subsequently we train the agent with small data from the simulation at high $Re$ (up to $Re=1.4\times 10^5$). We apply transfer learning (TL) to three different tasks, the results of which show that TL can greatly reduce the training episodes, while the control method selected by TL is more stable compared with training DRL from scratch. We analyse for the first time the wake flow at $Re=1.4\times 10^5$ in detail and discover that the hydrodynamic forces on the two rotating control cylinders are not symmetric.

Information

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

Figure 1.Sketch of the flow control problem. Here, $U$ is the inflow velocity, $D$ is the diameter of the main cylinder, $d=\frac {1}{8} D$ is the diameter of the control cylinder, $g=\frac {1}{20}D$, $\theta =120^\circ$; $\omega _1,\omega _2$ are the angular velocities of control cylinders 1 and 2, respectively. Specifically, $\omega _1=\epsilon _1 \, \epsilon _{{max}}$, $\omega _2=\epsilon _2 \, \epsilon _{{max}}$, where $\epsilon _1$ and $\epsilon _2 \in [0,1]$ are given by the DRL agent, and $\epsilon _{{max}}$ is a constant.

Figure 1

Figure 2.Task 1: evolution of reinforcement learning and corresponding simulated three-dimensional vortex shedding patterns at $Re_D=500$, $\epsilon _{{max}}=5$. Note that the DRL is starting from scratch, but the simulation is starting from a fully developed flow where the smaller controlling cylinders are stationary.

Figure 2

Figure 3.Task I: comparison between DRL from scratch and TL at different $Re$. (a) Learning from scratch at $Re_D=10^4$; (b) TL $Re_D=10^4$; (c) TL at $Re_D=1.4 \times 10^5$; (d) vortex shedding pattern, the control cylinders are stationary (a,b), and the pattern at the 125th episode (d). Note that in (a–c) the pink and black lines are the time traces of actions ($\bar {\epsilon }/\epsilon ^{max}$, where $\epsilon _{max}=3.66$) on control cylinders 1 and 2. Blue line is the time trace of $C_D$. The agent of the TL was initialized from the saved agent in the previous case at $Re_D=500$, as shown in figure 2.

Figure 3

Figure 4.Task 2: TL from 2-D low $Re_D$ to 3-D high $Re_D$. (a,d) Learning from scratch, $Re_D=500$: left – single client; right – multi-client. Panels (b,e) show TL, $Re_D=10^4$: (a) and (d) are initialized by the corresponding DRL agents shown in panels (a,d), respectively. Panels (c,f) show TL, $Re_D=1.4\times 10^5$, initialized from the agent corresponding to (e). Panel (f) shows visualization of the policy at the 5th, 15th, 25th and 65th episodes. Note in all the simulations here $\epsilon _{max}=3.66$.

Figure 4

Figure 5.Task 3: $\epsilon _1$ and $\epsilon _2$ are independent. (a,c) The DRL from scratch using 16 2-D simulations at $Re_D=500$; (b,d) TL at $Re_D=10^4$. Panels (c,d) where the top row refers to $\epsilon _1$ and the bottom row refers to $\epsilon _2$, shows the policy at the episodes indicated by the black circles in the corresponding figure of upper panel, respectively.

Figure 5

Figure 6.Time series of $C_D$ and $C_L$ on the main and control cylinders: (a,c) $Re_D=10^4$; (b,d) $Re_D=1.4\times 10^5$. Note that the control cylinders are rotating at constant speed at $\epsilon _1=-1$, $\epsilon _2=1$, $\epsilon _{{max}=3.66}$. The red lines are the hydrodynamic force coefficients on the main cylinder, while the blue and pink ones are on control cylinders 1 and 2, respectively.

Figure 6

Figure 7.Time series of frictional coefficient ($C_f$) on the control cylinders at $Re_D=10^4$ and $Re_D=1.4\times 10^5$, $\epsilon _1=1$, $\epsilon _2=1$, $\epsilon _{{max}=3.66}$.

Figure 7

Figure 8.Power gain coefficient ($\eta$) varies with $\epsilon$: blue, $Re_D=500$; red, $Re_D=10^4$. Note that, at $Re_D=10^4$, the value of $\eta$ has been enlarged by three times. Here, $\epsilon _{{max}}=3.66$.

Figure 8

Table 1.Sensitivity study of the simulation result to the mesh resolution: flow past a single circular cylinder at $Re_D=1.4\times 10^5$. Here, $\overline {C_D}$ is the mean drag coefficient, $\overline {C_L}$ is the root-mean-square value of the lift coefficient, $St$ is the Strouhal number, $L_r$ is the length of the recirculation bubble and $\phi _s$ is the separation angle. The (Breuer 2000) LES is case D2. LES$^1$ and LES$^2$ correspond to the mesh resolutions 1 and 2, respectively.

Figure 9

Figure 9.Local pressure and skin friction coefficient at $Re_D=1.4 \times 10^5$; comparison with the literature. Note that ‘Present LES’ is from the simulation using mesh LES$^2$, ‘Cantwell & Coles experiment’ refers to the experiment by Cantwell & Coles (1983), ‘Achenbach experiment’ refers to the experiment by Achenbach (1968).

Figure 10

Figure 10.Validation of the LES: (a) mean centreline velocity ${\bar {u}}/{U_{\infty }}$; (b) mean velocity ${\bar {u}}/{U_{\infty }}$ at ${x}/{D}=1$; (c) mean turbulent shear stress ${\overline {u^{\prime } v^{\prime }}}/{U_{\infty }^2}$ at ${x}/{D}=1$. Note that ‘Present LES’ is from the simulation using mesh LES$^2$, ‘Cantwell & Coles experiment’ refers to the experiment by Cantwell & Coles (1983).

Figure 11

Figure 11.Validation of the LES: mean velocity and Reynolds stress field. Note that the reference results are shown in the figures agree with figures 5 and 6 of Braza et al. (2006). The present simulation results are from the simulation using mesh resolution LES$^2$. (a) Streamlines; (b) $\bar {u}$; (c) $\bar {v}$; (d) $\overline {uu}$; (e) $\overline {vv}$; (f) $\overline {uv}$.