Critical conditions of galloping for inclined square cylinders