Problems in two phase using interFoam
3 Attachment(s)
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. |
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. |
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. |
What exactly did you try or which changes did you apply?
Sent from my iPhone using CFD Online Forum mobile app |
All times are GMT -4. The time now is 10:01. |