|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Jan
Join Date: Mar 2009
Posts: 3
Rep Power: 6 ![]() |
I thought getting started with OpenFOAM over the Christmas holidays would be a good idea... anyways, I just started and here is what I get:
--> FOAM FATAL ERROR : Wrong number of arguments, expected 2 found 0 Whats behind it? What is an argument, where/how do I change it? Thanks a lot Jan |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 209
Rep Power: 7 ![]() |
Which version are you using?
I guess 1.4.1, if so, you have to provide root and case directory. For example: Usage: simpleFoam <root> <case> [-parallel] Usually you put your case in a directory (let's call it "casedir") and from the top dir you use: simpleFoam . casedir Have a look to the user guide of the version you are using, you can find solutions to this kind of problems. I suggest, however, to use version 1.5. Why starting with something old? |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Jan
Join Date: Mar 2009
Posts: 3
Rep Power: 6 ![]() |
Tried to install 1.5, but on running . $HOME/.bashrc , I get an error claiming that my bashrc in the OpenFoam-1.5.x directory does not exist, and one error TMOUT: readonly variable
So I seem to be stuck with 1.4. Have you encountered such a problem before? What about the "update" from 1.4.1 to 1.5., do I have to run through the complete installation process? The Info they provide for on the homepage does not really help... |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TetgenToFoam arguments | davod | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 3 | August 4, 2008 13:28 |
| error:wrong number of args? | miomio | CFX | 3 | July 10, 2007 00:14 |
| what's wrong with my UDF?? | zlk | FLUENT | 0 | April 5, 2007 02:35 |
| what's wrong with it???????? | zhu | FLUENT | 1 | August 29, 2006 09:35 |
| Commandline options/arguments for menu items? | jx | FLUENT | 2 | August 18, 2003 07:29 |