CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview 3.12 memory allocation problem while saving animation

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

Like Tree3Likes
  • 2 Post By joris.hey
  • 1 Post By jgomez

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2012, 10:53
Default Paraview 3.12 memory allocation problem while saving animation
  #1
New Member
 
Join Date: Dec 2011
Posts: 4
Rep Power: 14
jgomez is on a distinguished road
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
jgomez is offline   Reply With Quote

Old   February 12, 2012, 11:28
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   February 17, 2012, 04:39
Default
  #3
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 14
joris.hey is on a distinguished road
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 is offline   Reply With Quote

Old   February 17, 2012, 05:50
Default
  #4
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 14
joris.hey is on a distinguished road
It worked with FoamToVtk and then open vtk files with ParaView 3.6.0.
wyldckat and jgomez like this.
joris.hey is offline   Reply With Quote

Old   February 17, 2012, 07:48
Default
  #5
New Member
 
Join Date: Dec 2011
Posts: 4
Rep Power: 14
jgomez is on a distinguished road
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
jgomez is offline   Reply With Quote

Old   February 17, 2012, 09:36
Default
  #6
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 14
joris.hey is on a distinguished road
I guess it would work also with ParaView 3.12 (and not ParaFoam) , as they said they fixed it on the wiki.

cheers
joris.hey is offline   Reply With Quote

Old   February 17, 2012, 10:01
Default
  #7
New Member
 
Join Date: Dec 2011
Posts: 4
Rep Power: 14
jgomez is on a distinguished road
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
wWieWalter likes this.
jgomez is offline   Reply With Quote

Old   February 18, 2012, 07:11
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   February 28, 2012, 08:19
Default
  #9
Member
 
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 53
Rep Power: 16
eysteinn is on a distinguished road
Quote:
Originally Posted by jgomez View Post
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
eysteinn is offline   Reply With Quote

Old   March 7, 2012, 01:17
Default animating waves
  #10
Member
 
Nirav
Join Date: Jul 2011
Posts: 43
Rep Power: 14
niravtm007 is on a distinguished road
Send a message via Skype™ to niravtm007
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
niravtm007 is offline   Reply With Quote

Old   November 28, 2012, 12:32
Default
  #11
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
kmooney is on a distinguished road
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
kmooney is offline   Reply With Quote

Old   September 14, 2013, 13:18
Default
  #12
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 13:21
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
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
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 13:57
Default
  #14
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 14:05
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by immortality View Post
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 View Post
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.


This is what happens when you don't stick to a single thread...
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 14:35
Default
  #16
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   September 14, 2013, 14:37
Default
  #17
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by immortality View Post
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:
Quote:
ParaView-4.0.1-Linux-64bit.tar.gz 17-Jun-2013 09:09 143M
__________________
wyldckat is offline   Reply With Quote

Old   September 14, 2013, 18:03
Default
  #18
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Reply

Tags
animation, paraview 3.12

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run-time memory allocation error aniseh CFX 1 November 19, 2014 05:32
[OpenFOAM] plot particles and animation in paraview phsieh2005 ParaView 1 July 26, 2013 06:35
[OpenFOAM] Problem running paraview (libQVTK?) t_clark ParaView 2 August 8, 2012 06:23
Yet another Paraview problem gascortado OpenFOAM 5 February 21, 2010 07:39
Gridgen export problem with memory allocation? july Pointwise & Gridgen 5 July 21, 2008 21:29


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