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

[General] Paraview crashes when loading a large Ensight file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2015, 12:18
Default Paraview crashes when loading a large Ensight file
  #1
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
While trying to load a rather large Ensight case file in Paraview, it crashes writing the following message to console:
Quote:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
The case has a fortran binary format with around 350million hexa8 elements with 2 scalar results. Duplicate vertices were avoided to reduce file size and enhance rendering speed in ParaView.
The geometry file uses around 14.4 Gb of disk space, each of the scalar files has around 1.3 Gb size on disk.
Before clicking "apply" I removed the tick box for one of the two scalars to further reduce the memory requirement.

Smaller case files can be loaded without problems.
The workstation has 256 Gb of memory available. Watching the output of top I found out that paraview allocates about 3% of the memory after clicking apply and then crashes. ParaView version is 4.3.1 64 Bit.

Is there anything I can do about this issue?
flotus1 is offline   Reply With Quote

Old   June 23, 2015, 11:54
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Seems like we are running out of ParaView experts.
flotus1 is offline   Reply With Quote

Old   June 28, 2015, 15:35
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Alex,

At least for me, the problem is not having enough free time to do it all

My guess is that 350 million hexahedral cells will result in roughly 6 times the number of points, which is 2100 million points. This is certainly overkill, because this would assume that each cell has its own 6 points, which should not happen as you've indicated.
If I'm not reading the number incorrectly, 2^31 = 2147483648 which is very near to the maximum limit of 2100 million points.

Edit: Forgot to mention that some 64-bit code sometimes doesn't fully support 64-bit arrays

Beyond this, I would need a test case and would have to investigate the source code... for which I don't have enough free time in the next few months Therefore, I suggest you ask about this on the ParaView user mailing list, where some of the ParaView developers usually answer to a few questions: http://www.paraview.org/mailing-lists/

Nonetheless, if you would like for anyone to look into this, you might want to provide a test case example for both here and on the mailing list.

Best regards,
Bruno

Last edited by wyldckat; June 28, 2015 at 15:36. Reason: see "Edit:"
wyldckat is offline   Reply With Quote

Old   June 29, 2015, 08:38
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I really appreciate that you took the time. I know we all have other things to do.

Your suggestion about the number of points led me towards the right direction.
The number of "potential" points (I prefer calling them vertices) seems to be the problem.
A geometry file with 266'607'582 hexa8 cells is no problem for ParaView (8*266'607'582 < 2^31).
A geometry file with 268'522'448 hexa8 cells causes ParaView to crash (8*268'522'448 > 2^31).
This is independent of the actual number of vertices in the geometry file which was only 272'819'068 in the second case.
flotus1 is offline   Reply With Quote

Old   July 5, 2015, 15:09
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Alex,

I can't remember exactly right now, but I believe that the Ensight file formats can handle multi-block meshes. In other words, instead of having a single mesh, have one mesh per block.
This to say that it would then be possible to at least divide the mesh in half and have each half for a block.

After a quick search:
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 13, 2015, 05:35
Default
  #6
New Member
 
jon cotgreave
Join Date: Apr 2015
Posts: 3
Rep Power: 11
joncotgreave is on a distinguished road
I have found this the case running a smaller file size on a low spec machine.
In my case it was due to running out of memory.
Have you turned on the "Memory Inspector" to allow visulisation of you resource usage.
How much RAM does you computer have?
joncotgreave is offline   Reply With Quote

Reply

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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


All times are GMT -4. The time now is 10:38.