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

Adding imaginary patch for calculation of average values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2009, 08:58
Default Hello OF'ers, I am simulati
  #1
New Member
 
Bart Boonacker
Join Date: Mar 2009
Posts: 7
Rep Power: 17
bboonacker is on a distinguished road
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
bboonacker is offline   Reply With Quote

Old   February 17, 2009, 10:20
Default hi Bart have a look in anot
  #2
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
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
antonio_ing is offline   Reply With Quote

Old   February 17, 2009, 10:30
Default Hi Bart, Have a look at the
  #3
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
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
santos is offline   Reply With Quote

Old   February 20, 2009, 06:13
Default Hello Jose, Thanks for the
  #4
New Member
 
Bart Boonacker
Join Date: Mar 2009
Posts: 7
Rep Power: 17
bboonacker is on a distinguished road
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
bboonacker is offline   Reply With Quote

Old   June 2, 2009, 00:00
Default
  #5
New Member
 
Subodh Kumar
Join Date: Apr 2009
Location: India
Posts: 9
Rep Power: 17
Subodh is on a distinguished road
Send a message via Yahoo to Subodh
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
Subodh 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
How to get average values? pa-Hung FLUENT 6 July 6, 2020 12:06
Adding a field on patch in parallel jaswi OpenFOAM Running, Solving & CFD 6 February 2, 2008 14:18
average values in fluent sankar FLUENT 0 July 11, 2006 23:04
Average values robert CFX 3 December 12, 2005 03:50
Adding all the values in a post register Cb Siemens 3 March 11, 2005 14:40


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