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

freestreamPressure & freestream BCs

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Luise

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2010, 13:45
Default freestreamPressure & freestream BCs
  #1
New Member
 
Join Date: Jan 2010
Posts: 12
Rep Power: 16
Luise is on a distinguished road
Hi,

i'm still wondering, what freestreamPressure and freestream Boundary Conditions do. I studied the sourcecode, but I think I'm missing something...

What is the difference between

U freestream (derived from inletOutletFvPatchField<Type>)
p freestreamPressure (derived from zeroGradientFvPatchScalarField)

and

U inletOutlet
p zeroGradient

?

Luise
Luise is offline   Reply With Quote

Old   August 19, 2010, 11:20
Default
  #2
New Member
 
Join Date: Jan 2010
Posts: 12
Rep Power: 16
Luise is on a distinguished road
Hi,

i finally ran a simple case to compare the two settings.

The case is a 2d-flow over a cirular cylinder with a Reynolds-number of 5, thus stationary. I used the icoFoam solver for that. The outer boundary patch is also circular and goes coherently around the whole domain, so the boundary conditions are not seperatly defined for inflow and outflow.

The attached graph is a plot of Ux on the outer boundary patch. A difference is clearly visible.

I guess, after reading the sourcecode, that the two settings entail a different schedule for the evaluation of the inletOutlet member functions.

Can anybody confirm that? Other explanations are welcome! Maybe somebody has a deeper knowledge of the code and can give a more elaborate reasoning...

Luise
Attached Images
File Type: png BCcomparision.png (19.6 KB, 570 views)
File Type: png patch_inout_U.png (60.6 KB, 421 views)
arashgmn likes this.
Luise is offline   Reply With Quote

Old   November 26, 2010, 08:18
Default About freestream/freestreamPressure
  #3
New Member
 
Bertrand Delvaux
Join Date: Apr 2010
Posts: 29
Rep Power: 16
Bertrand is on a distinguished road
Hello Luise,

Sorry I can't bring any elaborated explanation on the difference, but I am very interested in this topics. Did you find any further information?

I am running a case with a shaped tube ending with a radiating hemisphere.

I have an inlet with U defined, p zeroGradient, and the outlet I hesitate with U inletOutlet and p zeroGradient, or U freestream, p freestreamPressure... It's supposed to be an open atmosphere outlet.

If you have any advice, it would be more than welcome

Regards,

Bertrand
Bertrand is offline   Reply With Quote

Old   October 15, 2015, 06:54
Default
  #4
Member
 
Join Date: Sep 2014
Posts: 32
Rep Power: 12
yongxiang is on a distinguished road
Hi Bertrand,
I am also confused with these boundary conditions, do you have now a clear understanding of the difference between zerogradient pressure and freestreamPressure?
regards
YOng
yongxiang 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
Freestream Setup in an External Flow Simulation phathomie27 STAR-CCM+ 1 January 6, 2017 08:00
Dealing with BC's in OF 1.6 vkrastev OpenFOAM Running, Solving & CFD 5 September 4, 2012 12:58
BCs in an FSI simulation of a flexble pipe vivekcfd OpenFOAM 10 January 8, 2010 05:14
BCs for Pressure Correction Equation (SIMPLE) Bharath Somayaji Main CFD Forum 1 March 1, 2006 07:12
Need Assistance: BCs for k-e model implementation Dean Schrage Main CFD Forum 3 August 11, 2001 02:02


All times are GMT -4. The time now is 16:24.