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

Problems in two phase using interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2017, 09:46
Default Problems in two phase using interFoam
  #1
New Member
 
Army
Join Date: Jul 2017
Posts: 6
Rep Power: 8
Blanche is on a distinguished road
Hi,
I am new here. I want to simulate a fixed Gas-water two phase field in a cylinder using interFoam solver(like Fig.1). The inlet is divided into two parts which in1 is gas and in2 is water. I refer to the model of the dambreak. But when I run the interFoam, the result is not right(like Fig2). I don't know where is wrong. The U is that,

internalField uniform (1 0 0);
boundaryField
{
in2
{
type fixedValue;
value uniform (2.21 0 0);
}
in1
{
type fixedValue;
value uniform (1.1 0 0);
}
out
{
type zeroGradient;
}
bimian
{
type fixedValue;
value uniform (0 0 0);
}

and the P is that,

internalField uniform 0;
boundaryField
{
in2
{
type zeroGradient;
}
in1
{
type zeroGradient;
}

out
{
type fixedValue;
value uniform 101325;
}

bimian
{
type zeroGradient;
}

}

Then I defined a small outlet velocity, it doesn't work. In this case, gas velocity is small than water velocity. I have ever calculated 200 minutes, and finally turned into a laminar flow(like Fig3). I hope I can get some advice. Thank you!

All best.
Attached Images
File Type: jpg 1.jpg (26.3 KB, 23 views)
File Type: png 2.png (24.9 KB, 32 views)
File Type: png 3.png (37.5 KB, 27 views)
Blanche is offline   Reply With Quote

Old   July 12, 2017, 07:34
Default
  #2
New Member
 
Thomas
Join Date: Jul 2017
Posts: 5
Rep Power: 8
Tomatenbart is on a distinguished road
Do you have a plain p file or a p_rgh file in your 0 folder?

I'm also unsure about your pressure at the outlet. Try setting it to uniform zero. Maybe have a look at the tutorials in multiPhase/interFoam/laminar.
Tomatenbart is offline   Reply With Quote

Old   July 13, 2017, 05:40
Default
  #3
New Member
 
Army
Join Date: Jul 2017
Posts: 6
Rep Power: 8
Blanche is on a distinguished road
Quote:
Originally Posted by Tomatenbart View Post
Do you have a plain p file or a p_rgh file in your 0 folder?

I'm also unsure about your pressure at the outlet. Try setting it to uniform zero. Maybe have a look at the tutorials in multiPhase/interFoam/laminar.

Thank you for your reply. I have tried. But there is nothing change. I modified the interFoam/ras/damBreak. I still don't know where is wrong.
Blanche is offline   Reply With Quote

Old   July 13, 2017, 09:24
Default
  #4
New Member
 
Thomas
Join Date: Jul 2017
Posts: 5
Rep Power: 8
Tomatenbart is on a distinguished road
What exactly did you try or which changes did you apply?


Sent from my iPhone using CFD Online Forum mobile app
Tomatenbart 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
interfoam - maximal velocity in water phase matejmuller OpenFOAM Programming & Development 12 November 12, 2020 08:24
Problems with kinematic viscosity - interfoam Waldfreund OpenFOAM Running, Solving & CFD 2 August 3, 2016 17:05
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam xpqiu OpenFOAM Community Contributions 8 June 17, 2015 02:08
interFoam more Axi-symmetric two phase flow ? Ingenierias2003 OpenFOAM 4 May 10, 2010 14:39
solving of multi phase problems using fluent satyanarayana FLUENT 3 November 20, 2009 16:37


All times are GMT -4. The time now is 20:22.