Have you tried to use a structured mesh?

Transfinite Line(yourlines)= numberofwisheddivisions;
Transfinite Surface '*';

That would definitely work for plane surfaces.

If you are not using a transfinite mesh, gmsh will sometimes divide some elements while keeping the size of the elements as close as possible to the characteristic length.

Regards,
Ruth


Knell, Sascha wrote:

Hi,

 

I intend to use gmsh in batch mode to mesh polygonal plane surfaces whereas nodes of the final mesh may only lie on predefined, equally spaced spots on the straight edges of the surface. The distance of these spots may not differ by more than factor two on the different edges of the surface. I tried to realize this by constructing an edges from several aligned lines and setting the minimum / maximum characteristic length to the minimum / maximum desired node distance. Regrettably, some of the longer lines exhibited additional nodes after meshing. I guess that I have misinterpreted the meaning of the characteristic length.

 

Triangle, by Jonathan Richard Shewchuk, has an option to prevent the generation of additional nodes on line segments. Is there a way achieving the same in gmsh? I would prefer to use gmesh, since eyeball comparison indicates that gmsh produces meshes of better quality.

 

Thanks in advance.

 

Best regards,

 

Sascha Knell


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


-- 
Dr. Ir. Ruth V. Sabariego
University of Liege, Institut Montefiore,
Dept. of Electrical Engineering & Computer Science, 
Applied & Computational Electromagnetics (ACE),
Sart Tilman Campus, Grande Traverse, 10 (B28), B-4000 LIEGE, Belgium
phone: +32-4-3663737 -- fax: +32-4-3662910 -- http://elap.montefiore.ulg.ac.be/



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

Reply via email to