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] problems with .msh mesh (https://www.cfd-online.com/Forums/openfoam-meshing/92050-problems-msh-mesh.html)

paulovss August 31, 2011 14:45

problems with .msh mesh
 
Hello,
I'm having trouble converting a mesh. msh . In the terminal window of my case, when I type the command gmshToFoam, it appears:
-> FOAM FATAL IO ERROR:
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 03: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 09:05

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

Thanks.

-mAx- September 29, 2011 09:08

fluentMeshToFoam instead of gmshToFoam
http://www.cfd-online.com/Forums/ope...open-foam.html

paulovss September 29, 2011 22:42

it works! Thanks! ;D


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