bad_alloc

Discussion about meshing issues.

bad_alloc

Postby michael.afanasiev » Thu Aug 29, 2013 4:08 am

Hello,

I am attempting to create a very fine scale tet mesh embedded in a much coarser tet mesh (specifically we are meshing an elastic model of the globe, with high and low resolution regions). Things are progressing smoothly, save for the following error, which is encountered when trying to mesh at the finest scale:

Trelis> refine volume 23 size 0.0025 bias 1.0 depth 1 smooth
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/Trelis-14.0.app/Contents/MacOS/cubit.py", line 2386, in cmd
return _cubit.cmd(*args)
RuntimeError: std::bad_alloc

Might this be related to a memory issue? If so, we can move the meshing over to one of our large shared-memory clusters.

Interestingly, the program requires a restart every time this situation is encountered. Further refinements to the mesh (if any volume) are met with the error:

Trelis> refine volume 23 size 0.0025 bias 1.0 depth 1 smooth
ERROR: Unexpected keyword entered into the refinement command.
Type 'help refine' for correct syntax.

Any advice would be appreciated. Thanks very much.
michael.afanasiev
 
Posts: 6
Joined: Thu Jul 18, 2013 8:04 am

Re: bad_alloc

Postby michael.afanasiev » Thu Aug 29, 2013 4:09 am

Any progress on determining the cause of this error?
michael.afanasiev
 
Posts: 6
Joined: Thu Jul 18, 2013 8:04 am

Re: bad_alloc

Postby csimsoft Moderator » Wed Sep 04, 2013 10:58 am

bad_alloc indicates that there is not enough memory to do the refinement. There is a limitation with the current Mac ACIS engine only supporting 32-bit. No matter how much memory your Mac has, it will only use 4MB. This will be resolved with the next Trelis release which will include 64-bit Mac support.
csimsoft
csimsoft Moderator
 
Posts: 236
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to Meshing

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron

Search / Mark

User Control Panel

Login

Who is online

In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 50 on Mon Feb 23, 2015 7:54 pm

Users browsing this forum: Google [Bot] and 1 guest