CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Exporting Animation in Parafoam: Segmentation Fault at 195 files

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 13, 2012, 23:33
Default Exporting Animation in Parafoam: Segmentation Fault at 195 files
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 151
Rep Power: 8
dancfd is on a distinguished road
Hello all,

I am trying to create an animation of my simulation with 400 timesteps. I would like to show one frame for each timestep. The output of the images to form the animation proceeds well until file 0194.jpg is created, at which point Paraview crashes with the following error:

Code:
radeon: mmap failed, errno: 12
Segmentation fault
The problem is that I have 400 timesteps to consider, and it is time consuming and inconvenient to run paraFoam three times, to produce 195, 195 and 10 images before creating the animation. It is odd, but with any case, it always crashes after 195 files have been output. Could anyone please suggest a way around this?

Software versions:

OpenFOAM 2.1.1
ParaView OpenFOAM 3.12.0

Thanks in advance,

Dan
dancfd is offline   Reply With Quote

Old   November 14, 2012, 07:55
Default
  #2
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7
Aurelien Thinat is on a distinguished road
Hello Daniel,

I did have some similar problem.

That's not the best solution I guess but well if you don't find any other solution, here is what I did :
1 - I have created .vtk files for each time step of the plane I wanted to get in my animation.
2 - I opened paraview, and the first vtk file to define the camera angle.
3 - With a python script I made paraview (not parafoam but I guess both can be used for that) open one by one each vtk file take the picture and clean the memory (by deleting the .vtk from paraview's tree on the left).

You'll find plenty of examples of paraview scripts by googling it (I don't have mine on this computer).
Aurelien Thinat is offline   Reply With Quote

Old   November 14, 2012, 23:15
Default
  #3
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 151
Rep Power: 8
dancfd is on a distinguished road
Hello Aurelien,

Thank you for your advice! I will try that. So far I have been able to generate the VTKs, I will work on the python script next.

Dan
dancfd 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
paraFoam, Segmentation fault Fed11 OpenFOAM Bugs 3 July 4, 2011 19:04
Paraview - Segmentation fault grjmell OpenFOAM 1 March 23, 2011 17:41
animation sequence files solomon FLUENT 5 June 7, 2010 17:57
Multiple .res files in animation Gloria Gaynor CFX 5 April 6, 2009 19:36
Animation of multiple cgns files John Smith Main CFD Forum 0 February 19, 2008 15:57


All times are GMT -4. The time now is 20:55.