Hostname: page-component-6898cfcb55-th4rj Total loading time: 0 Render date: 2026-11-11T22:32:52.860Z Has data issue: false hasContentIssue false

Reinforcement-learning-based control of confined cylinder wakes with stability analyses

Published online by Cambridge University Press:  14 December 2021

Jichao Li
Affiliation:
Department of Mechanical Engineering, National University of Singapore, 117575 Republic of Singapore
Mengqi Zhang*
Affiliation:
Department of Mechanical Engineering, National University of Singapore, 117575 Republic of Singapore
*
†Email address for correspondence: mpezmq@nus.edu.sg

Abstract

This work studies the application of a reinforcement learning (RL)-based flow control strategy to the flow past a cylinder confined between two walls to suppress vortex shedding. The control action is blowing and suction of two synthetic jets on the cylinder. The theme of this study is to investigate how to use and embed physical information of the flow in the RL-based control. First, global linear stability and sensitivity analyses based on the time-mean flow and the steady flow (which is a solution to the Navier–Stokes equations) are conducted in a range of blockage ratios and Reynolds numbers. It is found that the most sensitive region in the wake extends itself when either parameter increases in the parameter range we investigated here. Then, we use these physical results to help design RL-based control policies. We find that the controlled wake converges to the unstable steady base flow, where the vortex shedding can be successfully suppressed. A persistent oscillating control seems necessary to maintain this unstable state. The RL algorithm is able to outperform a gradient-based optimisation method (optimised in a certain period of time) in the long run. Furthermore, when the flow stability information is embedded in the reward function to penalise the instability, the controlled flow may become more stable. Finally, according to the sensitivity analyses, the control is most efficient when the probes are placed in the most sensitive region. The control can be successful even when few probes are properly placed in this manner.

Information

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

Figure 1.Cylinder symmetrically confined by two parallel no-slip walls. The channel height is $H=2.0$ and the cylinder diameter is $D$. The synthetic jet width is $w = {\rm \pi}/18$.

Figure 1

Figure 2.The reinforcement learning framework in flow control: Agent, neural network; Environment, DNS using Nek5000; Action, adjustment of the synthetic jet flow rates; Reward, reduction of the shedding energy; States, spatial velocities.

Figure 2

Figure 3.The computational mesh is composed of two rectangle domains and a square domain.

Figure 3

Table 1.Resolution parameters of L2 meshes in five computational domains and the time-averaged $C_d$ on the confined cylinder with $\beta =0.5$ and $Re=200$ evaluated by different meshes. Here, $E$ is the total number of elements in the spectral element method.

Figure 4

Figure 4.Eigenvalues of the leading eigenmode at different Reynolds numbers for two blockage ratios $\beta =0.5,0.75$. The curves are interpolated using data of the scatter points. The grey shade indicates flow instability. Note that that the data points are our computational results and the lines are fitted to guide the eyes.

Figure 5

Figure 5.Vorticity of SFD base flows of different confined cylinder wake flows. The purple dashed lines and black dash–dotted lines are the recirculation zones boundaries of the SFD base flows and time-mean flows, respectively: (a) $\beta =0.25$; (b) $\beta =0.5$ and (c) $\beta =0.75$.

Figure 6

Figure 6.Vortex shedding region (grey) delimited by the neutral stability curve. Flows in the white region are stable. A comparison is made to two previous publications, as shown in the legend.

Figure 7

Figure 7.Frequencies and growth rates as a function of $Re$ in the global linear stability analysis of confined cylinder flows for three values of confinement ratio $\beta$.

Figure 8

Figure 8.Relationship between the SFD base flow and the mean flow at $Re=150$ with $\beta = 0.25$: (a) $C_l$ as function of $t$ from the SFD base flow to the saturated flow with vortex shedding; (b) phase diagram of $C_l$ and $C_d$ from $t=0$ to $t=150$; (c) growth rates and frequencies of the SFD base flow and the mean flow solved by the linear stability analysis.

Figure 9

Figure 9.Growth rates and frequencies of SFD base flows of confinement cylinder wakes with different blockage ratios and Reynolds numbers.

Figure 10

Figure 10.Structural sensitivity analysis of confined cylinder wakes with different blockage ratios and Reynolds numbers. The adjoint mode, direct mode and wavemaker are shown by red, blue and grey colour maps. The recirculation zone is illustrated by the purple dashed line. Note that only part of the domain is shown: (a) $Re=115$; (b) $Re=150$ and (c) $Re=185$.

Figure 11

Figure 11.RL-based vortex shedding suppression control using the plain sum of the kinetic energy ($\beta =0.25$ and $Re=150$). In panel (b), the grey shade means that no control is applied until $t=16$. The reward function is (5.1). (a) Training process and (b) RL control performance.

Figure 12

Figure 12.Vorticity of the baseline confined cylinder flow with $\beta =0.25$ at $Re=150$ and the controlled flow with the RL agent trained by the total energy. RL control using the kinetic energy damps the oscillation by increasing the recirculation zone. Nevertheless, the vortex shedding is not fully suppressed. The reward function is (5.1).

Figure 13

Figure 13.RL-based vortex shedding suppression of the confined cylinder wake ($\beta =0.25$ and $Re=150$) with RL agents trained using different reference flows (mean flow and SFD base flow). It can be seen that using the SFD base flow as the reference in the RL reward evaluation leads to an effective control with the vortex shedding fully suppressed. The reward function is (5.2).

Figure 14

Figure 14.(a) Confined cylinder wakes ($\beta =0.25$ at $Re=150$) with the RL control starting at different time points ($t_1$, $t_2$ and $t_3$). (b) Wake vorticities at $t=7.5$. It can be seen that no matter when the control starts, RL always chooses to use large flow rates to offset the vorticity at the moment of the upper vortex rolling-up.

Figure 15

Figure 15.DMD analysis of the RL-based control process. The grey shade is the confined cylinder wake without control and the RL-based control starts at $t=16$. We test a constant jet flow rate in the controlled cylinder wake from $t=80$, which is shown as the red shade. The black solid lines show results of RL-based control and the red lines are results with the control switched to the constant flow rate.

Figure 16

Figure 16.Vorticities of the leading DMD modes in the controlled flows ($\beta =0.25$ at $Re=150$). Only part of the computational domain is shown for clarity. After the vortex shedding is damped, using a similar but constant jet flow rate soon triggers flow instability and gradually leads to vortex shedding in the cylinder wake.

Figure 17

Figure 17.DMD analysis of the RL-based control process with noisy forces in the inflow domain, which is imposed at $t \in [60,80]$. We test two force magnitudes ($A=2.0$ and $A=10.0$), which are shown as the red and blue lines, respectively. The controlled wake flows are not developed to significant vortex shedding and become stabilised again after the noisy force is removed.

Figure 18

Figure 18.RL control performance of cylinder wakes with different $\beta$ at $Re=200$. The black region indicates the wavemaker region and the probes are placed to cover it (see the discussion in § 5.6). The stability-enhanced reward reduces unstable instants in the controlled wake flows. From $t=128$, the RL-based control is shut down (shown as the red shade), and the controlled wake flows re-develop to significant vortex shedding, which shows the necessity of a persistent control.

Figure 19

Figure 19.Probes covering the wavemaker zone lead to the best control of the confined cylinder wake ($\beta =0.25$ at $Re=150$).

Figure 20

Figure 20.Even with slight differences in the placement, probes covering the wavemaker zone can always lead to effective and stable RL control of the confined cylinder wake ($\beta =0.25$ at $Re=150$). The optimal control policy solved by the gradient-based optimisation achieves better short-term performance and RL agents lead to a better performance in the long term.

Figure 21

Figure 21.RL control of the confined cylinder wake ($\beta =0.25$ at $Re=150$) using ten probes. Different distributions of probes lead to a significant divergence in the control performance.

Figure 22

Table 2.Optimisation problem statement of the synthetic jet flow rate control policy.

Figure 23

Figure 22.RL control performance of cylinder wakes with different $\beta$ at $Re=150$. The probes are placed based on the wavemaker-based criterion.