Hi Abhishek, For creating the volume around the cylinders, you must use the surface loops of the created cylinders and not the volumes themselves. I've corrected your files for that.
Besides when combining extruded volumes with non-extruded ones, you should use the Frontal algorithm, by e.g. adding in your geo file: Mesh.Algorithm3D=4; Any other possible algorithm in Gmsh is still experimental, but you can try ;-) Ruth
ex.geo
Description: Binary data
-- Dr. Ir. Ruth V. Sabariego University of Liege, Electrical Engineering & Computer Science, Applied & Computational Electromagnetics (ACE), phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/ On 22 Aug 2012, at 10:24, [email protected] wrote: > Hello GMSH users, > > I am new to GMSH, I am trying to create a small cylindrical object > inside a cube. I create the cylinder using Extrude command and a cube outside > it. When I tried to mesh this geometry, I cylindrical objects are mesh > properly inside but it only creates the surface mesh on the cube. > > I think the problem is I am not able to define a volume of cube excluding > the cylinder. I looked at the examples (older posts) / tutorials, where the > surface after the extrusion command is defined. I am unable to understand how > these numbers for the different surfaces are defined. > > Please have a look at the attached file, where I am trying to create two > cylinders inside a cube. It will be nice if someone can explain how to get > the correct mesh (numbering scheme after extrude command). > > > Thanks, > > Best Regards, > > Abhishek > > <ex.geo>_______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
