Vortex shedding is a common phenomenon when a fluid flow passes around a body. Here, the vortex shedding of viscoelastic fluid around the oscillating cylinder is simulated. For simulation, a dynamic mesh library is added to OpenFOAM solver viscoelasticFluidFlow. The solver is available only in foam-extended versions.