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

How to setup Opening BCs?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2015, 09:05
Default How to setup Opening BCs?
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Dear OpenFOAMers,

In my flow domain, i have one inlet and one outlet. Actually, these are both openings. I have an impeller inside, so, whether it is an inlet or outlet depends on direction of impeller rotation. How to specify BC in this situation?

Thanks!

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   January 6, 2016, 04:47
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Not sure if it will work, but maybe you can use totalPressure for p combined with pressureInletOutletVelocity for U on both sides.

Regards,
Tom
wayne14 likes this.
tomf is offline   Reply With Quote

Old   January 6, 2016, 07:40
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Tom,

Thanks for the reply!

This is what I used:

U
inlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
--------------
p
inlet
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho none;
psi none;
gamma 1;
value uniform 0;
}
outlet
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho none;
psi none;
gamma 1;
value uniform 0;
}
-----------------------

Laminar case seems to work fine. However, sometimes I got trouble with kOmegaSST model. But, that could be due to bad k/omega BCs/ICs. I am still learning turbulence modeling.

Pei-Ying
phsieh2005 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
How to setup cyclic BCs in simpleFOAM hhuang84 OpenFOAM Running, Solving & CFD 14 December 8, 2016 11:39
Are extruded boundaries good practice for opening BCs as well? J_Keel CFX 1 March 5, 2015 21:20
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 00:27
'opening' type BCs with LES KK CFX 4 February 14, 2008 12:06
Opening Vs outlet BCs and temporary wall issue Sam CFX 0 January 16, 2008 18:59


All times are GMT -4. The time now is 05:56.