|
[Sponsors] |
November 24, 2012, 11:24 |
Blender+Engrid+Gmsh+OpenFOAM problem
|
#1 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Hi,
I am quiet new in the world of CFD and open source software. That is why I am apologizing at first if my question seems too naive. Currently I am trying to build a flow model of my own. At first I drew the geometry in Blender. Then I exported the geometry in .stl format. My blender version is 2.6. Blender version 2.6 does not allow exporting geometry in ASCII .stl format. After that I imported my geometry in engrid. I wanted to do my meshing using engrid. but for some strange reason engrid did not perform any meshing in my geometry. However, I was able to put boundary conditions to my geometry and save it in ASCII .stl format in engrid. I used Gmsh to perform meshing in the geometry. But when I tried to convert the gmsh meshes to OpenFOAM mesh using the command gmshToFoam then this error message appeared: FOAM FATAL IO ERROR: No cells read from file "Pro.msh" Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)? Perhaps you have not exported the 3D elements? Right now I am very frustrated. I am just stuck in here. I did a lot of trial and error stuff in the last week. But I could not make it work. Please suggest me something. I am attaching my files. Regards, Naruto |
|
November 27, 2012, 10:01 |
|
#2 |
Senior Member
|
Dear Abdullah,
yesterday Oliver Gloth gave a feature presentation of the coming Engrid 1.4 at the southern german come together meeting in Karlsruhe. He told me that one can export and import "engrid <-> blender" using these python scripts (that are included with the sources). If you have not done already, copy the scripts into => .blender/.../addons (I will write exact paths when I sit at my Linux workstation) Did you write about your problem on http://www.engits.eu/en/forum ? |
|
November 28, 2012, 03:24 |
|
#3 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Dear Elvis,
Thank you for your kind reply. I would check. Actually I could import my geometry in engrid in binary (Blender could not provide binary .stl) .stl format. But the problem is engrid is not performing any kind of meshing in there. But engrid has a very nice way of giving boundary conditions to a geometry. So I used engrid to give boundary conditions to my geometry and then saved it in ASCII .stl format. After that I imported that .stl file in Gmsh. Gmsh could perform meshing perfectly. Here comes the problem. When I am running the command gmshToFoam to convert the gmsh to foam mesh I am seeing error messages in my terminal. However I would check your solution. I did not post my problem in engrid forum. I am thinking of posting now. Regards, Naruto |
|
Tags |
blender, engrid, gmsh, mesh conversion, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Converting gmsh to OpenFoam | Friendly | OpenFOAM Meshing & Mesh Conversion | 3 | June 26, 2018 06:46 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
[Gmsh] problem converting mesh from gmsh | Fried | OpenFOAM Meshing & Mesh Conversion | 8 | October 18, 2011 09:53 |
CAD -> gMsh -> enGrid -> OpenFOAM Problem | AlGates | OpenFOAM | 7 | August 6, 2010 13:46 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |