CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

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 Display Modes
Old   February 12, 2012, 09:53
Default Paraview 3.12 memory allocation problem while saving animation
  #1
New Member
 
Join Date: Dec 2011
Posts: 4
Rep Power: 3
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, 10:28
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,271
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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, 03:39
Default
  #3
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 3
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, 04:50
Default
  #4
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 3
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, 06:48
Default
  #5
New Member
 
Join Date: Dec 2011
Posts: 4
Rep Power: 3
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, 08:36
Default
  #6
New Member
 
Join Date: May 2011
Posts: 15
Rep Power: 3
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, 09:01
Default
  #7
New Member
 
Join Date: Dec 2011
Posts: 4
Rep Power: 3
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, 06:11
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,271
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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, 07:19
Default
  #9
Member
 
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 37
Rep Power: 5
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, 00:17
Default animating waves
  #10
Member
 
Nirav
Join Date: Jul 2011
Posts: 42
Rep Power: 3
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, 11:32
Default
  #11
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA
Posts: 177
Rep Power: 5
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

Reply

Tags
animation, paraview 3.12

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
Yet another Paraview problem gascortado OpenFOAM 5 February 21, 2010 06:39
plot particles and animation in paraview phsieh2005 OpenFOAM Paraview & paraFoam 0 December 16, 2009 13:51
Problem with Paraview graphics Ronnfors OpenFOAM 8 November 4, 2009 12:49
Gridgen export problem with memory allocation? july Pointwise & Gridgen 5 July 21, 2008 20:29
Dynamical memory allocation for multiblock? peter.zhao Main CFD Forum 2 May 20, 2002 04:58


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