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
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh


_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to