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

[Gmsh] gmsh 2.6.0 conversion to OpenFoam 160

Register Blogs Community New Posts Updated Threads Search

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

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:

Code:
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.

Regards,
Ross
rosswin is offline   Reply With Quote

Reply

Tags
cfd, gmsh, openfoam


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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
[Gmsh] GMSH to OpenFOAM file conversion error (GmshToFoam) Nikhil Bollimuntha OpenFOAM Meshing & Mesh Conversion 4 May 18, 2019 09:29
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Importing Mesh from GMsh to OpenFoam bmaldi OpenFOAM Running, Solving & CFD 1 May 4, 2016 12:57


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