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

Boundary conditions for an outlet

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 15, 2010, 05:50
Question Boundary conditions for an outlet
  #1
New Member
 
Tao Zhu
Join Date: Dec 2010
Location: Munich
Posts: 5
Rep Power: 6
kongfu is on a distinguished road
Hi all,
I'm studying tutorial 3, a dam break. And I changed the gravity to the positive y direction just for fun. So the liquid would go up, and I expect the liquid to exit the domain, like you have a cup of water, then you turn the cup around, and the water inside would spill out.

Thus I have to changed the boundary condition of the upper face named as 'atmosphere'.

I searched a lot from this Forum and tried different types of alpha1 and U, like inletOutlet, or zeroGradient, etc.

Here are some of my codes:

alpha1:
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}

U:
atmosphere
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

this is one case. Another case I tried was:


alpha1:
atmosphere
{
type fixedValue;
value uniform 0;
}
U:
atmosphere
{
type zeroGradient;
}

Both cases don't work. There is always some fluid remaining in the domain.

Which boundary conditions should I choose? Can anyone help?
kongfu is offline   Reply With Quote

Old   December 20, 2010, 09:11
Default
  #2
New Member
 
Tao Zhu
Join Date: Dec 2010
Location: Munich
Posts: 5
Rep Power: 6
kongfu is on a distinguished road
Could anyone help me?
kongfu is offline   Reply With Quote

Old   December 28, 2010, 10:19
Default
  #3
New Member
 
Philipp Bachmann
Join Date: May 2010
Location: Esslingen, Germany
Posts: 7
Rep Power: 7
kroetenechse is on a distinguished road
Hi kongfu,

nice example. I just read your thread, but canīt really help you with that example. But here is a side, where you can read about all boundary conditions. Hope, this can help you.

http://www.openfoam.com/docs/user/boundaries.php

bye and a happy new year.
phil
kroetenechse is offline   Reply With Quote

Old   January 5, 2011, 05:59
Default
  #4
New Member
 
Tao Zhu
Join Date: Dec 2010
Location: Munich
Posts: 5
Rep Power: 6
kongfu is on a distinguished road
Quote:
Originally Posted by kroetenechse View Post
Hi kongfu,

nice example. I just read your thread, but canīt really help you with that example. But here is a side, where you can read about all boundary conditions. Hope, this can help you.

http://www.openfoam.com/docs/user/boundaries.php

bye and a happy new year.
phil

Hi Phil,

Thank you very much for your help! It's very useful. I will try it. If I have made any progress, I will inform you.

Best regards and happy new year,
Tao
kongfu is offline   Reply With Quote

Reply

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
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
Tank Outlet Boundary conditions aequitas FLUENT 2 November 23, 2007 12:45
Outlet boundary conditions for unsteady flow Bjorn B Main CFD Forum 3 January 11, 2006 06:42
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 02:54
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 18:29


All times are GMT -4. The time now is 22:58.