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

pressure boundary condition in openFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Lieven

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2013, 12:04
Default pressure boundary condition in openFoam
  #1
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
hi foamers,
i am working on 2D multi elemet airfoil. i use simpleFoam,and k-epsilon turbulence model.
i have a question about the boundary condition and fvsolution:
1- can any one tell me, the pressure that we set for pressure boundary condition at inlet is absolute for gauge pressure?
2- what is difference between pReffValue and pRefCell in fvSolution in openFoam?
thanks for any one who can help me
Regards

Last edited by s.m; April 14, 2013 at 05:05.
s.m is offline   Reply With Quote

Old   April 13, 2013, 21:06
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 23
Lieven will become famous soon enough
Dear s.m,

1. I'm not familiar with the term gave pressure but what I can tell you that might help you is that the absolute pressure in an incompressible fluid simulation is not important. The fluid properties do not depend on it (as opposed to compressible flow). So whether you set the inlet to 0 Pa, 10 Pa, or 1e5 Pa will not influence your velocity field, nor will it influence your pressure gradients. It will not even influence the colors you see in paraFoam, just the value related to them.

2. pReffValue (e.g. 0 Pa) is the value of the pressure you set in pRefCell (e.g. cell 1000). These values are used when you only set Neumann boundary conditions for the pressure field. If you set a pressure at the inlet or outlet however, you just need to provide a value for these parameters but they will not be used.

Hope this helps...

Cheers,

L
Lieven is offline   Reply With Quote

Old   April 14, 2013, 05:10
Default
  #3
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
Quote:
Originally Posted by Lieven View Post
Dear s.m,

1. I'm not familiar with the term gave pressure but what I can tell you that might help you is that the absolute pressure in an incompressible fluid simulation is not important. The fluid properties do not depend on it (as opposed to compressible flow). So whether you set the inlet to 0 Pa, 10 Pa, or 1e5 Pa will not influence your velocity field, nor will it influence your pressure gradients. It will not even influence the colors you see in paraFoam, just the value related to them.

2. pReffValue (e.g. 0 Pa) is the value of the pressure you set in pRefCell (e.g. cell 1000). These values are used when you only set Neumann boundary conditions for the pressure field. If you set a pressure at the inlet or outlet however, you just need to provide a value for these parameters but they will not be used.

Hope this helps...

Cheers,

L

hi Lieven
thanks a lot, i mean gauge pressure, sorry for bad English
s.m is offline   Reply With Quote

Old   April 15, 2013, 03:54
Default the value for pressure and rhoInf
  #4
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
Dear Lieven
when i want solve incompressible turbulent flow around airfoil using simpleFoam solver in openFoam,
i need to initialize pressure at 0 folder, my question is that the value that i should set for pressure at outlet is absolute(10e5 pa) or gauge(0 pa)?
what about initializing pressure for solving compressible turbulent flow around airfoil?
another question i have is about the value for "rhoInf" in "forceCoeffs" function at controlDict folder, we should set it to 1 or 1000 ?
i am confused, please help me understand them,thanks a lot
s.m is offline   Reply With Quote

Old   April 15, 2013, 04:17
Default
  #5
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 23
Lieven will become famous soon enough
Dear s.m.

For initializing the pressure, you have a few options but the easiest is a uniform value equal to the fixedValue at the inlet or outlet. I usually take an outlet pressure of 0 Pa. Depending on the flow, this could be a bad initial estimate and the solver will crash shortly after starting the simulation. If this is the case, you might want to try to run potentialFoam first.

Related to the compressible flow, I haven't worked with it so I can't help you from experience. However, my guess is that the pressure and the density should be the absolute values that you expect. Setting the initial conditions should be similar to the incompressible case (but in terms of absolute values).

Cheers,

L
immortality likes this.
Lieven is offline   Reply With Quote

Old   April 15, 2013, 04:28
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
hi
rhoInf is about 1.25 if you have air
immortality 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
Pressure boundary condition C-H Kuo Main CFD Forum 18 September 16, 2016 04:19
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
high pressure boundary condition fragzilla CFX 5 September 14, 2012 03:40
flow in duct-fixed pressure boundary condition sepidehkavousi Main CFD Forum 9 May 20, 2012 13:11
Pressure Inlet Boundary Condition Issue zoeburton1987 FLUENT 0 May 15, 2012 10:20


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