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

Inlet and Outlet w/ Single Boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2009, 22:20
Question Inlet and Outlet w/ Single Boundary
  #1
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
After mesh generation, i would like to change the angle of attack of the flow field. This is doable with a diamond or square mesh with separate outlet and inlet boundaries.

However to increase mesh quality i would like to use a "C" mesh or an "O" mesh. The curved boundaries however demands for a single boundary to handle both inlet and outlet.

Can open foam do this? What would be the boundary type/name?


Every bit helps, Thanks guys!
ericnutsch is offline   Reply With Quote

Old   December 31, 2009, 00:29
Default
  #2
Member
 
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 16
AlanR is on a distinguished road
Eric,

There's a derived boundary type called inletOutlet (and another called outletInlet) that switches between a velocity inlet and a pressure outlet depending on the direction of U - there's a little more information in the User Guide. I've seen it in other threads, so you could search the forum for more information. If you divided the O shaped domain into two or more sections, the inletOutlet boundary will probably work. I haven't tried it (yet). Good luck,

Alan
AlanR is offline   Reply With Quote

Old   December 31, 2009, 00:57
Default
  #3
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
Hey Alan,

"inletOutlet" huh, doesnt get more self explanatory than that.

No matter how many times i read that userguide i never seem to take it all in...

Do you think inletOutlet and outletInlet are different or just calls to the same function? I guess i will have to mess around with them a bit.


Thanks Alan!
ericnutsch is offline   Reply With Quote

Old   January 3, 2010, 13:25
Default inletOultet on a O domain
  #4
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23
maddalena will become famous soon enough
Hello Eric,
I used the inletOutlet boundary condition for a case similar to yours, see here. Scrolling the different posts you can see what the effects of imposing wrong boundary conditions for a spherical domain are.

As for you, I would suggest:
  • inletOutlet boundary conditions for U, k and epsilon,
  • zeroGradient for p,
at the external domains.
Hope that helps.
Cheers,
Maddalena.
maddalena is offline   Reply With Quote

Old   January 3, 2010, 17:59
Default
  #5
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
I am attempting to implement inletOutlet on a single boundary mesh using the skeleton files of the airfoil2d tutorial. When i try running simpleFoam it says "Starting time loop" and does nothing. Obviously I have specified the boundary conditions incorrectly, but I am not sure what they might be or where to find them. The airfoil2d tutorial used freestream on the inlet and outlet.

freestream is to inletOutlet
as frestreamValue is to ___________
& as freestreamPressure is to _____________

I found some pages in Doxygen but they were unhelpful to me.
http://foam.sourceforge.net/doc/Doxy...atchField.html
http://foam.sourceforge.net/doc/Doxy...atchField.html


It may be possible that I could figure out the required values from the source code, but I am uncertain where to look... thoughts?
ericnutsch is offline   Reply With Quote

Old   January 4, 2010, 13:27
Default
  #6
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
Thanks maddalena, your post was very helpful.

When using the airfoil2d tutorial case files:
freestream is to inletOutlet
as frestreamValue is to inletValue
& as freestreamPressure is to inletOutlet; inletValue uniform 0;

Works great!



Once I get a little more comfortable with it i will test the difference between inletOutlet and outletInlet.

Thanks again
Attached Images
File Type: png inletOutlet.png (38.4 KB, 135 views)
ericnutsch 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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 06:18


All times are GMT -4. The time now is 12:22.