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

[Commercial meshers] gambit to foam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2016, 02:13
Default gambit to foam
  #1
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10
fatemehfarshi62 is on a distinguished road
Hi every one.
Would any one please please help me?
I have prepared a 3D Mesh in gambit and exported it to openfoam.
when running the command " fluent3DMeshToFoam" I see the following error"--> FOAM FATAL IO ERROR:
wrong token type - expected word, found on line 0 the label 31

file: IStringStream.sourceFile at line 0.

From function operator>>(Istream&, word&)
in file primitives/strings/word/wordIO.C at line 74.

FOAM exiting

would any one please please tell me what to do?
Thanks a lot
fatemehfarshi62 is offline   Reply With Quote

Old   March 12, 2016, 10:55
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19
Artur will become famous soon enough
Seems that for whatever reason OpenFOAM is expecting to find a word in one of the files but instead finds the number 31. My advice would be to export the mesh to ascii format and try to find the file which causes trouble by comparing to mesh files generated by blockMesh. I imagine it's probably a missing header somewhere which could be simply pasted in in most cases.

All the best,

A
Artur is offline   Reply With Quote

Old   April 7, 2016, 01:17
Default
  #3
Member
 
Akr
Join Date: Apr 2015
Location: India
Posts: 53
Rep Power: 11
NightWing is on a distinguished road
This happend with me also.
It can be resolved by saving the mesh in ASCII format during the save mesh step!!!! cheers
NightWing is offline   Reply With Quote

Old   April 7, 2016, 01:54
Default
  #4
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10
fatemehfarshi62 is on a distinguished road
Thanks and best regards
fatemehfarshi62 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
[mesh manipulation] RefineMesh Error and Foam warning jiahui_93 OpenFOAM Meshing & Mesh Conversion 4 March 3, 2018 11:32
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14:07
[Commercial meshers] gambit mesh to Foam problem AmirBaqa1987 OpenFOAM Meshing & Mesh Conversion 1 May 19, 2013 05:26
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 22:50


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