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

Boundary Condition problem with multiphase flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2013, 12:09
Unhappy Boundary Condition problem with multiphase flow
  #1
New Member
 
Join Date: Mar 2011
Posts: 8
Rep Power: 15
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


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Boundary condition problem for open channel flow Andy CFX 9 June 11, 2016 08:20
Rotating wall velocity boundary condition for axisymmetric flow problem diwakaranant SU2 1 March 24, 2013 00:45
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 19:36
Boundary condition for not fully-developed flow John FLUENT 0 July 15, 2005 08:07


All times are GMT -4. The time now is 11:01.