2D calculation of a flow induced oscillation of an obstacle