[Gmsh] How to set number of elements per line

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jun 18 22:33:08 CEST 2014


On 07 Jun 2014, at 18:05, Majid Ahmadi <m.ahmaditehrani at yahoo.com> wrote:

> Hi
> Is there any way to force Gmsh to generate specific number of element at each line?
> I want to generate a 2D mesh and it's necessary for me to control this factor.

Set the characteristic length ; or use a "Transfinite" contraint. All of this is explained in the tutorials.



> thanks
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine