|
[Sponsors] |
February 20, 2012, 04:42 |
twoPhaseEluerFoam running problems
|
#1 |
Member
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 14 |
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:hasea" file: /home/cfd/OpenFOAM/OpenFOAM-2.1.0/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties:hasea 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 ? so does anyone know how to fix it ? |
|
February 29, 2012, 23:38 |
|
#2 |
Member
Jeong Kim
Join Date: Feb 2010
Posts: 42
Rep Power: 16 |
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:hasea" file: /run/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties:hasea 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 |
|
March 1, 2012, 02:05 |
|
#3 | |
Member
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 14 |
I recompile all the files, What cause the promble? have you done any change?
Quote:
|
||
March 1, 2012, 16:32 |
|
#4 |
Member
Jeong Kim
Join Date: Feb 2010
Posts: 42
Rep Power: 16 |
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.
|
|
March 1, 2012, 21:14 |
|
#5 |
Member
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 14 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems of running Oscillating plate tutorial | vovogoal | CFX | 20 | February 4, 2016 08:03 |
Problems when running journal | brigadacaracol | Fluent UDF and Scheme Programming | 0 | November 23, 2010 09:24 |
Fluent problems with infiniband | caludio | FLUENT | 1 | October 9, 2010 05:48 |
Running unsteady problems in the background | Jie Cui | FLUENT | 0 | February 17, 2005 18:59 |
Problems in a Background running of Intel Fortran | Minsuk Choi | Main CFD Forum | 2 | February 11, 2005 05:55 |