[Gmsh] Identification numbers

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Feb 12 16:52:55 CET 2014


On 12 Feb 2014, at 10:19, Philippe Ackerer <ackerer at unistra.fr> wrote:

> Hi,
> I want to mesh a cylinder (see attached file) and need the identity numbers of the bottom, top and sides (will be used to define boundary conditions).
> Can you explain the numbering that appears in out[]  (see attached file) ??

Hi Philippe - here we go:

out[]=Extrude {0,0,h} {Surface{22}; Layers{ {3,5,3}, {0.20,0.80,1.00} };Recombine; };
Printf(" Top surface=%g", out[0]);
Printf(" New volume=%g", out[1]);
Printf(" Lateral surface=%g", out[2]);
Printf(" Lateral surface=%g", out[3]);
Printf(" Lateral surface=%g", out[4]);



> Thanks
> Best regards and congratulations for Gmsh,
> Philippe
> 
> -- 
> --------------------------------------------------------------
> Philippe ACKERER
> LHyGeS UMR 7517 UdS-CNRS-Engees
> 1, rue Blessig
> 67000 STRASBOURG
> tel +33 (0)368 850 561
> -------------------------------------------------------------
> 
> <col.geo>_______________________________________________
> 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