|
[Sponsors] |
October 26, 2019, 20:03 |
Error converting gmsh to Openfoam
|
#1 |
New Member
Mike
Join Date: Dec 2016
Posts: 14
Rep Power: 9 |
I'm new to using gmsh, and am getting an error when trying to convert the gmsh *.msh file into openfoam format. It should be a relatively simple mesh (1st order, 2D mesh). I've attached the gmsh script in case I've made an error there. The openfoam error I'm getting is below. Anybody have any ideas what could be causing this?
Create time Starting to read mesh format at line 2 Read format version 4.1 ascii 0 Starting to read physical names at line 5 Physical names:5 Surface 1 inlet Surface 2 walls Surface 3 slipWalls Surface 4 farfield Surface 5 frontAndBack Starting to read points at line 117 Vertices to be read: 993644 Vertices read: 993644 Starting to read cells at line 1987509 Cells to be read:1632833 Unhandled element 15 at line 1987511in/on physical region ID: 0 Perhaps you created a higher order mesh? --> FOAM FATAL IO ERROR: Bad token - could not get int32 file: input at line 0. From function Foam::Istream& Foam:perator>>(Foam::Istream&, int32_t&) in file primitives/ints/int32/int32IO.C at line 85. FOAM exiting |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 25 | August 14, 2022 13:55 |
[Gmsh] Converting gmsh to OpenFoam | Friendly | OpenFOAM Meshing & Mesh Conversion | 3 | June 26, 2018 05:46 |
STL -> GMSH -> OpenFOAM | eric.m.tridas | OpenFOAM | 7 | September 7, 2011 12:06 |
[Technical] Salome + Gmsh or enGrid for OpenFOAM? | wwrfd | OpenFOAM Meshing & Mesh Conversion | 2 | July 21, 2011 10:38 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |