[Gmsh] Volume not meshing after adding embedded surface

Christophe Geuzaine cgeuzaine at uliege.be
Wed Nov 4 08:55:04 CET 2020

> On 4 Nov 2020, at 08:22, Fariba Rahman <fsrahman at bu.edu> wrote:
> Hi, 
> I am working on a mesh for a class project where I would like to embed a rectangular surface ("gate-contact") onto a volume ("AlGaAs Barrier Layer" = volume 5) directly below this surface. However the rectangular surface ("gate-contact") shares 2 of its edges with the volume below ("AlGaAs barrier layer").
> I am getting an error when I do a 3D mesh, where the top left surface of the volume ("AlGaAs barrier layer") adjacent to the rectangular surface ("gate-contact") being embedded is not meshing. 
> I get the following error code: "No elements in volume 5"
> Could you advise on how I can fix this to get all of volume 5 to mesh?

Your model has overlapping surfaces (blue and yellow triangles overlapping in your picture).


> Source code attached.
> Appreciate your help.
> Fariba 
> <image.png>
> <GaAs_FET1v5.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list