|
[Sponsors] |
August 31, 2011, 14:45 |
problems with .msh mesh
|
#1 |
New Member
Paulo Victor Soares e Silva
Join Date: Aug 2011
Posts: 7
Rep Power: 15 |
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. |
|
September 1, 2011, 03:15 |
|
#2 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Are you sure that your mesh file comes from Gmesh?
Because Gambit can also generate *.msh files, and in this case you need
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
September 29, 2011, 09:05 |
|
#3 |
New Member
Paulo Victor Soares e Silva
Join Date: Aug 2011
Posts: 7
Rep Power: 15 |
I made this mesh on Gambit. Do I need do something diferent to export it to OpenFoam ?
Thanks. |
|
September 29, 2011, 09:08 |
|
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
fluentMeshToFoam instead of gmshToFoam
http://www.cfd-online.com/Forums/ope...open-foam.html
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
September 29, 2011, 22:42 |
|
#5 |
New Member
Paulo Victor Soares e Silva
Join Date: Aug 2011
Posts: 7
Rep Power: 15 |
it works! Thanks! ;D
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[ANSYS Meshing] First layter thickness on mesh causing problems | Rik102 | ANSYS Meshing & Geometry | 0 | November 4, 2016 10:51 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
[Commercial meshers] Problems with ANSYS mesh conversion | tdog | OpenFOAM Meshing & Mesh Conversion | 1 | March 31, 2016 18:36 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |