|
[Sponsors] |
Trying to run a benchmark case with simpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 24, 2012, 09:24 |
Trying to run a benchmark case with simpleFoam
|
#1 |
New Member
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
Hi, I have a OpenFOAM based benchmark that I have been asked to run. I have never before used OpenFOAM and I need some help because I'm lost.
I have been given a tar-file with "the job" containing the directories 0, contant and system). There are also an example script: Code:
$ cat run8CPUsSequential # Run the program simpleFoam . . > log1_8CPUsSequential_1 & simpleFoam . . > log1_8CPUsSequential_2 & simpleFoam . . > log1_8CPUsSequential_3 & simpleFoam . . > log1_8CPUsSequential_4 & simpleFoam . . > log1_8CPUsSequential_5 & simpleFoam . . > log1_8CPUsSequential_6 & simpleFoam . . > log1_8CPUsSequential_7 & simpleFoam . . > log1_8CPUsSequential_8 & wait When i run "simpleFoam . ." I got a error. After I read the help page ("simpleFoam -help") i re-run the command without parameters and ended up with this output. Code:
--> FOAM FATAL IO ERROR: cannot find file file: /root/OpenFOAM/root-2.1.0/run/bench/constant/RASProperties at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. For the time being I borrowed a RASProperties from one of the examples, I picked one RASModel out of random and re-run the application and ended up with this output: Code:
--> FOAM FATAL IO ERROR: keyword div((nuEff*dev(T(grad(U))))) is undefined in dictionary "/root/OpenFOAM/root-2.1.0/run/bench/system/fvSchemes::divSchemes" file: /root/OpenFOAM/root-2.1.0/run/bench/system/fvSchemes::divSchemes from line 39 to line 46. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. Anyone out there who can point me at the right direction? Edit: Using: OpenFOAM-2.1.0 (see www.OpenFOAM.org) Build: 2.1.0-0bc225064152 |
|
February 24, 2012, 09:49 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings spsb and welcome to the forum!
When they gave you this benchmark job, did they say which version of OpenFOAM the test case was meant to be run with? Because OpenFOAM keeps evolving and case files become gradually different between each version. Either way, the file you're getting a complaint now is "system/fvSchemes". You can get the missing line from this file: Code:
$FOAM_TUTORIALS/incompressible/simpleFoam/turbineSiting/system/fvSchemes I found this example by running the following command: Code:
find $FOAM_TUTORIALS -name fvSchemes | xargs grep -sl 'nuEff' Bruno
__________________
|
|
February 24, 2012, 10:00 |
|
#3 |
New Member
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
Hi, I added
Code:
div((nuEff*dev(T(grad(U))))) Gauss linear; I will check with version the test was intended to work with. One more question, is the RASProperties-file always a required part of a job? |
|
February 24, 2012, 10:07 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
AFAIK, Depends on the solver at hand.
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Some questions about a multi region case run in parallel | zfaraday | OpenFOAM Running, Solving & CFD | 5 | February 23, 2017 11:25 |
SimpleFoam run time comsuming | eebrah | OpenFOAM Running, Solving & CFD | 21 | August 14, 2014 03:30 |
simpleFoam in parallel issue | plucas | OpenFOAM Running, Solving & CFD | 3 | July 17, 2013 12:30 |
Flux update during an MPI run between decomposed case parts? | scott | OpenFOAM | 0 | July 21, 2010 21:47 |
snappyMesh Motor Bike case for simpleFoam solver | s.sivakumar | OpenFOAM Running, Solving & CFD | 0 | July 22, 2009 09:00 |