CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

gmshToFoam issue

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 12, 2011, 08:59
Default gmshToFoam issue
  #1
New Member
 
Tom
Join Date: Apr 2011
Posts: 3
Rep Power: 6
tomhebunn is on a distinguished road
I'm faily new to OpenFOAM and have been trying to convert a meshed part done in gmsh to OpenFOAM. i've followed steps found here but am getting the following error:

>gmshToFoam . blade-mesh.msh

Usage: gmshToFoam <.msh file> [-keepOrientation] [-case dir] [-help] [-doc] [-srcDoc]



--> FOAM FATAL ERROR:
Wrong number of arguments, expected 1 found 2


I'm sure I've missed something but not sure what. Any help would be appreciated.
tomhebunn is offline   Reply With Quote

Old   April 13, 2011, 13:24
Default
  #2
New Member
 
GregorS's Avatar
 
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 6
GregorS is on a distinguished road
Try with:
gmshToFoam ./blade-mesh.msh
GregorS is offline   Reply With Quote

Old   April 14, 2011, 09:06
Default
  #3
New Member
 
Tom
Join Date: Apr 2011
Posts: 3
Rep Power: 6
tomhebunn is on a distinguished road
Thanks. That appears to have sorted it out.

All the best.
tomhebunn is offline   Reply With Quote

Old   April 16, 2011, 08:08
Default .
  #4
New Member
 
Adam Kosik
Join Date: Mar 2011
Posts: 1
Rep Power: 0
AdamK is on a distinguished road
Try just:

>gmshToFoam blade-mesh.msh

without the "."
AdamK is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gmshToFoam undefined faces benconnell Open Source Meshers: Gmsh, Netgen, CGNS, ... 19 April 22, 2015 08:23
GmshToFoam FOAM FATAL ERROR faces deallocated Tobias Prousa (Prousa) Open Source Meshers: Gmsh, Netgen, CGNS, ... 14 January 31, 2012 11:45
gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi Open Source Meshers: Gmsh, Netgen, CGNS, ... 8 July 7, 2011 02:28
gmshToFoam problem. nilashansen Open Source Meshers: Gmsh, Netgen, CGNS, ... 5 December 28, 2009 13:41
Memory issue - Suse 10 - Opterons Andy R FLUENT 1 June 23, 2008 14:44


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