|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
aban
Join Date: Apr 2012
Posts: 15
Rep Power: 15 ![]() |
i was trying to run icofoam/elbow tutorial.
here i tried the fluentMeshToFoam command. then i get the following message johns@ubuntu:~/OpenFOAM/johns-2.1.0/run/elbow$ fluentMeshToFoam Usage: fluentMeshToFoam [OPTIONS] <Fluent mesh file> options: -case <dir> specify alternate case directory, default is the cwd -noFunctionObjects do not execute functionObjects -scale <factor> geometry scaling factor - default is 1 -writeSets write cell zones and patches as sets -writeZones write cell zones as zones -srcDoc display source code in browser -doc display application documentation in browser -help print the usage Using: OpenFOAM-2.1.0 (see www.OpenFOAM.org) Build: 2.1.0-0bc225064152 can any one help in this issue |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
Hi aban;
if you have a look at the allRun script within the icoFoam folder you'll see that the command to run is: Code:
fluentMeshToFoam elbow elbow/elbow.msh |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
aban
Join Date: Apr 2012
Posts: 15
Rep Power: 15 ![]() |
should i copy this allrun script to my working dir.
what command i must give in place of blockMesh, is it fluentMeshToFoam elbow elbow/elbow.msh or just fluentMeshToFoam? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
|
You don't need to copy the script.
I don't know about the blockMesh. I think you can try though… The command is the one I posted above: Code:
fluentMeshToFoam elbow elbow/elbow.msh |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
aban
Join Date: Apr 2012
Posts: 15
Rep Power: 15 ![]() |
i have tried this, but i am getting the same error.
"johns@ubuntu:~$ cd OpenFOAM/johns-2.1.0/run/elbow johns@ubuntu:~/OpenFOAM/johns-2.1.0/run/elbow$ fluentMeshToFoam elbow elbow/elbow.msh Usage: fluentMeshToFoam [OPTIONS] <Fluent mesh file> options: -case <dir> specify alternate case directory, default is the cwd -noFunctionObjects do not execute functionObjects -scale <factor> geometry scaling factor - default is 1 -writeSets write cell zones and patches as sets -writeZones write cell zones as zones -srcDoc display source code in browser -doc display application documentation in browser -help print the usage Using: OpenFOAM-2.1.0 (see www.OpenFOAM.org) Build: 2.1.0-0bc225064152 --> FOAM FATAL ERROR: Wrong number of arguments, expected 1 found 2 FOAM exiting" what did it mean by number of arguments |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
|
Simply run this one then:
fluentMeshToFoam elbow.msh |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
aban
Join Date: Apr 2012
Posts: 15
Rep Power: 15 ![]() |
thank you
know it looks fine |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU Linear Solvers for OpenFOAM | gocarts | OpenFOAM Announcements from Other Sources | 37 | August 17, 2022 14:22 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |