Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T22:25:05.453Z Has data issue: false hasContentIssue false

Dynamic feature-based deep reinforcement learning for flow control of circular cylinder with sparse surface pressure sensing

Published online by Cambridge University Press:  28 May 2024

Qiulei Wang
Affiliation:
School of Civil and Environmental Engineering, Harbin Institute of Technology, Shenzhen 518055, PR China
Lei Yan*
Affiliation:
School of Civil and Environmental Engineering, Harbin Institute of Technology, Shenzhen 518055, PR China
Gang Hu*
Affiliation:
School of Civil and Environmental Engineering, Harbin Institute of Technology, Shenzhen 518055, PR China Guangdong Provincial Key Laboratory of Intelligent and Resilient Structures for Civil Engineering, Harbin Institute of Technology, Shenzhen 518055, PR China Guangdong-Hong Kong-Macao Joint Laboratory for Data-Driven Fluid Mechanics and Engineering Applications, Harbin Institute of Technology, Shenzhen 518055, PR China
Wenli Chen
Affiliation:
Guangdong-Hong Kong-Macao Joint Laboratory for Data-Driven Fluid Mechanics and Engineering Applications, Harbin Institute of Technology, Shenzhen 518055, PR China Key Laboratory of Smart Prevention and Mitigation of Civil Engineering Disasters, the Ministry of Industry and Information Technology, Harbin Institute of Technology, Harbin 150090, PR China
Jean Rabault
Affiliation:
Independent Researcher, Oslo 0376, Norway
Bernd R. Noack
Affiliation:
School of Mechanical Engineering and Automation, Harbin Institute of Technology, Shenzhen 518055, PR China
*
†Email addresses for correspondence: 180410212@stu.hit.edu.cn, hugang@hit.edu.cn
†Email addresses for correspondence: 180410212@stu.hit.edu.cn, hugang@hit.edu.cn

Abstract

This study proposes a self-learning algorithm for closed-loop cylinder wake control targeting lower drag and lower lift fluctuations with the additional challenge of sparse sensor information, taking deep reinforcement learning (DRL) as the starting point. The DRL performance is significantly improved by lifting the sensor signals to dynamic features (DFs), which predict future flow states. The resulting DF-based DRL (DF-DRL) automatically learns a feedback control in the plant without a dynamic model. Results show that the drag coefficient of the DF-DRL model is 25 % less than the vanilla model based on direct sensor feedback. More importantly, using only one surface pressure sensor, DF-DRL can reduce the drag coefficient to a state-of-the-art performance of approximately 8 % at Reynolds number $(Re) = 100$ and significantly mitigates lift coefficient fluctuations. Hence, DF-DRL allows the deployment of sparse sensing of the flow without degrading the control performance. This method also exhibits strong robustness in flow control under more complex flow scenarios, reducing the drag coefficient by 32.2 % and 46.55 % at $Re =500$ and 1000, respectively. Additionally, the drag coefficient decreases by 28.6 % in a three-dimensional turbulent flow at $Re =10\,000$. Since surface pressure information is more straightforward to measure in realistic scenarios than flow velocity information, this study provides a valuable reference for experimentally designing the active flow control of a circular cylinder based on wall pressure signals, which is an essential step toward further developing intelligent control in a realistic multi-input multi-output system.

Information

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

Figure 1. Schematic of the DF-DRL (SAC) framework used in the present study. The term wrapper refers to the process of encapsulating actions from the agent and sending them to the OpenFOAM solver. In contrast, extractor refers to the process of parsing CFD results and providing feedback to the agent. This framework is derived from the DRLinFluids package (Wang et al.2022a).

Figure 1

Algorithm 1: The DF-DRL algorithm with SAC

Figure 2

Figure 2. Flowchart of the two approaches for the state collected from the environment. (a) Vanilla method (sensor feedback): the agent only collects the flow field state at a single time step. For example, the signal obtained from four pressure sensors located in the flow field at the 40th time step returns a state vector $s\in \mathbb {R}^{4\times 1}$; (b) DF-DRL method: the agent collects data from the most recent thirty time steps $t$, including historical sensor pressure $p\in \mathbb {R}^{30\times 1}$ and action data $a\in \mathbb {R}^{30\times 1}$ provided by the agent. This process indicates DF lifting and the dimension of the state vector $\boldsymbol {S}\in \mathbb {R}^{30\times 2}$. Moreover, scaling the state vector will amplify signal fluctuations, which is helpful in capturing the flow characteristics.

Figure 3

Figure 3. Description of (a) the numerical set-up, which is adapted from Schäfer et al. (1996). The origin of the coordinates is located at the lower left corner of the entire computational domain. Here, $\varGamma _{in}$ stands for the inflow velocity with a parabolic flow profile, while $\varGamma _{out}$ is for the outflow. A no-slip wall boundary constraint $\varGamma _W$ is applied on the bottom and top of the channel and on the cylinder surfaces. Two jet holes ($\varGamma _1$ and $\varGamma _2$) are present at both sides of the cylinder. (b) An enlarged view of the dashed box in panel (a). The $0^\circ$ azimuthal angle corresponds to the foremost point on the cylinder's windward surface and increases clockwise. The jet actuator opening angle is $10^\circ$, consistent with Rabault et al. (2019).

Figure 4

Table 1. Numerical results of mesh convergence study for the 2-D flow around a circular cylinder at $Re = 100$.

Figure 5

Figure 4. Number and configuration of the sensors used to generate the DRL controller state observation. (a) Using 147 sensors provides sufficient flow information for DRL training, stated as $\mathcal {L}_{I}^{}$. (b) Layout using 4, 8, 12, 24 or 36 sensors in the surface of the cylinder respectively, denoted by $\mathcal {L}_{II}^{4}$, $\mathcal {L}_{II}^{8}$, $\mathcal {L}_{II}^{12}$, $\mathcal {L}_{II}^{24}$ and $\mathcal {L}_{II}^{36}$. (c) Layout using only one sensor located on the surface of the cylinder with an azimuthal angle of $0^{\circ }$, $30^{\circ }$, $60^{\circ }$, $90^{\circ }$ or $\theta ^{\circ }$, signified by $\mathcal {L}_{III}^{0}$, $\mathcal {L}_{III}^{30}$, $\mathcal {L}_{III}^{60}$, $\mathcal {L}_{III}^{90}$ and $\mathcal {L}_{III}^{\theta }$.

Figure 6

Figure 5. Comparison of (a) the mean $C_D$, (b) reward and (c) the std of $C_L$ when using different DRL methods, i.e. using the DF-DRL method or not, and a different number of sensors (4 sensors in the surface of cylinder and 147 sensors around the cylinder). The learning case condition, which contains 147 sensors without time series, reaches the maximum reward. These cases are trained three times repeatedly, and we present the average between the three runs (thick line) and the std between these runs (shadowed area).

Figure 7

Figure 6. Evolution of (a) mean $C_D$ reduction, (b) reward and (c) std lift coefficient for different numbers of sensors with DF-DRL method. Sensors are uniformly located on the surface of the cylinder as indicated in figure 4(c).

Figure 8

Figure 7. One pressure sensor is placed every $15^{\circ }$ on the cylinder surface for training, from $0^{\circ }$ to $180^{\circ }$, for a total of 13 sets of training. (a–c) Are the mean $C_D$, reward and the std of $C_L$ in the last 10 training episodes, respectively, (d–f) are the changing trends of mean $C_D$, reward and the std of $C_L$, respectively.

Figure 9

Figure 8. Contours of time-averaged vorticity of a plain case, the red points are surface pressure sensors. Vortex separation occurs between sensors $90^{\circ }$ and $105^{\circ }$.

Figure 10

Figure 9. Evolution of the mean $C_D$, reward and the std of $C_L$ during the learning process at Reynolds numbers corresponding to (a–c) $Re = 500$, and (d–f) $Re = 1000$. The averaged curves labelled in blue refer to the moving average of the mean of all three training curves in each panel. All results are obtained under scheme $\mathcal {L}_{III}^{150}$.

Figure 11

Figure 10. Component analysis of (a) drag force caused by pressure and skin friction at different Reynolds numbers, and (b) the proportion of pressure drag in the total drag.

Figure 12

Figure 11. (a) Evolution of $C_D$ for the cylinder without (no jet) and with (DF-DRL cylinder) AFC at $Re = 500$, as well as the associated normalized flow rate of the jet flow. (b) Temporal variations in smoothed $C_L$ for the cylinder without (no jet) and with (DRL cylinder) AFC in $Re = 500$. (c) Power spectral density (PSD) of $C_D$ during the period of non-dimensional time ranging from 200 to 300 and (d) PSD of $C_L$ during the period of non-dimensional time ranging from 200 to 300.

Figure 13

Figure 12. (a) Evolution of $C_D$ for the cylinder without (no jet) and with (DF-DRL cylinder) AFC at $Re = 1000$, as well as the associated normalized flow rate of the jet flow. (b) Temporal variations in smoothed $C_L$ for the cylinder without (no jet) and with (DF-DRL cylinder) AFC at $Re = 1000$. Panels (c,d) show the PSD of $C_D$ and $C_L$, respectively, during the period of non-dimensional time ranging from 200 to 300.

Figure 14

Figure 13. Typical snapshots of the vorticity channel around the cylinder at $Re = 500$ corresponding to the flow without (a) and with (b) control for $Re = 1000$ corresponding to the flow without (c) and with (d) control.

Figure 15

Figure 14. Mean vorticity contours around the cylinder at $Re = 500$ corresponding to the flow without (a) and with (b) control and $Re = 1000$ corresponding to the flow without (c) and with (d) control.

Figure 16

Figure 15. Schematics of the computational domain for 3-D turbulent flow around a cylinder. The red dot represents the location of a surface pressure sensor, with 0 degrees corresponding to the most front of the cylinder and $\theta$ equal to 135 degrees. The green bar-shaped regions on either side of the cylinder represent the jet actuators. The blue boxes depict sensor clusters deployed in the wake region. The wake sensors are deployed at equal intervals along the $x$, $y$ and $z$ directions, forming an $8 \times 3 \times 3$ grid configuration.

Figure 17

Table 2. Comparison of integral flow quantities in the flow past a 3-D circular cylinder at $Re = 10\,000$. Here, $C_d$ is the drag coefficient, $C_L$ is the root-mean-square (r.m.s.) value of lift coefficient and $S_t$ is the Strouhal number.

Figure 18

Figure 16. Evolution of (a) mean drag reduction, (b) reward and (c) std lift coefficient of vanilla DRL and DF-DRL method with surface pressure sensing, and vanilla DRL method with wake sensing, respectively. A detailed description of the layout schemes for the two types of sensors is provided in figure 15.

Figure 19

Figure 17. (a) Evolution of $C_D$ for the cylinder without (no jet) and with (DF-DRL cylinder) AFC at $Re = 10\,000$, as well as the associated normalized flow rate of the jet flow $Q_i^*$ (yellow line), which is defined in (3.9). (b) Temporal variations in smoothed $C_L$ for the cylinder without (no jet) and with (DF-DRL cylinder) active flow control at $Re = 10\,000$. Panels (c,d) show the PSDs of $C_D$ and $C_L$, respectively, during the period of non-dimensional time ranging from 100 to 200.

Figure 20

Figure 18. Turbulent flow past a circular cylinder at $Re = 10\,000$. Instantaneous vortical structures close to the cylinder surface coloured by the streamwise velocity (a) without and (b) with DF-DRL-based control, and streamlines of mean flow (c) without and (d) with DF-DRL-based control.

Figure 21

Table 3. Configurations of flow simulation.

Figure 22

Table 4. Hyper-parameters of the present DF-DRL model.