In deep sea oil exploitation, offshore structures subjected to winds, waves and currents will cause the connected flexible riser to oscillate in the water, which contributes to complicated Vortex-induced Vibration (VIV) phenomenon. In this paper, VIV of a flexible cylinder under two degree-of-freedoms (Dofs) excitations are mainly investigated. All simulations are carried out by the viv3D-FOAM-SJTU solver, which is developed based on the open-source code OpenFOAM and the thick strip model. During the simulations, the flexible cylinder is forced to sinusoidally oscillate following the approximate “8” shape of trajectory, while the cylinder is allowed to vibrate in both directions. Modal decomposition method and wavelet transformation method are used to get the dominant vibration features of the cylinder. Variations on vortex structures of the cylinder are analyzed through the three-dimensional visualization method.