CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Making Geometry in Gmsh (

rahulsng January 12, 2012 08:12

Making Geometry in Gmsh
Hello friends,

I am having problem making a simple geometry in Gmsh. I am trying to make a cylinder with a bulge. The bulge part of the cylinder is based on a 2D equation. The cylinder part is Ok but i am not able to draw the bulged part of the cylinder in Gmsh. I tried to import the Iges file from solidworks and save it as .geo file but the saved .geo has a lot of splines in it. I was thinking is there a simpler way to draw this geometry directly into Gmsh.

Thanks a lot for any help!

seboxx January 14, 2012 07:05

Hello Rahul,

I have tried meshing similiar geometries in Gmsh as well. It turned out that especially the link to OF to get a proper mesh is quite tricky.
So I started using blockMesh.
I am quite happy with the way blockMesh works, the only minus is, you can't "draw" your mesh.

Cylinder and Bulge should be easy to realise in blockMesh using arcs and splines...

Just wanted to give u a recommendation ;)



All times are GMT -4. The time now is 21:36.