CFD Online Logo CFD Online URL
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

gmsh 2.6.0 conversion to OpenFoam 160

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 5, 2013, 08:34
Default gmsh 2.6.0 conversion to OpenFoam 160
New Member
Join Date: Aug 2012
Posts: 16
Rep Power: 7
rosswin is on a distinguished road

I am quite new to using CFD packages and OpenFoam. I am running Ubuntu 12.10 and I have a working OpenFoam 160 and 211 and I am running waves2Foam in OpenFoam 160.

I have created a mesh in gmsh 2.6.0. It is a 3D mesh but then is converted to a 2D mesh in OpenFoam but making the front and back patches empty.

I have used the command gmshToFoam in OpenFoam 211 and it has meshed the problem on but then when I run waveFoam on it in OpenFoam 160 it doesn't work. I haven't been able to set up waveFoam to work in OpenFoam 211.

As such I have tried to use gmshToFoam in OpenFoam 160 and have gotten the following error:

Found $MeshFormat tag; assuming version 2 file format.
Starting to read physical names at line 5
Physical names:8

wrong token type - expected string found on line 0 the label 1

file: IStringStream.sourceFile at line 0.

    From function operator>>(Istream&, string&)
    in file primitives/strings/string/stringIO.C at line 57.

FOAM exiting
Please could you advise me on how to fix this?

I thought that maybe using an older version of gmsh that would be compatible with OpenFoam 160 would work, but I have been getting errors in making gmsh 2.1.x

Thank you very much for your time and effort.

rosswin is offline   Reply With Quote


cfd, gmsh, openfoam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion Fluent cas and dat file to OpenFoam matteo_gautero OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 10 October 13, 2017 20:38
Is there a 3D tutorial for gmsh and OpenFOAM? murrdpirate Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 June 27, 2011 19:13
CAD -> gMsh -> enGrid -> OpenFOAM Problem AlGates OpenFOAM 7 August 6, 2010 12:46
From gmsh to OpenFOAM samiam1000 OpenFOAM 6 October 9, 2009 05:58
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50

All times are GMT -4. The time now is 03:08.