prescribing the motion of a solid sphere

I have a rotating flow on cylindrical coordinates but the image is projected onto 2d cross section. The body (a sphere) is moving up and down in a sinusoidal manner and the flow is rotating, thus producing some rays as shown in the image. How can I create a movie where I have 100 vtk files and I want the sphere to oscillate up and down in a manner that I prescribe?