[Gmsh] Generating mixed element mesh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Jul 9 07:21:02 CEST 2013


On 11 Jun 2013, at 14:15, Kópházi József <j.kophazi at imperial.ac.uk> wrote:

> Dear list members,
> 
> I'm trying to produce a 3D mesh consisting two regions: a region with unstructured tetrahedral mesh and an attached region with structured hexahedral mesh. Obviously, the unstrucutred part needs to include some pyramid elements to facilitate the connection. By using google I realized that the stable release doesn't support this, but according to Christophe Geuzaine answer for an earlier question (https://groups.google.com/forum/?fromgroups#!topic/gmsh-public/mUYykAaFGp4) that the svn version contains an experimental support for this. However, using this, I receive the following error message for every face elements interconnecting the two domains:
> 
> Error   : Cannot build pyramids on non manifold faces
> 
> In order to trace up the problem, I decided to build an extremely simplified model containing two boxes (attached file), but this yields the same error messages and I can not find the error in the geometry.
> 

On non-manifold faces currently your only option is to create the pyramids "inside" the structured mesh, using Trevor's QuadTri feature.

Here's an example:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_pyramid.geo
Type: application/octet-stream
Size: 6397 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130709/ee2a3eb4/attachment.geo>
-------------- next part --------------

> What am I doing wrong?
> 
> Thank you for your help in advance,
> 
> Jozsef
> 
> 
> 
> <twoboxmixed3d.geo>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine