The modeling of turbulent flow around stationary and vibrating square cylinders