<div>Oh....Thanks for your input....<br></div><div>i thought i read all options in the manual, but clearly i did not.</div><div><br></div><div>"Geometry.OCCSewFaces=1" worked partially..... </div><div>in some other tests, i still have duplicated nodes..</div>
<div><br></div><div>my question now is that how to use "Coherence Mesh"</div><div><br></div><div>i now know "Coherence" only works for generic .geo file.</div><div><br></div><div>once i generate mesh, though, if i have duplicate nodes, i should be able to clear it with "Coherence Mesh" command.</div>
<div><br></div><div>Could you please make some comments on it?</div><div><br></div><div>how about all gmsh experts here? </div><div>is there someone who has some experience on the issue?</div><div><br></div><div>as always thank YOU very much well in advance.</div>
<br><br><div class="gmail_quote">On Fri, Feb 17, 2012 at 12:31 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be">cgeuzaine@ulg.ac.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
<br>
"Coherence" only applies to native .geo models. Geometry.OCCSewFaces seems to repair your open cascade model:<br>
<br>
=====<br>
Mesh.CharacteristicLengthFactor=0.25;<br>
Mesh.Algorithm=1; // 2D mesh algorithm (1) MeshAdapt (default)(5) Delaunay (6) Frontal<br>
Mesh.ElementOrder=1; // 1=linear elements, N (<6) = elements of higher order<br>
Geometry.OCCSewFaces = 1;<br>
<br>
Merge "Volume1.STEP";<br>
=====<br>
<div><div class="h5"><br>
<br>
<br>
On 16 Feb 2012, at 23:54, Sangpil Yoon wrote:<br>
<br>
> Dear Gmsh experts;<br>
><br>
><br>
> previous post was a kind of general question....<br>
><br>
> here i attached a .STEP and .geo file<br>
><br>
> i did the following in command line<br>
><br>
><br>
> > gmsh test.geo -2 -format msh -o test.msh<br>
><br>
><br>
> the geometry is pretty simple; a cylinder shape on one side of a box.<br>
><br>
> you will see duplicate nodes are there.....because there ARE duplicate lines and points.<br>
><br>
> did I do something wrong in using .geo file?<br>
><br>
> Or, do i need to do something before exporting .STEP file?<br>
><br>
><br>
> any comments are welcome.<br>
><br>
><br>
> NOTE: If i do the same thing in the following manner, no duplicate nodes are found.<br>
><br>
> 1. read .STEP file<br>
> 2. save it as .geo file<br>
> 3. add one line 'Coherence' at the end of .geo file<br>
> 4. do mesh<br>
><br>
> i strongly believe I am not properly using .geo file or command.....<br>
><br>
</div></div>> <test.zip>_______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
> <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
<br>
<br>
</font></span></blockquote></div><br>