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

Boundary conditions - same velocity boundary field in the inlet and outlet

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By jherb
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2016, 14:02
Default Boundary conditions - same velocity boundary field in the inlet and outlet
  #1
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
Dear all,

I would like to impose the following boundary conditions for the incompressible flow in a channel.

The pressures are known at the inlet and at the outlet.
The velocity boundary field in the inlet is equal to the velocity boundary field at the outlet. They can be non-uniform.

For the pressure I am using ./0/p:

inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type fixedValue;
value uniform 0;
}

For the velocity, I can't find the appropriate boundary condition. Could you please advise me on that?

Best wishes,

Thomas
t.oliveira is offline   Reply With Quote

Old   June 13, 2016, 18:04
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
If you specify velocities (fixedValue) at both inlet and outlet as well as pressure on both, you will (very likely) run into numerical instabilities.

Normal advice is to use fixedValue for pressure at the outlet and zeroGradient at the inlet. For the velocity it is the other way around: fixedValue at inlet and zeroGradient (or inletOutlet) at the outlet.
t.oliveira likes this.
jherb is offline   Reply With Quote

Old   June 13, 2016, 18:08
Default
  #3
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
Dear jherb,

I don't want to specify fixedValue for velocities, but to impose that the velocity boundary field in the inlet be equal to the velocity boundary field at the outlet.

Best wishes,
Thomas
t.oliveira is offline   Reply With Quote

Old   June 13, 2016, 18:40
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Do you mean cyclic boundary conditions?
jherb is offline   Reply With Quote

Old   June 13, 2016, 19:07
Default
  #5
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
Yes, but just for the field U, not for every field.
t.oliveira is offline   Reply With Quote

Old   June 13, 2016, 19:20
Default
  #6
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Have you seen these threads:
http://www.cfd-online.com/Forums/ope...et-outlet.html
http://www.cfd-online.com/Forums/ope...tml#post440282
http://www.cfd-online.com/Forums/ope...sure-drop.html
t.oliveira likes this.
jherb is offline   Reply With Quote

Reply

Tags
boundary condition


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 60 July 17, 2024 06:45
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 11:19.