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

twoPhaseEulerFoam running problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2011, 09:17
Default twoPhaseEulerFoam running problem
  #1
Member
 
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16
Gitesh P is on a distinguished road
Hello,

I am simulating gas-liquid flow with twoPhaseEulerFoam solver with OpenFOAM 1.7.

There following fields which I have initialized in case/0 directory,

- alpha (VF)
- k
- epsilon
- p(pressure)
- T(water-temperature)
- Ua(gas-velocity)
- Ub(water-velocity)

There is no any Theta field in case/0 but still I am getting following error.

PHP Code:
--> FOAM FATAL IO ERROR
cannot open file

file
: /home/patel/OpenFOAM/patel-1.7.1/run/STB31/0/Theta at line 0.

    From 
function regIOobject::readStream()
    
in file db/regIOobject/regIOobjectRead.C at line 61.

FOAM exiting 
Here is my fvSchemes file.

Please help me. I am new at OpenFOAM environment.

With regards,
Gitesh
Attached Files
File Type: gz fvSchemes.tar.gz (635 Bytes, 4 views)
Gitesh P is offline   Reply With Quote

Old   August 12, 2011, 04:26
Default
  #2
pit
New Member
 
Join Date: Mar 2010
Posts: 25
Rep Power: 16
pit is on a distinguished road
Are you sure that you have the right files?
In the tutorial case the Theta file exist in 0/ and in the fvSolution/fvSchemes.
pit is offline   Reply With Quote

Old   August 12, 2011, 07:05
Default
  #3
Member
 
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16
Gitesh P is on a distinguished road
Hello,

Now the problem is solved.

The field for theta has to be defined since the code reads it at the beginning of the simulation, when the object for the kinetic theory model is created.

In other words, for gas-liquid systems, the values you use in the kineticTheory dictionary play no role. You only have to make sure that boundary conditions are defined.



With regards,
Gitesh
Gitesh P is offline   Reply With Quote

Old   November 20, 2013, 23:46
Default
  #4
New Member
 
Join Date: Sep 2013
Posts: 5
Rep Power: 12
tong is on a distinguished road
Hi Gitesh,

Would you be able to explain why kineticTheory dictionary plays no role for a gas-liquid simulation?
tong 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
Problem About Running Fluent In Linux mitra FLUENT 18 June 20, 2019 02:11
Problem running buoyantFoam anke OpenFOAM 4 August 28, 2013 04:43
InterFoam / InterDyFoam running problem anon_c OpenFOAM Running, Solving & CFD 1 August 26, 2009 03:54
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
the problem of running star-cd after pro-star liu-jinsong Siemens 0 November 20, 2008 20:58


All times are GMT -4. The time now is 14:16.