Flow Past Cylinder
The von Kármán vortex street is a canonical setup in which flow separation behind a cylinder induces periodic vortex shedding and fluctuating forces on the cylinder. The objective is to reduce the drag coefficient \(C_D\) while keeping the lift \(C_L\) small.
The system is parametrized via the Reynolds number \(\mathrm{Re} = \frac{\overline{U} D}{\nu}\), where \(\overline{U}\) is the mean incoming velocity, \(D\) the cylinder diameter, and \(\nu\) the kinematic viscosity.
Environment List
Environment ID |
Actuation |
Reynolds |
Resolution |
|---|---|---|---|
|
Jet |
100 |
24 |
|
Jet |
250 |
32 |
|
Jet |
500 |
32 |
|
Rotation |
100 |
24 |
|
Rotation |
250 |
32 |
|
Rotation |
500 |
32 |
|
Jet |
100 |
24 |
|
Jet |
250 |
32 |
|
Jet |
500 |
48 |
Reward
The reward at step \(t\) is:
where \(\langle \cdot \rangle_{T_{\mathrm{act}}}\) is the temporal average over the actuation interval, \(C_{D,\mathrm{ref}}\) is the reference drag coefficient of the uncontrolled flow, and the lift regularization weight \(\omega = 1.0\).
The drag and lift coefficients are computed as:
with forces acting on the cylinder surface \(S\):
where \(\boldsymbol{\sigma}\) is the Cauchy stress tensor and \(\mathbf{n}\) the outward unit normal at the cylinder surface.
MARL Reward
In MARL mode, the reward for agent \(i\) is a weighted combination of a local and global term:
The local reward is computed over the cylinder segment controlled by agent \(i\), while the global reward covers the full cylinder. The local weight \(\beta = 0.8\).
Action Space
Two actuation modes are available:
Jet actuation (
CylinderJet): opposing synthetic jets on the top and bottom surfaces with a parabolic velocity profile and a total deflection angle of 10°. In 3D, the domain is extended spanwise, yielding eight individual jet pairs. The maximum jet velocity is \(\overline{U}\).Rotation actuation (
CylinderRot): rigid cylinder rotation with a maximum absolute angular velocity of \(\overline{U}\).
The raw control signal is temporally smoothed via exponential filtering:
where \(c_s\) is the applied value at simulation sub-step \(s\) and \(a_t\) the action at episode step \(t\).
Observation Space
Observations consist of the horizontal and vertical velocity components at sensor locations surrounding the cylinder (indicated by pink dots in 2D / pink planes in 3D). In 3D, the spanwise velocity component is additionally included. To enable policy transfer from 2D to 3D, the number of sensor planes and included components can be configured to match the 2D observation layout.
Difficulty Levels
Difficulty is controlled by the Reynolds number:
Level |
Reynolds number |
|---|---|
Easy |
Re = 100 |
Medium |
Re = 250 |
Hard |
Re = 500 |
Higher Reynolds numbers increase turbulence intensity and flow unsteadiness. The medium and hard settings introduce three-dimensional flow interactions.
API Reference
Environment for flow around a cylinder with jet actuation. |
|
Environment for flow around a cylinder with rotating cylinder actuation. |
|
3D Environment for flow around a cylinder with jet actuation. |