|
[Sponsors] |
[Gmsh] gmshToFoam telling me I didn't export 3D elements... |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 8, 2016, 21:22 |
gmshToFoam telling me I didn't export 3D elements...
|
#1 |
New Member
Peter
Join Date: Sep 2016
Posts: 13
Rep Power: 10 |
Hi!
I'm trying to use gmshToFoam to convert a mesh. I get an error, and I don't know what it means. Does it mean I need to have volumes, not just surfaces? Does it mean the meshing didn't work out? Or something else? I can attach something else if I need too. Thanks! Here's an image of the mesh: Mesh Here's the entire output of the command: Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Starting to read mesh format at line 2 Read format version 2.2 ascii 0 Starting to read physical names at line 5 Physical names:4 Surface 1 front Surface 2 back Surface 3 freestream Surface 4 rotor Starting to read points at line 12 Vertices to be read:40 Vertices read:40 Starting to read cells at line 55 Cells to be read:72 Mapping region 4 to Foam patch 0 Mapping region 3 to Foam patch 1 Mapping region 2 to Foam patch 2 Mapping region 1 to Foam patch 3 Cells: total:0 hex :0 prism:0 pyr :0 tet :0 --> FOAM FATAL IO ERROR: No cells read from file "mesh.msh" Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)? Perhaps you have not exported the 3D elements? file: mesh.msh at line 129. From function void readCells(const scalar, const bool, const pointField &, const Map<label> &, Foam::IFstream &, cellShapeList &, labelList &, List<DynamicList<Foam::face> > &, labelList &, List<DynamicList<label> > &) in file gmshToFoam.C at line 726. FOAM exiting |
|
November 9, 2016, 16:53 |
|
#2 |
Senior Member
|
Hi,
http://www.cfd-online.com/Forums/ope...mshtofoam.html Basically to have cells in a mesh you have to define physical volume. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hexahedral elements created from pyformex for abaqus/cfd | zxw2006063 | Mesh Generation & Pre-Processing | 3 | December 5, 2016 16:49 |
[Gmsh] Vertex numbering is dense | KateEisenhower | OpenFOAM Meshing & Mesh Conversion | 7 | August 3, 2015 11:49 |
[ICEM] How to improve bad quality elements that are obtained after creating prism layers? | Rohith Giridhar | ANSYS Meshing & Geometry | 2 | July 11, 2015 19:04 |
[GAMBIT] Export to FLUENT | tsero | ANSYS Meshing & Geometry | 2 | September 28, 2011 02:39 |
[Gmsh] Modified gmshToFoam to help import hexahedral and prism elements from Gmsh | adorean | OpenFOAM Meshing & Mesh Conversion | 1 | April 18, 2005 09:19 |