[Gmsh] Error Remeshing STL to Generate QUADs/HEXAs

Jean-Francois Remacle jean-francois.remacle at uclouvain.be
Sun Nov 28 11:31:27 CET 2010


Le 27 nov. 2010 à 18:13, Ted Kord a écrit :

> Thanks David. The remeshing worked but there were still a few triangles/tetras. How do I convert these to quads/hexas?
> 

the new full quad algo is only available if you compile gmsh with concorde, http://www.tsp.gatech.edu/concorde/downloads/downloads.htm

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

------------------------------------------------------------------
Prof. Jean-Francois Remacle
Universite catholique de Louvain (UCL)
Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering
Institute of Mechanics, Materials and Civil Engineering (iMMC)
Center for Systems Engineering and Applied Mechanics (CESAME)
Tel : +32-10-472352 -- Mobile : +32-473-909930 

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101128/521a68cd/attachment.html>