|
[Sponsors] |
July 7, 2010, 04:03 |
gliph display
|
#1 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
Hi everybody.
I have a problem. In order to display U vectors (simpleFoam case) I always used Cell Centers and Gliph filters, as in cavity tutorial. Today I obtain this message: Code:
$ paraFoam created temporary 'tandem_blade_7_0_better.OpenFOAM' ERROR: In /OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/VTK/Common/vtkDataArrayTemplate.txx, line 142 vtkFloatArray (0x1c3fa530): Unable to allocate 155116653 elements of size 4 bytes. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc /OpenFOAM/OpenFOAM-1.6.x/bin/paraFoam: line 111: 27881 Aborted paraview --data="$caseFile" |
|
July 8, 2010, 06:50 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Maurizio, I see you're using OpenFOAM very successfully
I've come across that very same issue a couple of weeks ago. Basically, that message means that the machine doesn't have about 600MB of contiguous free RAM (and Swap doesn't count)! But there is a rather simple solution, without resorting to buying more RAM: you must change the resolution of the glyphs! If you change the resolution for each arrow to have less triangles on the head and the body, then you can represent a lot more arrows in a single scene! The exact names of the relevant resolutions of the Arrow are:
Best regards, Bruno
__________________
|
|
July 8, 2010, 10:17 |
|
#3 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
Thank you, Bruno. I thought Ubuntu and 4 Gb RAM were enough...
Your hint works and now I can get my smart coloured gliphs and streamlines You seem to have a solution for every section of the forum Cheers, Maurizio |
|
July 8, 2010, 10:59 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
if you only have lemons, make lemonade Best regards, Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] paraFoam error | scybchenjun | OpenFOAM Meshing & Mesh Conversion | 0 | May 11, 2016 23:25 |
Scheme Executable Terminating Prematurely | ec44 | Fluent UDF and Scheme Programming | 1 | April 6, 2015 03:34 |
[OpenFOAM] Xlib: extension "GLX" missing on display | goldbeard | ParaView | 5 | March 24, 2013 13:12 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 07:43 |
free surface display | carno | Siemens | 4 | October 7, 2005 01:03 |