When I create mesh on the following cylinder, it creates mesh on all the surfaces including the curved surface. But, I do not want to create any mesh on the top and bottom surface.

// Gmsh project created on Sun Apr 01 14:13:42 2018

SetFactory("OpenCASCADE");

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

//creates a full circle

Line Loop(5) = {1,2,3,4};

Plane Surface(6)={5};

//creates the cylinder

Extrude {0,0,0.01} {

Surface{6};

}//+

//the curved surface

Physical Surface("side") = {7, 8, 9, 10};

Similar questions and discussions