Swirling flow of viscoelastic fluids