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

What is the difference between freestream BC and inletoutlet BC

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By er_ijaz
  • 3 Post By er_ijaz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2018, 02:12
Default What is the difference between freestream BC and inletoutlet BC
  #1
Member
 
ijaz fazil
Join Date: Apr 2013
Location: Singapore
Posts: 73
Rep Power: 13
er_ijaz is on a distinguished road
Dear all
I'm confused how freestream bc differs from normal inletoulet BC
Based on my readings
Freestream BC

freestream BC has the type inlet/outlet meaning that it looks locally (forevery face of the patch) at the mass flow rate. If the flow is going outside the boundary will be locally zero gradient, if it is going inside the boundary will be locally fixedValue.


This boundary condition provides a free-stream condition. It is a ’mixed’ condition derived from the inletOutlet condition, whereby the mode of operation switches between fixed (free stream) value and zero gradient based on the sign of the flux


inletoutlet

The inletOutlet boundary condition is normally the same as zeroGradient, but it switches to fixedValue if the velocity vector next to the boundary aims inside the domain (backward flow). The value of that fixedValue is inletValue. See figure (). (source: https://www.cfdsupport.com/OpenFOAM-...t/node114.html)


Then how Freestream BC differs or modified from conventional inletoutlet BC?






rarnaunot and arashgmn like this.
er_ijaz is offline   Reply With Quote

Old   June 14, 2019, 07:06
Default
  #2
New Member
 
Arslan Adeel Ur Rehmann
Join Date: Jun 2018
Posts: 9
Rep Power: 8
arslanadeel is on a distinguished road
Hi.


I am also wandering the same. Did you get any clear reason for the fundamental difference between these two BC's.


Thanks
arslanadeel is offline   Reply With Quote

Old   June 14, 2019, 07:28
Default not sure
  #3
Member
 
ijaz fazil
Join Date: Apr 2013
Location: Singapore
Posts: 73
Rep Power: 13
er_ijaz is on a distinguished road
In general if I post about this question in other forum also
Researchers try to differentiate between general freestream and inlet outlet
Not specific to openfoam.

What I noticed is, depending on the pressure difference inside the domain either the flow enters or leaves the domain "freestream boundary condition works).
For example in a openchannel water flow modelling, I know only the inlet velocity for water and for air I use freestream

InletOutlet mostly at outlet condition

This was the reply I got it from cfdsupport
Dear Dr. Ijaz Fazil,

the answer is very simple:

freestream and inletOutlet boundary conditions are very the same.
They are switching fixedValue and zeroGradient with respect to the sign of the flux.

freestreamVelocity and freestreamPressure differ a little bit = switching (or exactly blending) between fixedValue and zeroGradient is driven by the velocity orientation.

Have a nice weekend!

Radek






Your CFD Support Helpdesk Team,

Dear Dr. Fazil,
the freestream boundary condition enables you to use field as a freestreamValue, whereas inletOutlet uses inletValues, that is constant for the whole patch. Other than that, they are the same.

Best regards,
Vojtech Prihoda

Your CFD Support Helpdesk Team,
arashgmn, Aurelius and AnderMou like this.
er_ijaz is offline   Reply With Quote

Old   May 19, 2020, 11:20
Default
  #4
New Member
 
Arash
Join Date: May 2017
Posts: 17
Rep Power: 9
arashgmn is on a distinguished road
Quote:
Originally Posted by er_ijaz View Post
freestream and inletOutlet boundary conditions are very the same.
They are switching fixedValue and zeroGradient with respect to the sign of the flux.

freestreamVelocity and freestreamPressure differ a little bit = switching (or exactly blending) between fixedValue and zeroGradient is driven by the velocity orientation.
Just to stress the distinction between freestream (or equivalently inletOutlet) and freestreamVelocity/Pressure BC types:

freestream (as well as inletOutlet or outletInlet)
They are either a Dirichlet and Neumann BC based on the flux direction. The condition for freestream and inletOutlet are the same (equating the value of the parameter to the given freestreamValue or inletValue in case of an inflow and zero-grad otherwise) because they are usually considered as output BC. On the contrary, since outletInlet is used mostly as input, it becomes zero-grad when the inflow occurs.


freestreamVelocity and freestreamPressure
They are in fact Robine BC as the openFoam blends the values from one condition to another (again using the same conditions).

Quote:
the freestream boundary condition enables you to use field as a freestreamValue, whereas inletOutlet uses inletValues, that is constant for the whole patch. Other than that, they are the same.
This is not clear for me, however. What is the difference between inletValue and freestreamValue in practice?
arashgmn is offline   Reply With Quote

Reply

Tags
boundary condition, freestream, inletoutlet, openfoam


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



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