# [Gmsh] RE : Structured Mesh in GMSH

Hoessler, Julien julien.hoessler06 at imperial.ac.uk
Wed Apr 28 11:18:24 CEST 2010

```Hi Vitor,
You just need to add recombine in the extrusion line:
Extrude {0,0,20} { Surface{6}; Layers{50};Recombine; }
regards
Julien
________________________________________
De : gmsh-bounces at ace20.montefiore.ulg.ac.be [gmsh-bounces at ace20.montefiore.ulg.ac.be] de la part de Vitor M. Braga [vitorbraga at polo.ufsc.br]
Date d'envoi : mardi 27 avril 2010 21:58
À : gmsh at geuz.org
Objet : [Gmsh] Structured Mesh in GMSH

Dear friends,

Here is the problem, I'm trying to generate a mesh for a pipe:

Point(1) = {0, 0, 0, 1e+022};
Point(2) = {3, 0, 0, 1e+022};
Point(3) = {-3, 0, 0, 1e+022};
Point(4) = {0, -3, 0, 1e+022};
Point(5) = {0, 3, 0, 1e+022};
Circle(1) = {5, 1, 2};

Circle(2) = {2, 1, 4};
Circle(3) = {4, 1, 3};
Circle(4) = {3, 1, 5};
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}; }
Transfinite Surface{28,27,23,19,15,6};
Recombine Surface {28,27,23,19,15,6};

I generate 1D and 2D meshes succesfully, but when I click 3D the
software crashes and shows:

But I clearly recombined all the surfaces, so, what's wrong?

Thank you.

Regards,

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

```