- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **how to plot Cp for unsteady flow past a cylinder**
(*https://www.cfd-online.com/Forums/openfoam-solving/116309-how-plot-cp-unsteady-flow-past-cylinder.html*)

how to plot Cp for unsteady flow past a cylinderhow to plot Cp for unsteady flow past a cylinder?
I use pimpleFoam to calculate Cd and Cl. but how to calculate Cp? and finally plot it vs. X Position Thanks! |

You can use Paraview to plot this. Just open your case, then use the calculator to compute the Cp by your own. Just apply the formula drom Cp.
The calculator looks like this: http://www.nti.tul.cz/cz/images/0/09...culator-15.png |

hi
What expression for example is suitable for total pressure? |

one more questionQuote:
Thanks! |

3 Attachment(s)
1) open your case with the wall only (or any patch)
2) use the calculator to get Cp Cp = (P - P_inf) / (1/2 * rho_inf * V_inf ^ 2) If you have a decomposed part, you need to select the step 1 (and not 0) to do the calculation. It seems that there is a bug if you use the first step. 3) use the filters -> plot on intersection curve to get the curve. You can also use the sampling function from openfoam but I never use it so I don't have any example. http://www.openfoam.com/features/run...processing.php |

All times are GMT -4. The time now is 12:23. |