CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Error converting gmsh to Openfoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 26, 2019, 20:03
Default Error converting gmsh to Openfoam
  #1
New Member
 
Mike
Join Date: Dec 2016
Posts: 14
Rep Power: 9
MikeC is on a distinguished road
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
Attached Files
File Type: txt coanda.txt (2.1 KB, 4 views)
MikeC is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 06:00.