CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Structured Mesh in GMSH (http://www.cfd-online.com/Forums/main/75482-structured-mesh-gmsh.html)

vitor April 27, 2010 09:26

Structured Mesh in GMSH
 
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)

shirazbj April 27, 2010 09:30

use DOS terminal under windows

vitor April 27, 2010 10:21

So, it's impossible to build a structured mesh using only the GUI?

Thank you for your reply.

vitor April 27, 2010 16:41

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

shirazbj April 28, 2010 08:15

Mesh for a pipe, try this turtle program.

http://home.versatel.nl/bouke_1/turtle/index.html#intro


All times are GMT -4. The time now is 14:39.