[Gmsh] Problem with 3-D meshing cube with holes

David Colignon David.Colignon at ulg.ac.be
Thu Sep 23 10:41:47 CEST 2010


Hi Laurent,

I got it : some lines of your cube are defined twice (Line 17 from point 7 to 3 and line 24 from point 3 to 7).
Just add

Coherence;

at the end of your .geo file, and then define the volume with the GUI, it will work.

Regards,

Dave


-- 
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com


On 22/09/10 19:39, Laurent Mahéo wrote:
> Hello Gmsh users,
>
> I am trying to mesh a cube with holes (spheres) and I have some problems.
> - When the sphere is completely inside the cube, there is no problem.
> - When a part of the sphere is located in a face of the cube, I build the new
> outside geometry and it works.
> - But when a part of the sphere is located in a edge of the cube, I build the
> new outside geometry and it does not work.
> The Gmsh software gives me :
> terminate called after throwing an instance of 'std::bad_alloc'
>    what():  std::bad_alloc
> Abandon
>
> I do not manage to see where the problem is. If you have some suggestions ...
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh