[Gmsh] Cylinder in Gmsh
Ruth V. Sabariego
r.sabariego at ulg.ac.be
Thu Mar 27 19:40:02 CET 2008
Hi Mikhail,
You should just split the circle in 4, i.e.
Point(1) = {0,0,0,0.5};
Point(2) = {1,0,0,0.5};
Point(3) = {0,1,0,0.5};
Point(4) = {-1,0,0,0.5};
Point(5) = {0,-1,0,0.5};
Circle(1) = {2,1,3};
Circle(2) = {3,1,4};
Circle(3) = {4,1,5};
Circle(4) = {5,1,2};
Line Loop(5) = {1,2,3,4};
Plane Surface(6) = {5};
Extrude {0,0,1} {
Surface{6};
}
Regards,
Ruth
Михаил Артемьев wrote:
> Hello!
> You created wonderful programm Gmsh.
> But I can't understand how it is possible to build cylinder using function "extrude". I'm extruding surface-circle.
> I send to you my ".geo" file, which (I think) can build cylinder in Gmsh.
> But there is no right result.
> I don't know where is my error.
> Help, please.
>
> Thanks.
>
> Mikhail Artemjev, Russia, Novosibirsk State Technical University
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080327/7e4bc80e/attachment.html>