<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;
color:black;}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";
color:black;}
span.moz-smiley-s3
{mso-style-name:moz-smiley-s3;}
span.E-MailFormatvorlage22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage26
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage27
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage28
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">there are still ill-defined triangles, e.g. 2319, 2320, 2321.
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You can find that out by yourself by inspecting your mesh with gmsh in the way I described in my last mail.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Remark: checking “surface faces” can help to examine the surface.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">HTH,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Steffen Becker [mailto:steffenbecker87@yahoo.de]
<br>
<b>Gesendet:</b> Montag, 17. März 2014 22:39<br>
<b>An:</b> Zenker, Dr. Matthias<br>
<b>Cc:</b> Roman Fratczak; gmsh@geuz.org<br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Matthias,<br>
<br>
thank you for your help!<br>
I think I successfully deleted all the triangles with zero surface. Unfortunately the same error still appears (but at least with much less intersections). You find my new .msh file in the appendix. Do you have more ideas?<br>
<br>
Regards,<br>
Steffen<br>
<br>
Am 17.03.2014 11:37, schrieb Zenker, Dr. Matthias:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I think you have ill-defined triangles in your mesh. For example, there is a triangle 15328 which contains the nodes 7358, 7359, and 7360. But
these nodes are aligned, so the triangle has zero surface. I would suspect this kind of problem to be the cause for the failure. I discovered that by examining your mesh after merging the intersect.pos, and by displaying node labels and surface labels in gmsh.
I saw that this triangle was not visible, just its label, and searched for “15328” in your msh file to see what nodes it contains.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You should make sure that this kind of thing cannot happen when you define the surface mesh.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">HTH,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Steffen Becker [<a href="mailto:steffenbecker87@yahoo.de">mailto:steffenbecker87@yahoo.de</a>]
<br>
<b>Gesendet:</b> Montag, 17. März 2014 11:20<br>
<b>An:</b> Zenker, Dr. Matthias<br>
<b>Cc:</b> Roman Fratczak; <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Here it is.<br>
<br>
Am 17.03.2014 11:14, schrieb Zenker, Dr. Matthias:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I found out: Outlook is wrong.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I just discovered a small info saying that Outlook thinks that my_file.msh is insecure and that it has deleted the attachment (Grrrr). So the fault
was on my side, sorry. Could you try to send it again with a changed extension, e.g. rename it to my_file.msh.txt?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Steffen Becker [<a href="mailto:steffenbecker87@yahoo.de">mailto:steffenbecker87@yahoo.de</a>]
<br>
<b>Gesendet:</b> Montag, 17. März 2014 10:55<br>
<b>An:</b> Zenker, Dr. Matthias<br>
<b>Cc:</b> Roman Fratczak; <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Matthias,<br>
<br>
I don't know what's wrong here.<br>
When I check my mails, there is a .msh file in the mail from 12.03.2014 18:21 and also one in the mail from 14.03.2014 12:33.<br>
Finally, I sent you again a .msh file in this mail. Do you receive it?<br>
<br>
Steffen<br>
<br>
<br>
Am 17.03.2014 09:52, schrieb Zenker, Dr. Matthias:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">in the mail you mention there is only a geo file…</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Steffen Becker [<a href="mailto:steffenbecker87@yahoo.de">mailto:steffenbecker87@yahoo.de</a>]
<br>
<b>Gesendet:</b> Freitag, 14. März 2014 21:09<br>
<b>An:</b> Zenker, Dr. Matthias<br>
<b>Cc:</b> Roman Fratczak; <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Matthias,<br>
<br>
hm, I sent it on 12.03.2014 18:21, don't know what went wrong.<br>
As you see, I created a ASCII .msh file as explained in the documentation, so I hope it's correct.<br>
What can I do now?<br>
<br>
Steffen<br>
<br>
Am 14.03.2014 13:05, schrieb Zenker, Dr. Matthias:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">there was no msh file in any of your mails.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Depending on what is in the msh file, your steps seem correct to me.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Steffen Becker [<a href="mailto:steffenbecker87@yahoo.de">mailto:steffenbecker87@yahoo.de</a>]
<br>
<b>Gesendet:</b> Freitag, 14. März 2014 12:33<br>
<b>An:</b> Zenker, Dr. Matthias<br>
<b>Cc:</b> Roman Fratczak; <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Matthias,<br>
<br>
I think you are talking about your mail from 12.03.2014 09:59 ?<br>
In one of my last mails I already sent you a selfcreated .msh file - but the 3D mesh still failes. The intersect.pos shows me some
<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">intersections, but when I check my nodes for duplicates I can't find any.<br>
</span>Hope my steps are correct:<br>
- create "my_file.msh" with my python script and check it for nodes duplications -> none found<br>
- open "my_file.geo" in Gmsh<br>
- do "Modules" -> "Mesh" -> "3D"<br>
- receive error message<br>
- merge "intersect.pos" and see some intersections but I don't know why because the are no duplicated nodes<br>
<br>
Steffen<br>
<br>
<br>
Am 14.03.2014 09:50, schrieb Zenker, Dr. Matthias:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">you should be able to generate a filled volume mesh if you follow my suggestion from the other mail:</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Write the 2D mesh in gmsh format (e.g. as outerface.msh, gmsh documentation for more info on the msh format) and merge that one instead of the
myfile.ply2 file, leaving the other command lines in your .geo file as they are. If you then do a 3D mesh, gmsh will take the 2D mesh as defined in your file. You can then refine the mesh if you wish.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">HTH,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Steffen Becker [<a href="mailto:steffenbecker87@yahoo.de">mailto:steffenbecker87@yahoo.de</a>]
<br>
<b>Gesendet:</b> Mittwoch, 12. März 2014 20:00<br>
<b>An:</b> Roman Fratczak<br>
<b>Cc:</b> Zenker, Dr. Matthias; <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi,<br>
<br>
I'm so sorry for all time you spent with my problem, but now I see: We talk at cross. It's my fault, I didn't explained correctly what I need.<br>
I want to receive a *filled* volume mesh.<br>
I created 2 files (steffen.stl and steffen2.stl) with my python script.<br>
With steffen.stl I successfully could create such a filled volume mesh as seen in steffen.msh.<br>
When I try exactly the same with steffen2.stl then I get the error message in the subject (and the surface mesh doesn't get filled).<br>
So that's why the .iges file you sent me isn't what I need.<br>
<br>
Sorry for all this confusion,<br>
Steffen<br>
<br>
<br>
Am 12.03.2014 18:53, schrieb Roman Fratczak:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Steffen,<br>
<br>
I did a volume based on your surface mesh - see attached IGES (compressed with 7-zip).<br>
After reading it into GMSH, you can create the 1D, then 2D and finally 3D mesh with no errors.<br>
<br>
You can do the same using GMSH volume definition (as already wrote)-> it will work, as the fundamental faces are plane triangles.<br>
<br>
Regards<br>
Roman<br>
<br>
<br>
W dniu 12.03.2014 18:27, Steffen Becker pisze:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Wrong .geo file, sorry!<br>
<br>
Am 12.03.2014 18:21, schrieb Steffen Becker:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Thank you so far,<br>
<br>
I create both files: .msh and .geo, but I still get the same error. What's my mistake?<br>
<br>
Steffen<br>
<br>
Am 12.03.2014 11:48, schrieb Roman Fratczak:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi,<br>
<br>
FYI - you can remove double vertices/edges (or repair) in mesh in FreeCad (for exampe).<br>
<br>
regards<br>
Roman<br>
<br>
<br>
<br>
W dniu 12.03.2014 10:17, Steffen Becker pisze:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi Matthias & Roman,<br>
<br>
I create a nodes- and elements-list like this:<br>
# nodes:<br>
N1 0,0,0<br>
N2 0,1,0<br>
N3 1,0,0<br>
N4 0,0,1<br>
# elements, which describe triangles:<br>
E1 1,2,3<br>
E2 2,3,4<br>
<br>
So I do have double edges (here: between node 2+3). Didn't now that this is a problem for gmsh, sorry.<br>
<br>
I will try Romans solution asap and give you a feedback.<br>
Thank you both!<br>
<br>
Steffen<br>
<br>
<br>
Am 12.03.2014 09:59, schrieb Zenker, Dr. Matthias:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Steffen,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I am not totally sure from what you wrote that there are really no duplicated nodes. In gmsh, you need to define the surfaces in a way that neighbouring
surfaces/facets with a common border use the _<i>same</i>_ nodes to define the border. I could not see from your file if there are duplicated nodes, and would propose that you make sure that there are really no such duplications.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If the meshing still fails, then this is a question for the real gurus (Christophe?).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">HTH,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Roman Fratczak [<a href="mailto:fratczakroman@o2.pl">mailto:fratczakroman@o2.pl</a>]
<br>
</span><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Gesendet:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Mittwoch, 12. März 2014 09:51<br>
<b>An:</b> Steffen Becker<br>
<b>Cc:</b> <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Error : Self intersecting surface mesh, computing intersections (this could take a while)</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Steffen,<br>
<br>
No it is more clear. If you are working with cloud of point, then you may use Meshlab for surface regeneration. There are many software that are able to handle in a resonable way the cloud of points (like rhino3D + resurf, other). But these are rather commercial.<br>
<br>
>From the other side - try to do the simplest thing:<br>
<br>
Adjust your python script for surface creation in order to save not as PLY but as GMSH "geo" file using points and lines<br>
<br>
Point(1)={0,0,0} ;<br>
Point(2)={0,1,0} ;<br>
...<br>
<br>
Line(1) = {1,2};<br>
..<br>
and.. Line Loop & Surface -> Volume ..<br>
<br>
Then you will get a volume defined by geometric entities. In this case is shoul be easier to create a better mesh on surface and then on whole volume.<br>
<br>
Regards<br>
Roman<br>
<br>
<br>
<br>
W dniu 11.03.2014 17:59, Steffen Becker pisze:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi,<br>
<br>
@ Roman:<br>
some more details:<br>
I have a point cloud given and generate the surface mesh by myself (with python). I don't know a good algorithm to create a volume mesh out of this surface mesh - that's why I use gmsh for this task.<br>
I also checked my surface mesh for double vertexes but I didn't find any. What do you mean with "double egdes"? Isn't there always a "double edge", because two neighbour facets always have one same edge?!<br>
<br>
I will send you a .step or .iges file as soon as I figured out how to handle the "No OpenCASCADE model found" error.<br>
<br>
I'm appending the other mailing history (with Matthias) to this mail - sorry for that "double mailing", I just forgot one time to "reply to all" -.-<br>
Anyone else has an idea why the meshing fails?<br>
<br>
Regards and thank you a lot,<br>
Steffen<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>Hi Steffen,<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>I don't see either why the meshing fails, sorry.<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Matthias<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>-----Ursprüngliche Nachricht-----<o:p></o:p></pre>
<pre>Von: Steffen Becker [<a href="mailto:steffenbecker87@yahoo.de">mailto:steffenbecker87@yahoo.de</a>]<o:p></o:p></pre>
<pre>Gesendet: Dienstag, 11. März 2014 14:42<o:p></o:p></pre>
<pre>An: Zenker, Dr. Matthias<o:p></o:p></pre>
<pre>Cc: <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><o:p></o:p></pre>
<pre>Betreff: Re: [Gmsh] Error : Self intersecting surface mesh, computing<o:p></o:p></pre>
<pre>intersections (this could take a while)<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Oh I'm really sorry, here is the file.<o:p></o:p></pre>
<pre>In addition I sent you also the intersect.pos. I don't understand why exactly<o:p></o:p></pre>
<pre>these surfaces are problematic and the "neighbour surfaces"<o:p></o:p></pre>
<pre>aren't - although they have the same geometry =/<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Am 11.03.2014 12:07, schrieb Zenker, Dr. Matthias:<o:p></o:p></pre>
<pre>Hi Steffen,<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>if you don't provide the myfile.ply2, we cannot see your geometry...<o:p></o:p></pre>
<pre> You can visualize intersect.pos by merging it to your geometry.<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>HTH,<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Matthias<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<p class="MsoNormal">Am 11.03.2014 14:33, schrieb Roman Fratczak:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hello,<br>
<br>
It is possible, that you will get your geometry in other format? <br>
In your "ply" there is already a surface mesh given. Try maybe use STEP, IGES,... as input- then it is easer to recalculate the surface mesh.<br>
<br>
In case of need of usage of "a dead mesh" - maybe try first to remesh it (i.e. in blender with modification Remesh) and/or clean it (removing double vertexes and edges).<br>
<br>
regards<br>
Roman<br>
<br>
<br>
<br>
<br>
W dniu 11.03.2014 12:13, Steffen Becker pisze:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi,<br>
<br>
in the appendix you find my model.<br>
Thanks for help!!<br>
<br>
Regards,<br>
Steffen<br>
<br>
Am 11.03.2014 11:47, schrieb Roman Fratczak:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hello Steffen,<br>
<br>
Yes. You can try to the first Optimize quality of tetra, or all of them (just try).<br>
<br>
I don't know how your model looks like. If the elements on the surface are too big, then the solid elements (probably tetragonal) may be with intersecting edges or faces. Therefore the reducing size of element may help (especially on the surfaces).<br>
<br>
Or- just share your model (ply) -in order to be more precise.<br>
<br>
regards<br>
Roman<br>
<br>
<br>
<br>
W dniu 10.03.2014 18:06, Steffen Becker pisze:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi Roman,<br>
when you say "enable option: optimize", you mean" Tools -> Options -> Mesh -> Advanced -> Optimize quality of tetrahedra, Optimize quality of tetrahedra with Netgen, Optimize high order meshes (experimental)" ?<br>
And why is reducing element size important? In my case it is important that the object has such "90 degree corners".<br>
<br>
Regards,<br>
Steffen<br>
<br>
Am 10.03.2014 16:55, schrieb Roman Fratczak:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi Steffen,<br>
<br>
If your volume is OK (is really a closed one) - try to:<br>
<br>
1. Reduce element size (especially in a curved shapes)<br>
2. Enable option "Optimize" - in mesh options <br>
<br>
Regards<br>
Roman<br>
<br>
<br>
<br>
W dniu 10.03.2014 16:41, Steffen Becker pisze:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello everyone, <br>
<br>
I'm a gmsh beginner and I want to create a 3D volume mesh out of a given surface-mesh but I got the error message as seen in the subject. You find my .geo file in the appendix.
<br>
Can anyone tell me what I have to do to create a 3D mesh? I even can't figure out where the intersection are located (don't know how to read the intersect.pos).
<br>
Sorry for my poor english. <br>
<br>
Regards, <br>
Steffen <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>gmsh mailing list<o:p></o:p></pre>
<pre><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><o:p></o:p></pre>
<pre><a href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>gmsh mailing list<o:p></o:p></pre>
<pre><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><o:p></o:p></pre>
<pre><a href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>gmsh mailing list<o:p></o:p></pre>
<pre><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><o:p></o:p></pre>
<pre><a href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<br>
<br>
</body>
</html>