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

Boundary Condition problem with multiphase flow

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 13, 2013, 11:09
Unhappy Boundary Condition problem with multiphase flow
  #1
New Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
daroz is on a distinguished road
Hi there,

Basically, the problem I have is a square domain initially filled with air and as the time goes by, water come in through the inlet. The moisture is then carried to the outlet by a moving wall with a constant velocity.
I am using interFoam to solve the problem and when checking out the solution, there is no water coming in.

The boundary conditions for the two phases are:

air:

for the walls is zeroGradient;

outlet {
type fixedValue;
uniform 0;
}
inlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
atmosphere
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}

water:

for the walls is zeroGradient;

outlet {
type fixedValue;
uniform 0;
}
inlet
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}

for the pressure field:

for the walls is fixedFluxPressure with value uniform 0;

outlet {
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}
inlet
{
type zeroGradient;
}
atmosphere
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}

for the Velocity file U:

walls... fixedValue uniform (0 0 0)

outlet {
type pressureInletOutletVelocity;
value uniform(0 0 0);
}
inlet
{
type pressureInletOutletVelocity;
value uniform(0 -0.1 0);
}
}
atmosphere
{
type pressureInletOutletVelocity;
value uniform(0 0 0);
}


I have tried to adapt these condition from the damBreak tutorial since I have no experience by using OpenFOAM but, it is not working. I hope you can help me to find out the solution for this problem. Thank you very much.
daroz is offline   Reply With Quote

Reply

Tags
boundary condition, interfoam, multiphase, openfoam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating wall velocity boundary condition for axisymmetric flow problem diwakaranant SU2 1 March 24, 2013 00:45
Boundary condition problem for open channel flow Andy CFX 8 October 1, 2012 07:45
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36
Boundary condition for not fully-developed flow John FLUENT 0 July 15, 2005 07:07


All times are GMT -4. The time now is 17:57.