|
[Sponsors] |
Formula to link pressure and Cp in surface_flow.csv? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2014, 17:59 |
Formula to link pressure and Cp in surface_flow.csv?
|
#1 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
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? |
|
April 18, 2014, 10:17 |
|
#2 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Quote:
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 |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|