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

Exporting Animation in Parafoam: Segmentation Fault at 195 files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 156
Rep Power: 17
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: 165
Rep Power: 16
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: 156
Rep Power: 17
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
animation sequence files solomon FLUENT 6 April 3, 2024 13:14
[OpenFOAM] Paraview - Segmentation fault grjmell ParaView 5 January 9, 2024 14:14
paraFoam, Segmentation fault Fed11 OpenFOAM Bugs 3 July 4, 2011 20:04
Multiple .res files in animation Gloria Gaynor CFX 5 April 6, 2009 20: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 09:29.