On 12 Feb 2014, at 10:19, Philippe Ackerer <[email protected]> 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
> [email protected]
> 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




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

Reply via email to