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

Formula to link pressure and Cp in surface_flow.csv?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2014, 16:59
Default Formula to link pressure and Cp in surface_flow.csv?
  #1
Member
 
Join Date: Sep 2013
Posts: 38
Rep Power: 3
Combas is on a distinguished road
I want to use data in files "surface_flow.csv" to do some post-processing, and I have a problem with the "Pressure" and "Pressure_Coefficient" fields: indeed, I think I should get Cp = (P - 1) * Pref / Pdyn since "P" seems to be a relative value (it is always around 1)
with Pdyn = 0.7 * Pref * Mach²
and Pref the value given in "REF_PRESSURE" field.

But it does not work and I don't find what is the formula used in SU2 to link pressure and Cp.

Is there anyone that has an idea?
Combas is offline   Reply With Quote

Old   April 18, 2014, 09:17
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Stanford, CA
Posts: 301
Rep Power: 5
fpalacios is on a distinguished road
Quote:
Originally Posted by Combas View Post
I want to use data in files "surface_flow.csv" to do some post-processing, and I have a problem with the "Pressure" and "Pressure_Coefficient" fields: indeed, I think I should get Cp = (P - 1) * Pref / Pdyn since "P" seems to be a relative value (it is always around 1)
with Pdyn = 0.7 * Pref * Mach²
and Pref the value given in "REF_PRESSURE" field.

But it does not work and I don't find what is the formula used in SU2 to link pressure and Cp.

Is there anyone that has an idea?
Hi,

The pressure coefficient is computed in the subroutine void CEulerSolver::Inviscid_Forces(CGeometry *geometry, CConfig *config) that you can find in the file solver_direct_mean.cpp

Best,
Francisco
fpalacios is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:04.