Vibrations of Square and Hexagonal Cylinders in a Liquid