2011/12/2 Prasant K Samantaray(Tikina) <[email protected]>: > 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}; > }
Hello. An easy way is to have three separate copies of the .geo file and in each declare just one of the surfaces a Physical Surface. To avoid duplication, you may Include the common code from a fourth separate file. _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
