twoPhaseEluerFoam running problems
Hi, Recently I try to use the eclipse to debug the program of OpenFOAM, I did the tutorials of http://openfoamwiki.net/index.php/Howto_Use_OpenFOAM_with_Eclipse, then something strange happened! I find that I cannot run the twoPhaseEulerFoam even the case of the tutorial "bed".
The error is following : Reading g Reading transportProperties --> FOAM FATAL IO ERROR: keyword g is undefined in dictionary "/home/cfd/OpenFOAM/OpenFOAM-2.1.0/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties::phasea" file: /home/cfd/OpenFOAM/OpenFOAM-2.1.0/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties::phasea from line 20 to line 22. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. FOAM exiting It said that g is undeined in transportProperties, but in default creatField.H it is no need to read the "g". I remove the directory of twoPhaseEluerFoam , replace by a new download one ,and then recompile it by Allwclean and Allwmake, finally run the turorial, but the error is still in ?:confused: so does anyone know how to fix it ? |
Have you resolved that problem? I have the same problem in OF1.7.1 when running "twoPhaseEulerFoam". Below is the log screen. Please let me know if you fix it out.
--> FOAM FATAL IO ERROR: keyword g is undefined in dictionary "/run/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties::phasea" file: /run/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties::phasea from line 27 to line 29. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 395. FOAM exiting |
I recompile all the files, What cause the promble? have you done any change?
Quote:
|
I could run "twoPhaseEulerFoam" without any errors, but when I modified the solver, the error appeared to me. I downloaded and compiled "OpenFOAM-1.7.x". The problem is still sitting there. That's so weird. I don't know what I have to do.
|
Did you modified the creatField.H file? I think the error came from there. I compiled it with a debug status, step into this file ,but still cannot find out the reason. maybe you could try a 2.1.0 verion.
Quote:
|
All times are GMT -4. The time now is 10:23. |