|
[Sponsors] |
[waves2Foam] Error running with OpenFOAM 2.3.0: "keyword water is undefined in dictionary" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 25, 2014, 06:40 |
Error running with OpenFOAM 2.3.0: "keyword water is undefined in dictionary"
|
#1 |
New Member
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
Hi, I have installed it in OpenFoam-2.3.0. But when I run it, there is a problem like this
--> FOAM FATAL IO ERROR: keyword water is undefined in dictionary "/home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume/constant/transportProperties" file: /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume/constant/transportProperties from line 19 to line 59. From function dictionary::subDict(const word& keyword) in file db/dictionary/dictionary.C at line 661. FOAM exiting I have installed waves2foam in my own PC and G-Bar of DTU, however, it shows same problems. I do not know how to fix it. Last edited by zhyren; March 25, 2014 at 09:35. |
|
March 25, 2014, 14:06 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good evening Zhyren,
Please check that you at least is using revision 2037 of waves2Foam. If this is fulfilled, please make sure that you are executing the tutorials by typing: Code:
./Allrun Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 26, 2014, 06:36 |
|
#3 |
New Member
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
Hi, thank you for your patience. But there is still a problem. The version is 2.38. When I run './Allrun', it read as followed and the files in '0' folder all gone. I am waiting your answers.
zhiyuan@zhiyuan-Satellite-L700:~/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume$ ./Allrun ../../../bin/prepareCase.sh: line 18: 0.org/alpha1.org: No such file or directory ../../../bin/prepareCase.sh: line 29: 0.org/pd.org: No such file or directory cp: cannot stat ‘0.org/U.org’: No such file or directory blockMesh already run on /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume: remove log file to re-run waveGaugesNProbes already run on /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume: remove log file to re-run setWaveParameters already run on /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume: remove log file to re-run setWaveField already run on /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume: remove log file to re-run waveFoam already run on /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume: remove log file to re-run postProcessWaves2Foam already run on /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume: remove log file to re-run |
|
March 26, 2014, 06:51 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Oh, yes, that is definitely an error from my part.
I have simply not fully updated the tutorials and for that I am sorry. I will post online as soon as this has been corrected. Kind regards, Niels P.S. To retrieve deleted files from the repository, you can use the "svn revert" command.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 26, 2014, 14:31 |
|
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good evening,
The bug related to the execution of the tutorials is now corrected. See here: http://www.cfd-online.com/Forums/ope...tml#post482263 and http://openfoamwiki.net/index.php/Co..._.28History.29 Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 27, 2014, 06:29 |
|
#6 |
New Member
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
Hi, I am not sure is it only my problem with version 2.39. But every case will present problems.
--> FOAM FATAL IO ERROR: keyword div(rhoPhi,U) is undefined in dictionary "/home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/standingWave/system/fvSchemes.divSchemes" file: /home/zhiyuan/OpenFOAM/zhiyuan-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/standingWave/system/fvSchemes.divSchemes from line 33 to line 39. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 437. |
|
March 27, 2014, 16:24 |
|
#7 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good evening Zhyren,
Sorry for the trouble. There was a naming change, which I had forgotten to carry over in the final tutorials. The svn-repository is now updated, and I have checked that they are running (revision 2040). Also, in the future, please do not post the same in multiple threads. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. Last edited by wyldckat; November 4, 2018 at 14:53. Reason: removed answer to another post that was on the main thread |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
keyword C7H16 is undefined in dictionary | suchit3006 | OpenFOAM Running, Solving & CFD | 1 | February 5, 2023 19:51 |
keyword pFinal is undefined in dictionary | jcastello | OpenFOAM Running, Solving & CFD | 4 | July 18, 2019 20:21 |
keyword cp is undefined in dictionary | abdessamad | OpenFOAM Running, Solving & CFD | 2 | May 22, 2014 08:54 |
OF211: ThirdParty and /src compiled, but not /applications... | vkrastev | OpenFOAM Installation | 8 | October 18, 2012 16:53 |
OpenFoam-1.7.x on Suse 11.2 (64bit) does not compile | val46 | OpenFOAM Installation | 4 | August 27, 2010 04:43 |