CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Total pressure compressible flow (https://www.cfd-online.com/Forums/openfoam-post-processing/195106-total-pressure-compressible-flow.html)

cyril2304 October 31, 2017 07:18

Total pressure compressible flow
 
hello all,
I am working on scramjet inlet
i want total pressure recovery
so when we calculated total pressure results from fluent and OpenFoam are very different.
rest pressure(static),density,MachNO.velocity matches well.

fluent uses formula
Pt = Po *(1+ (kappa-1)*M^2 /2)^(kappa/kappa-1)

for openFoam i used postProcess utility totalPressureCompressible
results are not matching up
can u guys help

tomf November 1, 2017 04:47

That is because OpenFOAM uses:

p_t=p_{ref}+p+0.5*\rho*U^2
which should equal the Fluent value only in isentropic flow conditions.

You can find some explanation on the funtionObjects in the cpp source guide

I would suggest to use a ParaView calculator to use the same formulation as Fluent.

Regards,
Tom


All times are GMT -4. The time now is 07:20.