CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (
-   -   problems with .msh mesh (

paulovss August 31, 2011 13:45

problems with .msh mesh
I'm having trouble converting a mesh. msh . In the terminal window of my case, when I type the command gmshToFoam, it appears:
wrong token type - expected word found on line 0 the punctuation token '('

file: IStringStream.sourceFile at line 0.

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

FOAM exiting

what it means and how can I solve this problem? I am new to OpenFoam. Thank you.

-mAx- September 1, 2011 02:15

Are you sure that your mesh file comes from Gmesh?
Because Gambit can also generate *.msh files, and in this case you need

paulovss September 29, 2011 08:05

I made this mesh on Gambit. Do I need do something diferent to export it to OpenFoam ?


-mAx- September 29, 2011 08:08

fluentMeshToFoam instead of gmshToFoam

paulovss September 29, 2011 21:42

it works! Thanks! ;D

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