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

[Gmsh] gmshToFoam issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2011, 09:59
Default gmshToFoam issue
  #1
New Member
 
Tom
Join Date: Apr 2011
Posts: 3
Rep Power: 15
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, 14:24
Default
  #2
New Member
 
GregorS's Avatar
 
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 16
GregorS is on a distinguished road
Try with:
gmshToFoam ./blade-mesh.msh
GregorS is offline   Reply With Quote

Old   April 14, 2011, 10:06
Default
  #3
New Member
 
Tom
Join Date: Apr 2011
Posts: 3
Rep Power: 15
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, 09: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


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
CAMWA special issue on open-source numerical solver feixu2019 OpenFOAM Announcements from Other Sources 0 October 1, 2018 12:21
CAMWA special issue on open-source numerical solver feixu2019 SU2 News & Announcements 0 October 1, 2018 12:19
[Gmsh] gmshToFoam problem. nilashansen OpenFOAM Meshing & Mesh Conversion 11 June 5, 2016 11:45
[Gmsh] gmshToFoam command mvinassa OpenFOAM Meshing & Mesh Conversion 1 April 25, 2014 08:36
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 09:27


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