|
[Sponsors] |
July 11, 2017, 10:46 |
Problems in two phase using interFoam
|
#1 |
New Member
Army
Join Date: Jul 2017
Posts: 6
Rep Power: 9 |
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. |
|
July 12, 2017, 08:34 |
|
#2 |
New Member
Thomas
Join Date: Jul 2017
Posts: 5
Rep Power: 9 |
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. |
|
July 13, 2017, 06:40 |
|
#3 | |
New Member
Army
Join Date: Jul 2017
Posts: 6
Rep Power: 9 |
Quote:
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. |
||
July 13, 2017, 10:24 |
|
#4 |
New Member
Thomas
Join Date: Jul 2017
Posts: 5
Rep Power: 9 |
What exactly did you try or which changes did you apply?
Sent from my iPhone using CFD Online Forum mobile app |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interfoam - maximal velocity in water phase | matejmuller | OpenFOAM Programming & Development | 12 | November 12, 2020 09:24 |
Problems with kinematic viscosity - interfoam | Waldfreund | OpenFOAM Running, Solving & CFD | 2 | August 3, 2016 18:05 |
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam | xpqiu | OpenFOAM Community Contributions | 8 | June 17, 2015 03:08 |
interFoam more Axi-symmetric two phase flow ? | Ingenierias2003 | OpenFOAM | 4 | May 10, 2010 15:39 |
solving of multi phase problems using fluent | satyanarayana | FLUENT | 3 | November 20, 2009 17:37 |