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

Boundary Conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2017, 15:17
Default Boundary Conditions
  #1
New Member
 
Livia Adinolfi
Join Date: May 2017
Posts: 15
Rep Power: 8
liviaadi is on a distinguished road
Dear Foamers,

I am a new user of CFD and I am struggling to understand how to impose boundary conditions.
For example I am not understanding why I have to specify simultaneously conditions on pressure and velocity. I was expecting that I have to impose one and have the other as output.

Thanks !
liviaadi is offline   Reply With Quote

Old   July 13, 2017, 00:25
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
In principle it is possible to have a flow both, pressure and velocity driven. I know such boundary conditions are rare, but physical possible. To specify the system you have to give all the physics.

If you want to have a velocity determined inflow or outflow, the pressure gradient is zero and this has to be set. It is best using this b.c if possible. Somewhere in the field you have to give a pressure reference point.

If you want to drive your flow by a pressure difference, you have to set the pressure profile at the boundary. You have a free outflow or inflow then and have to set this: Gradient of velocity is zero.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   July 15, 2017, 15:35
Default
  #3
New Member
 
Livia Adinolfi
Join Date: May 2017
Posts: 15
Rep Power: 8
liviaadi is on a distinguished road
Thank you very much for the answer.
I have understood that I can consider a flow driven by a pressure difference at inlet and outlet and in this case I have to set the condition zeroGradient for the velocity.
If I am imposing a velocity profile I have to consider zeroGradient for pressure. Is that correct ?

If this is true, I still do not understand why.
In fact, if I am imposing a velocity profile it is not true that the pressure gradient is zero. So this is what I am not understanding.

Thanks !
liviaadi is offline   Reply With Quote

Old   July 15, 2017, 23:06
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
> In fact, if I am imposing a velocity profile it is not true that the pressure gradient is zero.

Yes, that may be at your problem. In that case (that you know the pressure gradient for you case) simply set it.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


All times are GMT -4. The time now is 02:41.