CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] gambit to foam (https://www.cfd-online.com/Forums/openfoam-meshing/166644-gambit-foam.html)

fatemehfarshi62 February 14, 2016 02:13

gambit to foam
 
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

Artur March 12, 2016 10:55

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

NightWing April 7, 2016 01:17

This happend with me also.
It can be resolved by saving the mesh in ASCII format during the save mesh step!!!! cheers

fatemehfarshi62 April 7, 2016 01:54

Thanks and best regards


All times are GMT -4. The time now is 23:18.