[Gmsh] Plot3D mesh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Aug 23 08:50:10 CEST 2010


On 20/05/10 15:44, Vitor M. Braga wrote:
> Hi,
>
> I'm trying to generate a plot3d mesh using GMSH, but everytime I export
> my mesh to .p3d and open it to check, it seems like its volume is not
> meshed. What can be wrong?
>

cf. my previous mail: only transfinite meshes are saved in .p3d files:

Point(1) = {0, 0, 0};
Point(2) = {4, 0, 0};
Point(3) = {4, 4, 0};
Point(4) = {0, 4, 0};
Line(1) = {4, 3};
Line(2) = {3, 2};
Line(3) = {2, 1};
Line(4) = {1, 4};
Line Loop(6) = {1, 2, 3, 4};
Plane Surface(6) = {6};
Extrude {0,0,20} { Surface{6}; }
Transfinite Line "*" = 11 Using Progression 1;
Transfinite Surface "*";
Recombine Surface "*";
Transfinite Volume{1};



> This is my geometry:
>
> Point(1) = {0, 0, 0, 1e+022};
>
> Point(2) = {4, 0, 0, 1e+022};
>
> Point(3) = {4, 4, 0, 1e+022};
>
> Point(4) = {0, 4, 0, 1e+022};
>
> Line(1) = {4, 3};
>
> Line(2) = {3, 2};
>
> Line(3) = {2, 1};
>
> Line(4) = {1, 4};
>
> Line Loop(6) = {1, 2, 3, 4};
>
> Plane Surface(6) = {6};
>
> Transfinite Line{1, 2, 3, 4} = 11 Using Progression 1;
>
> Extrude {0,0,20} { Surface{6}; Layers{50};Recombine; }
>
> Transfinite Surface{28,27,23,19,15,6};
>
> Transfinite Volume{1} = {5,6,10,14,4,3,2,1};
>
> Recombine Surface {28,27,23,19,15,6};
>
>
>
> Thank you,
>
>
> BR,
> Vitor de Melo Braga
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> 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