|
[Sponsors] |
how to get the mean pressure coefficient around a cylinder |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Qin Zhang
Join Date: May 2012
Posts: 10
Rep Power: 14 ![]() |
Hi All,
I am conducting 3D flow simulation around circular cylinder with OpenFOAM. Currently, I want to get the mean pressure coefficient distribution around cylinder surface. I found there are many post-processing function existing in OpenFOAM, but I don't know which one can be used to get the pressure distribution around the center of pipeline with time. I can use paraView or Tecplot to output the pressure distribution at once a time, but don't know how to get the average value over a period of time. I also tried to output the pressure with "Probe" function, but without good luck. Hopefully, somebody in this forum can share their experience to me. Thanks in advance |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 ![]() |
To average the pressure during the simulation you can use the fieldAverage function object in the controlDict file.
The data can be used by the sample utility to create files with the mean pressure on surfaces, points, lines etc. Search in the forum for examples and let me know if something doesn't work. What was the problem with the probes? You can get the mean value using probes too. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Qin Zhang
Join Date: May 2012
Posts: 10
Rep Power: 14 ![]() |
Quote:
Thank you for your advice. I used surfaceSampling function to output the cylinder surface points, then selected the centre section points and put in probes function. The error indicated that the point position cannot be found. I think it may due to the point is on the surface, not in the flow field. OpenFOAM has many good post-processing function, but without proper demonstration. I will try to follow your guide. Many thanks, Qin |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Thomas Boucheres
Join Date: May 2013
Posts: 41
Rep Power: 13 ![]() |
Hello,
the quickest way is to work with the faceSource postprocessing tool. It performs some operations (typically mean, max, min and so on) on face sources which can be patches, faceZone, sampledSurface. Nice for your case since you have to work on a patch... See src/postProcessing/functionObjects/field/fieldValue. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9 ![]() |
Though an old post but may be useful to someone.
I am using sampleDict: Code:
field ( p ); surfaces ( walls_interpolated { type patch; patches ("cylinderWall"); // interpolation true; } ); |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
static vs. total pressure | auf dem feld | FLUENT | 17 | February 26, 2016 14:04 |
Pressure coefficient | Giuseppe | FLUENT | 2 | July 26, 2015 04:19 |
Compression stoke is giving higher pressure than calculated | nickjuana | CFX | 62 | May 19, 2015 14:32 |
Pressure Coefficient around cylinder | RealENG22 | FLUENT | 3 | March 24, 2013 09:56 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |