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

Cp values larger than 1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2017, 08:14
Default Cp values larger than 1
  #1
New Member
 
stergiani
Join Date: Mar 2017
Posts: 9
Rep Power: 9
stergiani is on a distinguished road
Hei,

I'm running simpleFoam for air flow around buildings and I want to calculate the Cp values on the facades. The weird thing is that I get values way greater than 1, around 1.2, which seems wrong for my incompressible flow.
The inlet pressure is set at 0, so I guess my reference pressure is equal to 0.
I checked air viscosity and velocity profiles, and everything looks normal.
Any ideas on what I have missed?
Thanks

Stergiani
stergiani is offline   Reply With Quote

Old   November 15, 2017, 02:58
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
Well in incompressible flow, your pressure is not in Pascals but in Pa/rho .I do not recall the c_p expression very well but can the density influence your results?

matej
matejfor is offline   Reply With Quote

Old   November 15, 2017, 04:08
Default
  #3
New Member
 
stergiani
Join Date: Mar 2017
Posts: 9
Rep Power: 9
stergiani is on a distinguished road
Hei, Matej.
Thank you for your reply.
Yes, I have checked it and still get extreme values, around 1.5
I calculate the Cp by the following equation Cp=(p-p0)/(1/2*ρ*Uref^2).
Since my pressure in inlet and outlet is set to 0, I guess that p0=0.
Could it be that my domain is small, and although it looks like the solution is converged, I get wrong results?
Thanks

Stergiani
stergiani is offline   Reply With Quote

Old   November 15, 2017, 04:41
Default
  #4
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
Hmmm....
I guess the pressure difference is multiplied by density in your incompressible place.
As the c_p looking at the coefficient takes only the static pressure difference from the simulation, if the numbers are wrong, it must the pressure. To get a good pressure distribution on the surface you need to make sure your mesh is correct. For your RANS simulation you need to have a good prismatic layer with a proper y+ values. And good convergence.
matejfor is offline   Reply With Quote

Old   November 15, 2017, 07:22
Default
  #5
New Member
 
stergiani
Join Date: Mar 2017
Posts: 9
Rep Power: 9
stergiani is on a distinguished road
Thanks, Matej!
I improved my mesh and everything looks better. The convergence is good, but my yplus is around 200. And I'm a bit confused about yplus, cause some take it very small, but others consider even up to 300. Any insight?
Sorry, for the many questions, but it's my first time working on CFD

Stergiani
stergiani is offline   Reply With Quote

Old   November 15, 2017, 08:04
Default
  #6
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
Now you have landed on a very special ground. BL modelling is still a question in CFD. OpenFOAM is using highRe wall functions where your y+ should be around 30-300. Unless you are resolving the BL with a number of cells

Please have a look here: https://www.openfoam.com/documentati...urbulence.html

and read any book on CFD, e.g. https://www.amazon.com/Introduction-...lalasekera+cfd
or similar.
matejfor is offline   Reply With Quote

Old   November 15, 2017, 08:47
Default
  #7
New Member
 
stergiani
Join Date: Mar 2017
Posts: 9
Rep Power: 9
stergiani is on a distinguished road
I have already got the book you suggested, so I'd better start studying
Thank you for all the help!

Stergiani
stergiani is offline   Reply With Quote

Reply

Tags
pressure distribution


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
using chemkin JMDag2004 OpenFOAM Pre-Processing 2 March 8, 2016 22:38
cyclic BC - modify boundary face values marluc OpenFOAM Programming & Development 0 May 4, 2015 16:50
Velocity values are normal but pressure values are too big rv82 OpenFOAM Running, Solving & CFD 4 April 13, 2015 03:59
Setting patch field values equal to internal field values leroyv OpenFOAM Programming & Development 1 October 21, 2014 15:49
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 12:04


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