|
[Sponsors] |
Simple 2D rising Bubble. About B.C. of interFoam. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 2, 2013, 08:45 |
Simple 2D rising Bubble. About B.C. of interFoam.
|
#1 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Hi guys,
I want to make a test about rising bubble via interFoam,Its really simple.But what confused me is my B.C. I wish the outlet boundary permit only water getting in and air getting out. so I set alpha B.C. like this: Code:
boundaryField { sides { type zeroGradient; } inlet { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 1; value uniform 1; } frontAndBack { type empty; } } P_rgh Code:
boundaryField { sides { type buoyantPressure; value uniform 0; } inlet { type buoyantPressure; value uniform 0; } outlet { type totalPressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; } frontAndBack { type empty; } } Code:
boundaryField { sides { type zeroGradient; } inlet { type fixedValue; value uniform (0 0 0); } outlet { type pressureInletOutletVelocity; value uniform (0 0 0); } frontAndBack { type empty; } } It runs normally, and the solution of alpha is not bad.but the p_rgh is little big.you can see the image. So.if I want to simulate this situation which is only water can getting in,How should I set the B.C.?Thanks in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bubbleFoam - Simple case, Large bubble, closed domain | darai | OpenFOAM Running, Solving & CFD | 9 | October 12, 2015 06:40 |
SIMPLE algorithm in 3D cylindrical coordinates | zouchu | Main CFD Forum | 1 | January 20, 2014 18:02 |
Bubble coulmn and VOF method (interFoam) | voingiappone | OpenFOAM | 14 | June 26, 2012 21:13 |
Struggling with BCs for 'simple' interFoam case | rassilon | OpenFOAM Running, Solving & CFD | 1 | May 15, 2009 11:16 |
Single Bubble | Gerrit Senger | CFX | 4 | March 12, 2007 17:29 |