CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Paraview 3.12 memory allocation problem while saving animation (https://www.cfd-online.com/Forums/paraview/97220-paraview-3-12-memory-allocation-problem-while-saving-animation.html)

jgomez February 12, 2012 09:53

Paraview 3.12 memory allocation problem while saving animation
 
While saving an animation using Paraview 3.12 the memory usage increases until the computer becomes unresponsive and i have to perform a hard reboot.

The geometry contains around 80000 cells. Paraview is supposed to save 800 jpg images for the animation but just around 30% of them are saved before the memory usage reaches 100%

Has anybody experienced this issue in Paraview 3.12? Is there any workaround or fix for it or do i have to compile Paraview again?

Turning geometry caching off doesnīt resolve the issue.

Thanks

wyldckat February 12, 2012 10:28

Greetings jgomez and welcome to the forum!

80000 cells isn't much. The problem might be related to the plugin you are using to open the case. Try the following possibilities:
  • Use the built-in reader instead:
    Code:

    paraFoam -builtin
  • Use VTK files instead of the OpenFOAM readers:
    Code:

    foamToVTK
    Then open the files that are inside the newly created VTK folder. Open the group file if you want to have time control (group files have two or more dots in the name of the file, with a + to the left of said group file).
Let us know if either one of these still gives you that problem.


If you are using the normal/official OpenFOAM reader (file extension ".OpenFOAM"), please tell us which version of OpenFOAM you are using and if you are able to reproduce this error with one of the tutorials on OpenFOAM.


Best regards,
Bruno

joris.hey February 17, 2012 03:39

I have the same issue. I have last version of OpenFOAM v 2.1.0 (ubuntu installer).

It seems not to work with the built in reader neither.

Apparently it is a paraview problem : http://comments.gmane.org/gmane.comp.science.paraview.user/13439

Normally they fixed it after 3.10 ... But it seems not with paraFoam

joris.hey February 17, 2012 04:50

It worked with FoamToVtk and then open vtk files with ParaView 3.6.0.

jgomez February 17, 2012 06:48

I tried the suggestions provided by Bruno (thanks for the quick answer) without success. The memory kept filling up and then the pc crashes. As joris.hey wrote, it seems to be a problem with paraFoam itself.

And just for the record, i aḿ using an up to date repository version 2.1.x.

Additionally, the issue was "not reproducible" with the cavity tutorial (which i of course modified in order to have more cells and time steps). Still i wasnīt anywhere near the 80,000 cells of my original model so i donīt think that is conclusive enough.

I will install ParaView 3.6.0, try to open the vtk files with it as joris.hey suggested and post the results. Hope that works.

Best regards,
Juan

joris.hey February 17, 2012 08:36

I guess it would work also with ParaView 3.12 (and not ParaFoam) , as they said they fixed it on the wiki.

cheers

jgomez February 17, 2012 09:01

3.12 is actually my installed version of paraview but neither paraFoam nor vtk files nor the built-in reader allows me to save the animation. Funny thing, i just opened the same vtk files with paraview 3.14 (latest release candidate) and it worked fine. The animation was saved successfully and my memory usage indicator barely moved. So it seems the issue wasnīt totally solved in 3.10

wyldckat February 18, 2012 06:11

Greetings to all!

Aaaarrg... I could really use a test case to check this for myself...

Anyway, if either one of you has the opportunity, try following these instructions: ParaView 3.12.0 SuperBuild on OpenFOAM
Basically it should give you a fully built ParaView, done in almost the same way that the official builds of ParaView are done.

Best regards,
Bruno

eysteinn February 28, 2012 07:19

Quote:

Originally Posted by jgomez (Post 344948)
3.12 is actually my installed version of paraview but neither paraFoam nor vtk files nor the built-in reader allows me to save the animation. Funny thing, i just opened the same vtk files with paraview 3.14 (latest release candidate) and it worked fine. The animation was saved successfully and my memory usage indicator barely moved. So it seems the issue wasnīt totally solved in 3.10

. . . that might explain the memory leak I got the other day.
I see in the paraview changelog that there was some memory leak fixed from 3.12 to 14.
Did you manage to compile the OF-reader with paraview 3.14?

/Eysteinn

niravtm007 March 7, 2012 00:17

animating waves
 
Hi my friends my problem is 2- phase flow in a river bed ( open channel flow) i need to capture animation of wavy nature which ocurs at the interface between air and water. mine is unsteady flow, so i got few results which vary with time. how can i animate this phenomenon using fluent or tec plot . please help

kmooney November 28, 2012 11:32

I installed the latest PV release, V.3.98.0 and the memory leak appears to have been fixed! No need to convert to VTK first also.

Thanks for the great advice!

Cheers,

Kyle

immortality September 14, 2013 12:18

Quote:

Choose the "ParaVIew-3.12.0/SuperBuild" folder as the source code and pick some other folder as the folder for the building stage.
Hit the "Configure" button. Find the line that has the words "CMAKE" and "PREFIX" and adapt that field to the place where you want it to be installed.
Hi dear Bruno,
what does these lines mean? I put
Code:

ParaVIew-3.12.0/SuperBuild
in Browse source field and
Code:

/home/ehsan/ParaVIew-3.12.0/building
in Browsw Build and selected "configure" button,but its the error:
Code:

CMake Error: The source directory "ParaVIew-3.12.0/SuperBuild" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.


wyldckat September 14, 2013 12:21

Hi Ehsan,

Uhm, no, do not try the SuperBuild of ParaView 3.12.0! It's the same version and it will have the same exact bugs!!

I told you to try a more recent version of ParaView, not to try and rebuild the current one :rolleyes:
Didn't you see what Kyle wrote on the post before yours? He no longer has issues with the version 3.98.0, which is more recent than 3.12.0!

Best regards,
Bruno

immortality September 14, 2013 12:57

I thought you mean installing superBuild.
Quote:

Anyway, if either one of you has the opportunity, try following these instructions: ParaView 3.12.0 SuperBuild on OpenFOAM
Basically it should give you a fully built ParaView, done in almost the same way that the official builds of ParaView are done.
but I have to download a newer paraview?I use Ubuntu 11.10 then does it work with 11.10 or I have to change anything else?

wyldckat September 14, 2013 13:05

Quote:

Originally Posted by immortality (Post 451711)
I thought you mean installing superBuild.

but I have to download a newer paraview?I use Ubuntu 11.10 then does it work with 11.10 or I have to change anything else?


Seriously, what ambiguity is there on what I wrote on the other thread:
Quote:

Originally Posted by wyldckat (Post 451694)
The only potential solution would be to use a more recent ParaView version. Very brief instructions are given here: http://www.cfd-online.com/Forums/openfoam-paraview/123094-using-python-shell-parafoam.html#post451679
post #6.

:mad:

This is what happens when you don't stick to a single thread... :p

immortality September 14, 2013 13:35

dear Bruno I restarted the PC.a corrupted Pigdin software was occupied the memory.
and did animation for second time.the memory increases till 2.5GB and paraview closes.
I have to download a newer version necessarily?is it compatible with 11.10?

wyldckat September 14, 2013 13:37

Quote:

Originally Posted by immortality (Post 451721)
I have to download a newer version necessarily?is it compatible with 11.10?

The pre-built binaries available at www.paraview.org should work fine with Ubuntu 11.10. The file in question should probably be this one:

immortality September 14, 2013 17:03

Hi dear Bruno,
I bought a 1Gbyte account with 1024 kbps speed for 10$! for one month and it downloaded in about 30 minutes.
I saw in a post you have mentioned the stages to install it,but can't find it :(
----------------------
I found it!
is it OK to follow?
http://www.cfd-online.com/Forums/ope...tml#post451679


All times are GMT -4. The time now is 17:18.