CAD -> gMsh -> enGrid -> OpenFOAM Problem
After searching and trying for quite a while, I decided to post my problem here, maybe someone has an idea.
I am using gMsh and enGrid for Windows (XP) and OpenFOAM under Ubuntu 9.04. Tried to compile the other 2 on my ubuntu system, but then I always get a QT-4.5.0 Version and the paraFoam command doesn't work anymore, so I prefer to keep my 4.3.4 QT Version and not to use the other 2 softwares on linux.
However... I am quite new to this software and try to do the first calculations in OpenFOAM using my own geometry. I tried it with 2 cylinders being connected on one surface.
The first thing was to design it under a CAD program, import the step file in gMsh, make a 2D mesh, export it as gmesh 2.0 (tried VTK as well...), import it to enGrid and export it as OpenFOAM file-bundle.
The problem is that enGrid nearly always has a problem with the gmsh-mesh and cannot create the 3D mesh, because of some missing or overlapping triangles.
I also tried to create the part in gMsh and to mesh it there. Lead to the same problem.
Here my geo-file of gmsh. Maybe someone has an idea, why this cannot be exported to be used with enGrid.
this is not the right place to find help for an (only) enGrid related problem... ;) Try it here:
enGrid discussion board: http://22.214.171.124/phpBB3/
Thanks so far, although this is more a gmsh related problem, because the "gmsh-meshes" are not correctly generated. ;-)
There is a gmsh binary that you can install on your Linux
also there is a binary engrid (.deb) that you can install
I have both installed on my debian Linux and they run ok
Sorry to disagree with your post, cfd Online is the right home for any fluid mechanics and CFD questions.
I really hope to see engrid forum here
This weekend, I copied your geometry file to gmsh, produced a surface mesh and saved it, using the standard msh format,
reading the file into engrid was straigtforward, using v2, but the quality is really nasty, engrid reader, reads the correct number of nodes but not the elements and the result is nothing similar to the original. This is really annoying, anyway, the best you can do is to be patient and wait till engrid has its own surface mesher/geometry creator modules.
It has always been a problem even using commercial programmes, to read files produced by a certain programme into another programme
It is now that I realize that both programmes have no facilities to produce screen dumps, thus you cannot produce image files to show to others or attach them to posts and reports. pitty
thanks for checking this problem. In the meantime I gave it up as well and used blockMeshDict to set the necessary points and define everything myself. Took some time, but at least it works now.
Thanks for your help!
maybe you found a better way now, but my fellow student and I are working on a problem as you. First CAD -> Gmsh -> enGrid and then OpenFOAM. We got the same problems as you.
Then we tried with netgen instead of Gmsh. After surface meshing with netgen, adjust the 'export filtype' in 'gmsh format' (after that save the part with the ending '.msh'). Then import the file as a gmsh -> v1.0 (ASCII). Then it should work.
There is a nice tutorial of enGrid. You can get it on the enGrid side.
Hehe... about 8 months earlier it could have helped. ;-)
But nice, that there is a working solution for this problem.
Thank you for your time.
|All times are GMT -4. The time now is 00:34.|