CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Boundary Condition in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2011, 13:40
Default Boundary Condition in CFX
  #1
New Member
 
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15
ssbear is on a distinguished road
Hi all,

I'm trying to make a head pond model for a run-of-river project. The inlet is where the river is, outlet is where the penstock will be.

The inlet boundary condition is normal speed = 2m/s and I set the outlet condition as static pressure = Pres (where Pres is the water pressure due to gravity) (Please see the first picture for details). To simulate the gravity effect on the water, I added a sub-domain with general momentum source.

The result seems fine (please see the second diagram). But when I tried to change the inlet boundary to 0.2 m/s, the model starts to have problem with convergence. And the result doesn't make sense at all, especially the streamline from outlet (see third diagram). I'm thinking that there is something wrong with the outlet boundary condition, but I'm not sure where it is.

It would be great if anyone can provide some advices. Any suggestions would be welcome.

Thanks in advance!!

Ricky Chen
Attached Images
File Type: jpg Model.jpg (49.3 KB, 27 views)
File Type: jpg 3_001.jpg (85.6 KB, 37 views)
File Type: jpg 4_001.jpg (79.0 KB, 34 views)

Last edited by ssbear; January 30, 2011 at 14:13.
ssbear is offline   Reply With Quote

Old   January 30, 2011, 17:50
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
To simulate the gravity effect on the water, I added a sub-domain with general momentum source.
Argh! How many times do I have to tell you that this is a bad idea and not required!

Your pictures are weird. Why are velocity vectors going outwards at wall boundaries?

Your outlet boundary condition will have problems as the flow rate changes. That, coupled with the strange behaviour which your "gravity" source term will generate is going to mean bizarre things will happen.
ghorrocks is offline   Reply With Quote

Old   January 30, 2011, 21:34
Default
  #3
New Member
 
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15
ssbear is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Argh! How many times do I have to tell you that this is a bad idea and not required!

Your pictures are weird. Why are velocity vectors going outwards at wall boundaries?

Your outlet boundary condition will have problems as the flow rate changes. That, coupled with the strange behaviour which your "gravity" source term will generate is going to mean bizarre things will happen.

ghorrocks,

Thanks for taking your time into my problem and sorry for my weird questions. I've removed the gravity source term and does that make more sense now?

Looking forward to your reply. Thanks!!
Attached Images
File Type: jpg 8_001.jpg (89.4 KB, 23 views)
File Type: jpg 8_002.jpg (75.1 KB, 25 views)
ssbear is offline   Reply With Quote

Old   January 31, 2011, 07:15
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Unless you have variable density from something (or are using the bousinessq buoyancy model) then you will have no need for gravity and no need for static head. Then you can define your outlet boundary as a constant pressure boundary and things are much easier.

And yes, now you are not getting impossible flows across walls so keep that momentum source term off.
ghorrocks is offline   Reply With Quote

Old   January 31, 2011, 14:19
Default
  #5
New Member
 
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15
ssbear is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Unless you have variable density from something (or are using the bousinessq buoyancy model) then you will have no need for gravity and no need for static head. Then you can define your outlet boundary as a constant pressure boundary and things are much easier.

And yes, now you are not getting impossible flows across walls so keep that momentum source term off.

Thanks very much!!
ssbear is offline   Reply With Quote

Old   February 7, 2011, 02:10
Default
  #6
New Member
 
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15
ssbear is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Unless you have variable density from something (or are using the bousinessq buoyancy model) then you will have no need for gravity and no need for static head. Then you can define your outlet boundary as a constant pressure boundary and things are much easier.

And yes, now you are not getting impossible flows across walls so keep that momentum source term off.

ghorrocks,

This initial model works out well. My manager is happy with the results. Thanks again for your help.
ssbear is offline   Reply With Quote

Reply


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
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 12:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 19:36
Rotating interpolated boundary condition hani OpenFOAM Running, Solving & CFD 0 July 4, 2006 08:09
CFX 5.5 Boundary condition Veebs CFX 5 May 19, 2002 21:55


All times are GMT -4. The time now is 03:07.