CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

how to plot Cp for unsteady flow past a cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By fredo490

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2013, 21:41
Default how to plot Cp for unsteady flow past a cylinder
  #1
New Member
 
Derek2580
Join Date: Nov 2012
Posts: 8
Rep Power: 14
rogerliu is on a distinguished road
how 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!
rogerliu is offline   Reply With Quote

Old   April 16, 2013, 23:49
Default
  #2
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17
fredo490 is on a distinguished road
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:
fredo490 is offline   Reply With Quote

Old   April 17, 2013, 00:20
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
hi
What expression for example is suitable for total pressure?
immortality is offline   Reply With Quote

Old   April 17, 2013, 01:04
Default one more question
  #4
New Member
 
Derek2580
Join Date: Nov 2012
Posts: 8
Rep Power: 14
rogerliu is on a distinguished road
Quote:
Originally Posted by fredo490 View Post
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:
but the Cp I want to plot (vs. X position) is just around the object (e.g. cylinder), how can I capture the pressure value on the cylinder surface??

Thanks!
rogerliu is offline   Reply With Quote

Old   April 17, 2013, 01:09
Default
  #5
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17
fredo490 is on a distinguished road
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
Attached Images
File Type: png 1.png (93.1 KB, 89 views)
File Type: jpg 2.jpg (32.6 KB, 82 views)
File Type: jpg 3.jpg (36.1 KB, 71 views)
immortality and Gang Wang like this.
fredo490 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD help: flow past cylinder harsha00711 Main CFD Forum 1 December 24, 2010 22:19
Flow past 2 smooth circular cylinder slip FLUENT 0 July 8, 2010 19:45
meshing for flow past a cylinder karthik FLUENT 1 July 15, 2005 07:17
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31
Simulation of the Flow past a circular cylinder using STAR-CD M. S. GUEROUACHE Main CFD Forum 0 October 1, 1998 11:51


All times are GMT -4. The time now is 21:06.