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.

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