CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

twoPhaseEluerFoam running problems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2012, 04:42
Default twoPhaseEluerFoam running problems
  #1
Member
 
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 14
chenxizh is on a distinguished road
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 ?

chenxizh is offline   Reply With Quote

Old   February 29, 2012, 23:38
Default
  #2
Member
 
Jeong Kim
Join Date: Feb 2010
Posts: 42
Rep Power: 16
enoch is on a distinguished road
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
enoch is offline   Reply With Quote

Old   March 1, 2012, 02:05
Default
  #3
Member
 
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 14
chenxizh is on a distinguished road
I recompile all the files, What cause the promble? have you done any change?

Quote:
Originally Posted by enoch View Post
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
chenxizh is offline   Reply With Quote

Old   March 1, 2012, 16:32
Default
  #4
Member
 
Jeong Kim
Join Date: Feb 2010
Posts: 42
Rep Power: 16
enoch is on a distinguished road
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.
enoch is offline   Reply With Quote

Old   March 1, 2012, 21:14
Default
  #5
Member
 
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 14
chenxizh is on a distinguished road
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:
Originally Posted by enoch View Post
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.
chenxizh is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 13:24.