[Gmsh] 3D Mesh Trouble
Zenker, Dr. Matthias
Matthias.Zenker at erbe-med.com
Tue Jan 24 09:06:35 CET 2012
Hello again,
if your question was how you can repair your geometry manually within gmsh:
You have to define the outer face of the big prism as being two surfaces: the first one is the big surface with the small one as hole (you get this possibility after the outer line loop is closed). The second face is the small one.
HTH,
Matthias
________________________________
Von: Zenker, Dr. Matthias
Gesendet: Dienstag, 24. Januar 2012 09:01
An: 'jume5347 at uni.sydney.edu.au'; gmsh at geuz.org
Betreff: AW: [Gmsh] 3D Mesh Trouble
Hello Jack,
this is a known problem, without a complete solution yet. I am working on a solution which is not yet mature, and will still take some time before it will be usable for everyone. I will share it when it is ready - at the moment, I am busy with other projects.
There is also a partial solution implemented in gmsh, which might work for your geometry:
Open Tools->Options->Geometry, and check "Cut and merge faces" in the General tab. Then reload your geometry file. If everything went well, the overlapping surfaces are resolved, and you should get a 3D mesh without errors. If not - well, in your case, you can also resolve the duplicate surface by hand. In case of more complicated geometries, the "Cut and merge faces" will fail, and manual repair becomes more difficult, if not impossible.
HTH,
Matthias
________________________________
Von: jume5347 at uni.sydney.edu.au [mailto:jume5347 at uni.sydney.edu.au]
Gesendet: Dienstag, 24. Januar 2012 05:48
An: gmsh at geuz.org
Betreff: [Gmsh] 3D Mesh Trouble
Dear Gmsh team,
I will try to keep this as concise and descriptive as possible. I am quite new to this meshing software.
My problem is this: I am trying to build a 3D mesh in gmsh script files (.geo). When I try to generate the 3D mesh I receive an error that informs me that I have intersecting surfaces. I understand where the intersecting surfaces are and why gmsh is complaining; this is not the problem. The problem is, I don't see how I can avoid having intersecting surfaces to achieve the geometry that I need.
I have attached a screen shot of the geometry: I hope you can see that it is simply a rectangular prism, with a smaller rectangular prism extending outwards from one of the sides.
Obviously, the two rectangular prisms have an intersecting surface, but this seems unavoidable? Is there no way to create a mesh for the entire volume as a whole?
If it is any help: I need to have two separate physical volume groups so that I can assign each different material properties. I just don't see how I can create the two distinct volumes that I need without a common intersecting edge?
I hope my problem is clear. Any help would be appreciated.
Thank you,
Jack
_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120124/0af3a47e/attachment.html>