[Gmsh] Stacked Extrusions

Christophe Geuzaine cag32 at case.edu
Fri Mar 17 23:01:38 CET 2006


Laird Bolt wrote:
> Hello:
> 
> I was hoping that someone could please explain the best way to stack 
> extruded surfaces.
> 
> Consider the simple example of a smaller rectangular block stacked ontop 
> of a larger
> rectangular block.
> 
> To build it I can simply draw the footprint of the larger block and 
> extrude it vertically.
> I can then draw the second (smaller block) and extrude it vertically.  
> Although the
> .pro files do not show it the intent in the future is for the blocks to 
> be dissimilar materials
> and the design far more complex whick will make extruding the complex 
> shape from the base
> very difficult.
> 
> THis simple test case draws correctly as seen in GMSH.  However when I 
> solve it using GETDP
> I find that the two blocks are not seen to be connected.
> 
> I do not find this surprising but I can not figure the correct way to 
> fuse the two surfaces. <<cube1.pro>> <<thermal.pro>>
> 

Gmsh does not have any tools to fuse or intersect curves or surfaces. In
addition, there is no way that you can connect two extruded meshes like
this, as the meshes on the surfaces will not match.

Here is a modified version of your file where the extrusions are defined
in such a way that the surface meshes will match. As you can see it's a
bit tedious... but it's the only way to do it if you really want to used
extruded meshes.

Christophe


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cube.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20060317/8ff65882/attachment.geo>