|December 17, 2012, 08:51||
bad setSize while building up a too large mesh ?
Join Date: Mar 2011
Posts: 8Rep Power: 4
I am trying to build up a mesh of about 600 millions of cells (3396*3396*50) and when I run blockMesh I get the following error :
Creating points with scale 1
--> FOAM FATAL ERROR:
bad set size -835122496
From function List<T>::setSize(const label)
in file /usr/local/OpenFoam/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/List.C at line 322.
The procedure I use work for the building of a four time smaller mesh, of about 150 millions of cells (1698*1698*50), but give the error above for the larger case.
Does anyone have an idea of what should be done to solve this problem ? Thanks by advance for any help.
|April 12, 2013, 14:26||
Join Date: Apr 2010
Location: Pittsburgh, PA, USA
Posts: 18Rep Power: 5
I just encountered the same error. Were you able to overcome this problem?
My guess is that this is a case of overflow in a variable of type int. For example, for large meshes, the variables holding the number of points, faces, cells etc are susceptible to overflow. The solution may be to switch to "long int" when this happens.
@ OpenFOAM developers: Should this be submitted as a bug report?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Error compiling OpenFOAM-1.6-ext||Canesin||OpenFOAM Installation||136||April 25, 2012 11:22|
|[ICEM] Problem making structured mesh on a surface||froztbear||ANSYS Meshing & Geometry||4||November 10, 2011 08:52|
|LES on a scaled geomentry (Mesh and Large scales)||comb||Main CFD Forum||0||February 8, 2011 06:21|
|SnappyHexMesh for internal Flow||vishwa||OpenFOAM||21||February 27, 2010 03:47|
|Compilation error OF1.5-dev on Suse10.3||darenyang||OpenFOAM Installation||0||April 29, 2009 04:55|