|
[Sponsors] |
Adding imaginary patch for calculation of average values |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Bart Boonacker
Join Date: Mar 2009
Posts: 7
Rep Power: 18 ![]() |
Hello OF'ers,
I am simulating pipe flows and I have a question concerning the calculation of average velocities and pressures. Is it possible to add something like an additional, imaginary, patch at a specified point in order to calculate the averages ? I know it is possible within Paraview, but I am looking for something like patchAverage, although I do not want to use the Inlet or Outlet patch. Thanks in advance, Bart |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 18 ![]() |
hi Bart
have a look in another post regarding "pressure coefficients" in "Running / Solving / CFD". There someone suggested me to use probe points that save for each time you will store the value of velocity or pressure or whatever you want. hope this helps antonio |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
|
Hi Bart,
Have a look at the sample utility, that lies in $FOAM_UTILITIES/postProcessing/sampling/sample. In that path you have a sampleDict dictionary, that I believe is self-explanatory. Just place that dictionary in the system directory of your case, and make the necessary adjustments to get the values belonging to the plane your are interested in. Regards, Jose Santos |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Bart Boonacker
Join Date: Mar 2009
Posts: 7
Rep Power: 18 ![]() |
Hello Jose,
Thanks for the tip, it works perfectly. Now I only have to average the pressure on each surface and then I'm done ![]() Bart |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
|
Hi Bart,
Did you able to calculate average from sampled data for planes. Though my patch is not a plane but i have sampled data, and I want to calculate average value from it. Can you help me out ?? Thanks in advance Subodh |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get average values? | pa-Hung | FLUENT | 6 | July 6, 2020 11:06 |
Adding a field on patch in parallel | jaswi | OpenFOAM Running, Solving & CFD | 6 | February 2, 2008 13:18 |
average values in fluent | sankar | FLUENT | 0 | July 11, 2006 22:04 |
Average values | robert | CFX | 3 | December 12, 2005 02:50 |
Adding all the values in a post register | Cb | Siemens | 3 | March 11, 2005 13:40 |