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

inletOutlet boundary condition: How can it function as an inlet?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2021, 14:11
Post inletOutlet boundary condition: How can it function as an inlet?
  #1
New Member
 
SharShabil
Join Date: Dec 2020
Posts: 2
Rep Power: 0
SharShabil is on a distinguished road
Hi. I've been having a noob question, no case, just wanna understand something.
Linked image is the description for the inletOutlet boundary condition (from cfd-support.com):
https://imgur.com/a/XT5eLLR

Suppose we're taking a look at a single face at the outlet patch. The flow velocity is varying for some reason.

Fluid is flowing out >> velocity obeys a zeroGradient condition.
velocity decreases to reach 0. by the zeroGradient bc, the velocity is the same at the face we're looking at.

Velocity then continues decreasing, so that now fluid is flowing inwards.
The boundary condition now says that we're using a fixedValue, specified as inletValue. How is this dynamic? How can this patch act as an inlet then, if the velocity suddenly jumps to the fixed value of 5, or 0, or whatever? How about the difference between this face, and the one directly above it, still acting as an outlet and following a zeroGradient?

Also, what if you specify the inletValue as 0 and then water needs to flow in at that location and you prevent it? How is this face then still functioning as both an inlet and an outlet?

Thank you :-)
SharShabil is offline   Reply With Quote

Old   January 23, 2021, 15:23
Default figured it out
  #2
New Member
 
SharShabil
Join Date: Dec 2020
Posts: 2
Rep Power: 0
SharShabil is on a distinguished road
With the help of the OpenFOAM community on discord, I now kinda have an idea on what's going on.

This condition is a **Linear blend** of both the fixedValue and the zeroGradient conditions. It is not an _if_ function with strict outcomes, like I first thought.

inletOutlet is a kind of "mixed" boundary condition. An explanation there on can be found at: https://www.openfoam.com/documentati...bcs-mixed.html
SharShabil is offline   Reply With Quote

Reply

Tags
boundary condition, 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 17, 2020 00:44
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 12:32
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35


All times are GMT -4. The time now is 15:52.