CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

bad setSize while building up a too large mesh ?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 17, 2012, 08:51
Default bad setSize while building up a too large mesh ?
  #1
New Member
 
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 8
Rep Power: 4
Orgogozo is on a distinguished road
Dear foamers,

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 cells
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.

FOAM aborting
"

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.

Laurent
Orgogozo is offline   Reply With Quote

Old   April 12, 2013, 14:26
Default
  #2
New Member
 
Anirban Jana
Join Date: Apr 2010
Location: Pittsburgh, PA, USA
Posts: 17
Rep Power: 5
jans is on a distinguished road
Hi Laurent,
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?

Thanks
Anirban
jans is offline   Reply With Quote

Reply

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
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


All times are GMT -4. The time now is 21:30.