As far as I know, this animation feature for the .vtk legacy format in current version is not available. I had a similar problem before. Thus I opted to write .pvd format pointing .vtu files. It's wonderful. However, paraview developers promised to retain this features in near future (?).
<br><br>Sincerely,<br>Hom Nath Gharti