CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

ParaFoam animation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 13, 2007, 05:25
Default Can someone give the quick ste
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 698
Rep Power: 12
msrinath80 is on a distinguished road
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.
msrinath80 is offline   Reply With Quote

Old   June 13, 2007, 08:09
Default If you've successfully read in
  #2
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
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
lr103476 is offline   Reply With Quote

Old   June 13, 2007, 08:12
Default Very quick pointer: - Set u
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
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
gschaider is offline   Reply With Quote

Old   June 13, 2007, 16:37
Default Thank you Frank and Bernhard.
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 698
Rep Power: 12
msrinath80 is on a distinguished road
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!
msrinath80 is offline   Reply With Quote

Old   November 3, 2009, 15:25
Default
  #5
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 570
Rep Power: 19
bigphil will become famous soon enoughbigphil will become famous soon enough
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
bigphil is offline   Reply With Quote

Old   November 4, 2009, 14:06
Default figured out a work-around
  #6
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 570
Rep Power: 19
bigphil will become famous soon enoughbigphil will become famous soon enough
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
bigphil is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save animation bug in paraFoam on Mac OSX deinstein OpenFOAM Paraview & paraFoam 3 May 1, 2010 15:29
ParaFOAM ttdtud OpenFOAM Paraview & paraFoam 2 May 29, 2008 09:08
ParaFoam nzy102 OpenFOAM Paraview & paraFoam 0 April 13, 2007 20:15
ParaFoam Ales Alajbegovic (Alajbegovic) OpenFOAM Installation 13 November 7, 2006 10:44
Please help me see this about paraFoam liugx212 OpenFOAM Running, Solving & CFD 2 March 8, 2006 10:54


All times are GMT -4. The time now is 02:25.