CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   ANSYS GMSH OpenFOAM (http://www.cfd-online.com/Forums/openfoam-meshing-open/61885-ansys-gmsh-openfoam.html)

gtg627e October 16, 2007 23:51

Dear Forum, I am trying to
 
Dear Forum,

I am trying to mesh a box with a spherical cavity to model the flow around a sphere in OpenFOAM. I can easily produce my mesh in ANSYS and export it in .iges format. When I import the .iges in gmsh I only get outline. I understand gmsh is not set up to read CAD models. So I can use the outline of my domain and remesh in gmsh. My question is:

is this procedure still valid?

http://openfoamwiki.net/index.php/Howto_importing_fluent_mesh_with_internal_wall s

Does anybody know of an easier way to produce a mesh for a box with a spherical cavity on the inside?

Thank you again,

Alessandro

gtg627e October 16, 2007 23:58

Dear Forum, I also wanted t
 
Dear Forum,

I also wanted to ask if it is possible to produce an OpenFoam mesh given a text file with node locations and their connectivity.

As far as the previous message, has anybody worked on such problem? Could you suggest any easy way to create a patch for the inside cavity (a sphere in my case)?

Thank you for you help,

Alessandro

mattijs October 17, 2007 03:18

If your points are the points
 
If your points are the points of a block structured mesh have a look at the plot3DToFoam sources ($FOAM_UTILITIES/mesh/conversion). The plot3D format is (usually) a single block structured mesh and gives only the coordinates in some i,j,k format.

gero December 21, 2007 04:41

Hello Alessandro Spadoni, >
 
Hello Alessandro Spadoni,

> Does anybody know of an easier way to produce a mesh for a box with a spherical cavity on the inside?

Maybe the fifth tutorial "t5.geo"
http://www.geuz.org/gmsh/doc/texinfo/gmsh_8.html#SEC51 in the gmsh reference manual http://www.geuz.org/gmsh/doc/texinfo/gmsh.html can help you?

It does not seem to be a big problem with gmsh.

Regards, Gero.


All times are GMT -4. The time now is 09:07.