CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Error running with OpenFOAM 2.3.0: "keyword water is undefined in dictionary"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2014, 06:40
Default 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
zhyren is on a distinguished road
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.


Quote:
Originally Posted by ngj View Post
Hi Zhyren,

Please read the error message carefully. Otherwise, the solution is given a multiple number of times in this thread.

Good luck,

Niels

Last edited by zhyren; March 25, 2014 at 09:35.
zhyren is offline   Reply With Quote

Old   March 25, 2014, 14:06
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
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.
ngj is offline   Reply With Quote

Old   March 26, 2014, 06:36
Default
  #3
New Member
 
Join Date: Mar 2014
Posts: 8
Rep Power: 12
zhyren is on a distinguished road
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



Quote:
Originally Posted by ngj View Post
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
Kind regards,

Niels
zhyren is offline   Reply With Quote

Old   March 26, 2014, 06:51
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.
ngj is offline   Reply With Quote

Old   March 26, 2014, 14:31
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.
ngj is offline   Reply With Quote

Old   March 27, 2014, 06:29
Default
  #6
New Member
 
Join Date: Mar 2014
Posts: 8
Rep Power: 12
zhyren is on a distinguished road
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.
zhyren is offline   Reply With Quote

Old   March 27, 2014, 16:24
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
ngj 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
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


All times are GMT -4. The time now is 01:28.