file series reader not working properly for 5000 vtu files
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
If I create the 5000 vtu files with the following python script I have trouble reading them back in to paraview:
try: paraview.simple except: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset() Wavelet1 = Wavelet() Wavelet1.WholeExtent = [0, 5, 0, 5, 0, 5] Clip1 = Clip( ClipType="Plane" ) Clip1.Scalars = ['POINTS', 'RTData'] Clip1.ClipType.Origin = [2.5, 2.5, 2.5] Clip1.ClipType = "Plane" Clip1.Value = 132.19195199012756 Calculator1 = Calculator() w = XMLUnstructuredGridWriter() for i in range(5001): Calculator1.Function = str(i) name = "phi0" + format(i, "05d") + "000000.vtu" print name, Calculator1.Function w.FileName = name w.UpdatePipeline()
The problem is easily demonstrated by loading in the files and then selecting a point and using the plot selection over time. This was done with a ParaView version from the repo around 10/15/2013. The image is the result that I got but should be a straight line.
Edited by Mathieu Westphal (Kitware)