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

[Commercial meshers] problems with .msh mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2011, 14:45
Default problems with .msh mesh
  #1
New Member
 
Paulo Victor Soares e Silva
Join Date: Aug 2011
Posts: 7
Rep Power: 15
paulovss is on a distinguished road
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.
paulovss is offline   Reply With Quote

Old   September 1, 2011, 03:15
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   September 29, 2011, 09:05
Default
  #3
New Member
 
Paulo Victor Soares e Silva
Join Date: Aug 2011
Posts: 7
Rep Power: 15
paulovss is on a distinguished road
I made this mesh on Gambit. Do I need do something diferent to export it to OpenFoam ?

Thanks.
paulovss is offline   Reply With Quote

Old   September 29, 2011, 09:08
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
fluentMeshToFoam instead of gmshToFoam
http://www.cfd-online.com/Forums/ope...open-foam.html
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 29, 2011, 22:42
Default
  #5
New Member
 
Paulo Victor Soares e Silva
Join Date: Aug 2011
Posts: 7
Rep Power: 15
paulovss is on a distinguished road
it works! Thanks! ;D
paulovss is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 03:32.