CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Plotting pressure on cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By davibarreira

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2015, 10:41
Default Plotting pressure on cylinder
  #1
New Member
 
Niels D
Join Date: Nov 2015
Posts: 4
Rep Power: 10
Slein is on a distinguished road
Hello,

I made a model to determine te pressure around a cylinder in a uniform flow. Is there a possibility to plot the pressure for every point around the cylinder. For example the pressure in function of the polar coordinate theta?

Thanks in advance,

Niels
Slein is offline   Reply With Quote

Old   January 15, 2016, 19:34
Default
  #2
Member
 
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 12
davibarreira is on a distinguished road
I dont know if you are still interested on this, since it has been almost a month. But anyways, yes there is a way, but the way I do it you need some programming. Well, for me, I like to use python for postprocessing, so here is how you can do this.

First, you need a sampleDict so you can sample the cylinder surface by using the utility "sample" (once you have the sampleDict in the system folder, just run "sample" from the terminal, you can find examples of the sampleDict in the motorbike tutorial). After you done this, you got the pressure values for your cylinder, what is left to do is to transform the results in polar coordinate. This is now simple math, since you have the x, y and z coordinates of each point.

Hope this helps. If you need more specifics, just let me know.
davibarreira is offline   Reply With Quote

Old   December 17, 2020, 07:02
Default plotting pressure variation over cylinder
  #3
New Member
 
vikrant kumar jaiswal
Join Date: Jan 2020
Posts: 1
Rep Power: 0
Vikrant kumar jaiswal is on a distinguished road
I need to know how to plot pressure vs theta?
so please help me
Vikrant kumar jaiswal 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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
pressure distribution and drag for a surface piercing cylinder in OCF kevinmccartin FLUENT 1 May 19, 2016 12:46
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
UDF to control Static Pressure (in cylinder) James FLUENT 0 July 20, 2004 07:54


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