CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Exporting Animation in Parafoam: Segmentation Fault at 195 files (https://www.cfd-online.com/Forums/openfoam-post-processing/109269-exporting-animation-parafoam-segmentation-fault-195-files.html)

dancfd November 13, 2012 22:33

Exporting Animation in Parafoam: Segmentation Fault at 195 files
 
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

Aurelien Thinat November 14, 2012 06:55

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).

dancfd November 14, 2012 22:15

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


All times are GMT -4. The time now is 23:43.