Thanks David. The remeshing worked but there were still a few triangles/tetras. How do I convert these to quads/hexas?<div><br></div><div>Ted</div><div><br></div><div><div><br><div class="gmail_quote">On 27 November 2010 13:51, David Colignon <span dir="ltr"><<a href="mailto:David.Colignon@ulg.ac.be">David.Colignon@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;">Hi,<br>
<br>
read carefully the output:<br>
<br>
...<br>
...<div class="im"><br>
 Info    : Done creating topology from mesh (0.799456 s)<br>
 Error   : 'Offset_mesh.geo', line 9 : syntax error (Recombine)<br></div>
...<br>
...<br>
<br>
<br>
you forgot the ";" after Mesh.RemeshAlgorithm=1<br>
so you get a syntax error on the next line: Recombine...<br>
<br>
Regards,<br>
<br>
Dave<br>
<br>
--<br>
David Colignon, Ph.D.<br>
Collaborateur Logistique du F.R.S.-FNRS<br>
CÉCI - Consortium des Équipements de Calcul Intensif<br>
ACE - Applied & Computational Electromagnetics<br>
Institut Montefiore B28<br>
Université de Liège<br>
4000 Liège - BELGIQUE<br>
Tél: +32 (0)4 366 37 32<br>
Fax: +32 (0)4 366 29 10<br>
WWW:    <a href="http://hpc.montefiore.ulg.ac.be/" target="_blank">http://hpc.montefiore.ulg.ac.be/</a><br>
Agenda: <a href="http://www.google.com/calendar/embed?src=david.colignon%40gmail.com" target="_blank">http://www.google.com/calendar/embed?src=david.colignon%40gmail.com</a><div><div></div><div class="h5"><br>
<br>
On 26/11/10 23:06, Ted Kord wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
I tried used the following geo file to remesh my STL file using quads/hexas:<br>
<br>
Mesh.CharacteristicLengthFactor=0.25;<br>
Merge "mesh.stl";<br>
CreateTopology;<br>
<br>
Compound Surface(200)={1};<br>
<br>
Mesh.RemeshAlgorithm=1<br>
<br>
Recombine Surface {200};<br>
Physical Surface("newSurfaceMesh")={200};<br>
<br>
but I get this error even after adding 'Mesh.RemeshAlgorithm=1':<br>
<br>
./gmsh Offset_mesh.geo -3<br>
Info    : Running './gmsh Offset_mesh.geo -3' [1 node(s), max. 1 thread(s)]<br>
Info    : Started on Fri Nov 26 21:53:02 2010<br>
Info    : Reading 'Offset_mesh.geo'...<br>
Info    : Reading 'mesh.stl'...<br>
Info    : 68764 facets in solid 0<br>
Info    : Done reading 'mesh.stl'<br>
Info    : Creating topology from mesh...<br>
Info    : Removing duplicate mesh vertices...<br>
Info    : No duplicate vertices found<br>
Info    : Done creating topology from mesh (0.799456 s)<br>
Error   : 'Offset_mesh.geo', line 9 : syntax error (Recombine)<br>
Info    : Done reading 'Offset_mesh.geo'<br>
Info    : Meshing 1D...<br>
Info    : Done meshing 1D (0 s)<br>
Info    : Meshing 2D...<br>
Info    : Meshing surface 200 (Compound surface, MeshAdapt)<br>
Warning : Wrong topology: Genus=1, Nb boundaries=0, AR=1<br>
Error   : For remeshing your geometry, you should enable the automatic remeshing algorithm.<br>
Error   : Add 'Mesh.RemeshAlgorithm=1;' in your geo file or through the Fltk window<br>
<br>
<br>
Ted<br>
<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">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>
</blockquote>
<br>
</blockquote></div><br></div></div>