[Gmsh] Specifying the number of elements?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Oct 1 10:13:38 CEST 2007


Cynthia Magallan Maxwell wrote:
> Hi there,
> 
> I was wondering if it is possible to specify the number of elements  
> created during a meshing process?

For structured grids (transfinite, extruded), you can specify the number 
of elements exactly by setting the number of vertices explicitly on the 
boundary.

For unstructured grids you can only specify the number of elements 
*approximately*, by using e.g. characteristic lengths at vertices, or a 
background mesh.

Ch.

> 
> Perhaps using a background mesh???
> 
> Thank you
> 
> 
> _______________________________________________
> 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