[Gmsh] meshing cylinder separately

Prasant K Samantaray(Tikina) prasantud at yahoo.com
Fri Dec 2 10:23:09 CET 2011


Hi I am trying to mesh a simple cylinder with its cylindrical surface, top surface and bottom surface separately.
I have attached the geometry file below. I request your help in proceeding further. because while clicking 2D mesh, it meshes all the three surfaces at a time. I want to save the mesh file of each surface separately.

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};
}


Thank you very much for this beautiful software.