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

freestreamPressure & freestream BCs

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 10, 2010, 12:45
Default freestreamPressure & freestream BCs
  #1
New Member
 
Join Date: Jan 2010
Posts: 12
Rep Power: 7
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, 10:20
Default
  #2
New Member
 
Join Date: Jan 2010
Posts: 12
Rep Power: 7
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, 269 views)
File Type: png patch_inout_U.png (60.6 KB, 215 views)
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: 7
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

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
Dealing with BC's in OF 1.6 vkrastev OpenFOAM Running, Solving & CFD 5 September 4, 2012 11:58
BCs in an FSI simulation of a flexble pipe vivekcfd OpenFOAM 10 January 8, 2010 05:14
Freestream Setup in an External Flow Simulation phathomie27 STAR-CCM+ 0 October 20, 2009 18:38
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 01:02


All times are GMT -4. The time now is 18:19.