|
[Sponsors] |
June 13, 2007, 06:25 |
ParaFoam animation
|
#1 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Can someone give the quick steps to create an animation with paraFoam. I have velocity data at different timesteps. How should I proceed? Is there a simple tutorial available? The one on the paraView webpage is confusing.
|
|
June 13, 2007, 09:09 |
If you've successfully read in
|
#2 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
If you've successfully read in your openfoam case, you should see all different timesteps. Just change your layout and push the accept button. Do not (!) select any of the timesteps. Now you should be able to push the play button in the animation panel. One of the record buttons let you save pictures or an avi.
Actually it's very easy:-) Frank
__________________
Frank Bos |
|
June 13, 2007, 09:12 |
Very quick pointer:
- Set u
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Very quick pointer:
- Set up the visualization you want - Make sure you selected the timestep of the source with the slider bar (not the radio-buttons!) This is the most common pitfall because the time-step won't change during the animation otherwise - Change to the animation view - Unselect the "Cache mesh"-option (used to be a memory leak) - Try the "Play" button - If that works: "Save animation" (all GUI-element-names are only approximations from memory)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
June 13, 2007, 17:37 |
Thank you Frank and Bernhard.
|
#4 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Thank you Frank and Bernhard. I was able to view the animation from within paraFoam. However, when I try to save it, I get the GLXBadContext error as reported by a few others in the forum. I am looking into this new problem now. Thanks once again for your help!
|
|
November 3, 2009, 15:25 |
|
#5 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi,
I just cannot seem to export an animation as an avi, my problem is this: I set up the animation I want to export (typically some stress field varying with time). I can view this animation just fine. When I go File->save animation, it will save create an avi file but this file will just be a picture of my geometry that doesn't change with time. The avi will play for how many seconds I set it too but the picture doesn't change. I am using paraview-3.4.0 and 3.6.0 (binaries downloaded from paraview). I use foamToVTK to visualise my cases. I have even tried paraview on my mac. I have searched the web but I haven't found anything that explains it clearly. I am able to export the animation as a set of images. I must be missing something very simple as I have tried a few different paraview installation to no avail, I would really appreciate it if someone could give me some suggestions. Philip C |
|
November 4, 2009, 14:06 |
figured out a work-around
|
#6 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi again,
I figured out a work-around. I can 'save animation' in paraview to one of the image formats (jpeg,tiff or png), and then I use the command: convert -delay 30 *.jpg video.mpg ...or whatever the image type you are using. Adding in '-delay 30' gets the video to play a reasonable speed, it's too fast otherwise. convert uses mpeg2encode so you have to install this package. Philip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] | u2berggeist | OpenFOAM Installation | 2 | July 2, 2018 18:03 |
[OpenFOAM] saving animation in paraFoam | kulkarni Harshawardhan | ParaView | 2 | April 9, 2013 12:51 |
Exporting Animation in Parafoam: Segmentation Fault at 195 files | dancfd | OpenFOAM Post-Processing | 2 | November 14, 2012 23:15 |
[OpenFOAM] ParaFoam: Slice Animation | Nucleophobe | ParaView | 2 | August 5, 2012 17:51 |
[OpenFOAM] Save animation bug in paraFoam on Mac OSX | deinstein | ParaView | 3 | May 1, 2010 16:29 |