CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   OF and Cp (https://www.cfd-online.com/Forums/openfoam/192130-cp.html)

badoumba August 29, 2017 05:43

OF and Cp
 
Hi guys,

Many external aerodynamics visuals use Cp as scalar. Can I generate these values directly from an OF function instead of calculating them in Paraview?

Thanks!

tomf August 30, 2017 03:55

Hi,

Yes you can via a pressure functionObject. A preconfigured example can be found in:

Code:

$FOAM_ETC/caseDicts/postProcessing/pressure/staticPressure.cfg
For the coefficient you would have to change the line

Code:

calcCoeff    no;
to

Code:

calcCoeff    yes;

badoumba September 1, 2017 13:45

Thanks Tomf.

Also available as postProcess function, which is perfect for me.


All times are GMT -4. The time now is 11:24.