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

Please help: Question regarding inletOutlet/outletInlet boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2017, 16:54
Default Please help: Question regarding inletOutlet/outletInlet boundary conditions
  #1
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
Dear Foamers
I have a very basic question about inletOutlet and outletInlet boundary conditions. I have to solve a reactive flow where there is possibility of potential backflow. I am sure that for backflow case, I have to use inletOutlet boundary condition. I have to solve pressure, Temperature, velocity and species concentration.
My first question is- I have to specify inletValue and Value with this BC, where inletValue is the value of the backflow. Then what should I give for 'Value'? Can I just skip it, I found that the simulation runs even without this 'Value'.
My second question is- since I am specifying inletOutlet boundary for velocity, I am using the opposite outletInlet for pressure, shouldnt that be the typical case backflow simulation?
My third question is- for velocity inletOutlet boundary condition, the backflow value (specified as 'Value') should be uniform (0 0 0) right?
My last question or rather confusion is that, I am specifying a Dirichlet boundary at the inlet and at the same time specifying a fixed value for backflow (inletValue) condition. How does two Dirichlet condition work at the same time at opposite directions?
sahmed is offline   Reply With Quote

Old   February 11, 2017, 13:45
Default
  #2
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
Anyone PLEASE help me with any info. This will help the community as well.
sahmed is offline   Reply With Quote

Old   February 27, 2017, 13:08
Default
  #3
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Value is just used as initial condition for the first iteration of your simulation.
For pressure you can set fixedValue at your outlet.
If you want to block backflow, then yes set (0 0 0) for velocity.
Numerically most stable is to set some fixedValue condition at one boundary and something like zeroGradient (or inletOutlet) for the opposite boundary.
jherb is offline   Reply With Quote

Old   February 27, 2017, 13:53
Default
  #4
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
Thank you very much Herb for your reply. I just have a quick question regarding your last answer (where I still have confusion). Yes numerically the most stable BCs are fixedValue and zeroGradient/inletOutlet. But for inletOutlet (or outletInlet), I have to specify an inletValue/outValue which is again a fixedValue boundary. Then how do two Dirichlet conditions at two opposite directions can work?
Please share your thoughts.

~SFA
sahmed is offline   Reply With Quote

Old   March 2, 2017, 17:27
Default
  #5
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
I am not sure, what you want to do. If you set inletOutlet at the side, you expect the flow to leave the domain, then the inletValue is used only for those faces, where there is (local) inward flow. I am not really sure, what is the purpose of outletInlet. Can't you use fixedValue for your inlet?
jherb is offline   Reply With Quote

Reply

Tags
backflow, inletoutlet, outletinlet


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
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
question about implementing boundary conditions saygin Main CFD Forum 0 July 6, 2006 07:08
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 13:59.