[Gmsh] Two models share the same interface

Christophe Geuzaine c.geuzaine at ulg.ac.be
Fri Aug 5 04:10:53 CEST 2005


Colignon David wrote:
> Hi,
> 
> the common surface between your two blocks must be explicitely defined in
> your geometry. GMSH cannot calculate the intersection (surface) between
> two volumes.
> 

Here is a simple example:

Point(1) = {0,0,0,1};
Point(2) = {1,0,0,1};
Point(3) = {1,1,0,1};
Point(4) = {0,1,0,1};
Line(1) = {1,2};
Line(2) = {2,3};
Line(3) = {3,4};
Line(4) = {4,1};
Line Loop(5) = {2,3,4,1};
Plane Surface(6) = {5};
Extrude Surface {6, {0,0,1}};
Extrude Surface {28, {0,0,1}};




-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org