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

zeroGradient bc at the wall for pressure

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By Andrea_85
  • 2 Post By niaz
  • 1 Post By Andrea_85
  • 4 Post By niaz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2012, 05:50
Default zeroGradient bc at the wall for pressure
  #1
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16
Andrea_85 is on a distinguished road
Hi all,
i have a question regarding the zeroGradient boundary condition that is normally imposed for pressure at wall, when no-slip velocity is imposed. This approximation is not always valid for example with complex curvilinear boundaries, at moving walls or when large pressure gradients exist towards the wall. However i have the impression that this is the standard bc if no-slip is imposed for velocity. So my question is which is the physical/numerical origin of this bc? Is it linked to the predictor-corrector splitting? or are there any other reasons?

best regards

andrea
saidc. likes this.
Andrea_85 is offline   Reply With Quote

Old   June 9, 2012, 14:56
Default
  #2
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 122
Rep Power: 16
niaz is on a distinguished road
Dear Andrea
it is derived from navier-stocks. firstly, the conduction terms go to zero by order of magnitude method comparing to convection terms, and then the convection terms go to zero because the velocity value is zero. therefore, the pressure gradient goes to zero.
but based on physique concept, it shows that there is no flux through wall.
but I, like many students, believe that it is not a real boundary condition and it can affect some part of calculated parameter such as drag.
granzer and JasmineFeng like this.
niaz is offline   Reply With Quote

Old   June 10, 2012, 03:54
Default
  #3
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16
Andrea_85 is on a distinguished road
Hi and thanks for reply

If you take NS (steady-state, incompressible, single-phase, mu constant) equations dot product with normal vector at the wall you will get this condition for normal component of pressure gradient

dP/dn = (1/Re) (n \cdot \nabla^2 u) + (n \cdot f) , with f any body force.

Now what i am saying is that put to zero the laplacian term in the above expression is not always valid. If the flow is parallel to the surface (poiseuille flow for example) it is easy to show that this term is zero and the right condition is dP/dn = 0, but if the flow is not parallel to the surface it is not correct, and if you have gravity for example you have at least account for hydrodtatic pressure. however my impression is that this condition is always used without taking care about the type of flow.

best
andrea
utkunun likes this.
Andrea_85 is offline   Reply With Quote

Old   June 10, 2012, 04:05
Default
  #4
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 122
Rep Power: 16
niaz is on a distinguished road
Dear Andrea
you can find your answer in this pdf.
http://www.ualberta.ca/~madhavan/zer...nt_at_wall.pdf
but I said that it predicts pressure a bit more than usual. you can test it by a cylinder and check pressure force to real cases. the best form for bc is that Patankar says "if the velocity is known, the pressure does not need bc." or p`(wall)=0. but we cannot develop it in of.
nimasam, ernsa, andrejssab and 1 others like this.
niaz is offline   Reply With Quote

Old   June 10, 2012, 04:33
Default
  #5
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16
Andrea_85 is on a distinguished road
I totally agree with .pdf, for poiseuille flow in a channel it is the correct condition for pressure, as i said in the previous post. and i also agree with the fact that if the velocity is known at the boundary you don't need at all a pressure bc (the problem comes from laplace equation that instead needs a boundary condition for pressure). So, if i have understood well, even if you don't need and it is not correct for every type of situations, dp/dn=0 is the condition that must be assigned if no-slip is used for velocity? and if there's gravity or other body forces, which is the condition that has to be used?

best

andrea
Andrea_85 is offline   Reply With Quote

Old   June 15, 2012, 04:44
Default
  #6
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
Hi Andrea,

have you looked ad this thread:
http://www.cfd-online.com/Forums/ope...servation.html

I see that in the PISO algorithm if the flux throug the wall is zero the second derivate of pressure orthogonal to the wall must be zero, too. I changed from zeroGradient to buoyantPressure at my slope with no-slip bc for velocity, and the results look the same, but I use quite coarse meshes for shallow landslide simulations.
vonboett is offline   Reply With Quote

Old   June 15, 2012, 05:33
Default
  #7
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16
Andrea_85 is on a distinguished road
HI,
yes, i have seen that. I think that if g=0 buoyantPressure and zeroGradient give the same conditions and the correction when there's gravity is consistent to my second post. what i am saying is that there are many other situation in which zeroGradient for pressure might give wrong results and what i don't undesrtand is if this condition is a consequence of the PISO implementation. If the 2° derivate of pressure must be zero at the wall if the flux is zero, this does not mean necessarily that the first derivate is zero..

best
andrea
Andrea_85 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
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 12 October 1, 2018 06:36
Very technical question about solving wall boundary layer ... jlb001 FLUENT 6 December 27, 2014 05:56
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
Wall functions? Pr Main CFD Forum 7 April 8, 2004 06:15
Quick Question - Wall Function D.Tandra Main CFD Forum 2 March 16, 2004 04:29


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