CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User 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 Search this Thread Display Modes
Old   April 16, 2014, 17:59
Default Formula to link pressure and Cp in surface_flow.csv?
  #1
Member
 
Join Date: Sep 2013
Posts: 43
Rep Power: 12
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, 10:17
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
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 Search this Thread
Search this Thread:

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



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