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

Why should we define both P and U for boundaries?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2010, 23:50
Lightbulb Why should we define both P and U for boundaries?
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Dear Foamers,

What should be velocity boundary condition (U) type for outlet of a problem which we want set pressure (P) as fixedValue.


We can't suppose it zeroGradient because it is not fully developed at outlet. and i don't know why should we define both of P and U for boundaries in OpenFOAM.
maysmech is offline   Reply With Quote

Old   October 18, 2010, 04:20
Default
  #2
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 17
Chris Lucas is on a distinguished road
Hi,

you have to define BC for each field you are solving, so you need a BC for U and p. Other CFD software like fluent or cfx does the same (without telling you).

zeroGradients is the correct BC (or better inletOutlet) for U at the outlet. Of course your BC has an effect on the solution (as in all CFD software), so you must place the outlet BC far (at least a bit) away from the area of interest.

Regards,
Christian
Chris Lucas is offline   Reply With Quote

Old   October 18, 2010, 04:55
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Quote:
Originally Posted by Chris Lucas View Post
Hi,

you have to define BC for each field you are solving, so you need a BC for U and p. Other CFD software like fluent or cfx does the same (without telling you).

zeroGradients is the correct BC (or better inletOutlet) for U at the outlet. Of course your BC has an effect on the solution (as in all CFD software), so you must place the outlet BC far (at least a bit) away from the area of interest.

Regards,
Christian
Thanks for your reply.
the problem is in processing algorithm depend on its form, in boundary cell we set pressure and the algorithm try to calculate a velocity which satisfy continuity and ...
so setting both of U and P leads to have more equations than unknowns and this is the cause that other softwares like Fluent don't need to define both of them.
maysmech is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 22:13
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 10:23
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 11:19


All times are GMT -4. The time now is 05:06.