Numerical study on aerodynamic instability of oscillating rectangular cylinders