paraview velocity

Submitted by g.garate on Wed, 03/27/2013 - 14:27

Hi all,
When I watch a simulation in paraview this one runs very slow. is there any way to speed it up in order to see the particles moves at a velocity more realistic?
Best

cstoltz | Wed, 03/27/2013 - 17:32

Generate an animation and set the frame rate appropriately. Unless you have a very small system, Paraview won't be able to load frames fast enough to really keep up while editing.

g.garate | Wed, 03/27/2013 - 21:10

I was trying to generate an animation as you said. I did it with: file - save animation. I've just done it that way but as far as the speed is concerned I didn't see any difference. Please, can you tell me what am I doing wrong?

g.garate | Mon, 04/01/2013 - 16:49

The type of movie format is *.jpg. This one appears as default file when I select "save animation". Then I use paraview to play the animation. I don't think this is the best way. Any suggestion?

cstoltz | Mon, 04/01/2013 - 18:39

I usually save to avi format for portability. If you've defined the framerate properly, you should be good to go.

Not sure what playback you're using in Paraview. I'm not an expert with Paraview, but if you're saving to jpeg, I expect you'll get a stack of individual images, not an animation. If you're playing it inside Paraview, I'm also guessing you're actually still loading data frame by frame rather than actually playing any sort of real animation.

Regards,
Chris

g.garate | Wed, 04/03/2013 - 20:38

Thanks, I wasn't able to find the way to save an animation in avi format because of my paraview version, now I have paraview 3.14 and the option avi is available.
The new problem is I can't save an animation with the following setting:
animation duration (sec): 5
Frame Rate (fps) 400
Number of Frames: 2000

When I select "save animation", appears:

Generic Warning: In /build/buildd/paraview-3.14.1/VTK/IO/vtkFFMPEGWriter.cxx, line 211
Could not open codec.

ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkFFMPEGWriter.cxx, line 514
vtkFFMPEGWriter (0x6ad29d0): Error initializing video stream.

If I modify the parameters, paraview works properly, but acording with my input of simulation (timestep 0.00001; #Dump: 250; #Run: 500000) the parameters values were set in paraview properly.

Does anybody know what the problem is?
Sorry my english

cstoltz | Wed, 04/03/2013 - 21:27

Not sure on that one. Can you try using fewer frames and then lower the frame rate? Maybe keep every 10th frame and only save at 40 fps (200 frames total)?

You may also want to upgrade to Paraview 3.98. Might help.

Chris