# Structured Mesh in GMSH

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 27, 2010, 09:26 Structured Mesh in GMSH #1 New Member   Vitor Braga Join Date: Oct 2009 Posts: 28 Rep Power: 13 Hi, I've started to use GMSH yesterday, and I'm having problems trying to generate a structured grid. I'm following tutorial number 3, and I try to extrude the rectangle and the mesh as well, but I can't find the "Layers" option in the GUI. Can anybody help? Furthermore, how can I use GMSH command lines in windows? (sorry for the fundamental question)

 April 27, 2010, 09:30 #2 Senior Member   Cean Join Date: Feb 2010 Posts: 128 Rep Power: 13 use DOS terminal under windows

 April 27, 2010, 10:21 #3 New Member   Vitor Braga Join Date: Oct 2009 Posts: 28 Rep Power: 13 So, it's impossible to build a structured mesh using only the GUI? Thank you for your reply.

 April 27, 2010, 16:41 #4 New Member   Vitor Braga Join Date: Oct 2009 Posts: 28 Rep Power: 13 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: "Cannot extrude quadrangles without recombine" But I clearly recombined all the surfaces, so, what's wrong? Thank you. Regards, Vitor

 April 28, 2010, 08:15 #5 Senior Member   Cean Join Date: Feb 2010 Posts: 128 Rep Power: 13 Mesh for a pipe, try this turtle program. http://home.versatel.nl/bouke_1/turtle/index.html#intro