[Gmsh] meshing multiple objects

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sat Jan 10 09:12:27 CET 2009


...

>>
>> I'm not sure I understand. Gmsh has always supported meshes which are 
>> conformal to all material boundaries in the model. The geometry must 
>> simply contain one volume per material... Look e.g. at the first 3D 
>> tutorial "tutorial/t2.geo": the model contains 2 volumes, to which you 
>> can assign separate material properties.
>>
> Hi Christophe,
> That is exactly what I want. But how about the attached 
> geometry(2boxes.geo)? It consists of 2 boxes, one big and the other 
> small, the small one is just on the top of the big one. I notice that 
> there are 12 surfaces and that's different from t2.geo where there are 
> 11 surfaces. That's my problem.
> 

The common surface (62) needs to be explicitly defined (as a "hole" in 
surface 61): cf. attached file.


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 2boxes_ok.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090110/cbba06e2/attachment.geo>