|
[Sponsors] |
April 9, 2015, 09:32 |
Circumferential Averaging
|
#1 |
Senior Member
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18 |
Dear foamers,
In a post-processing phase or eventually at runtime, I would like to make some homogeneity check of my flow field at the outlet of my domain. You can see in the picture attached, the problem that I am currently simulating. The flow is entering the domain by the tube at the top and leaving the domain at the bottom where the speed is plotted. At this specific place, I need to check the azimuthal homogeneity of my speed. Thus, for a certain number of radius, I need to compute the average of speed circumferentially and then the difference between the local speed and the circumferential average. I am interested in the maximum value of this difference for each radius from Rmin to Rmax. Does anyone know how I could do that either in OpenFOAM or Paraview? Thanks in advance for any tip you can give me. Vincent |
|
April 10, 2015, 04:53 |
|
#2 |
Senior Member
|
Hi Vincent,
I think you maybe able to use the clip filter on your patch in ParaView. Then use a Sphere as Clip Type. Do this twice and you should be able to get an annulus of the outletpatch (select or deselect the Inside Out box, you have to play around with this). Then do integrate variables to get your average in the circumferential direction. You would have to check how many steps you would like to take in the radial direction of course. Regards, Tom Last edited by tomf; April 10, 2015 at 04:55. Reason: typo |
|
April 10, 2015, 08:20 |
|
#3 |
Senior Member
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18 |
Hi Tom,
Thanks for your reply. We actually found a way to do the full loop with macros in Tecplot, so that will be enough for now. It would have been nice to get it at runtime, but I don't really have much time to dig into swakExpressions to do it. I'll look at it later if I find more time. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure averaging at the outlets. | KM | CFX | 6 | April 1, 2021 06:28 |
Starting field averaging using libFunctionObject after certain time | eelcovv | OpenFOAM Programming & Development | 25 | December 7, 2015 22:28 |
Radial Distribution chart (circumferential averaging) | Hoyskipoyski | CFX | 0 | February 25, 2015 05:53 |
Circumferential Averaging with time-averaged Massflow | CFXstudent26 | CFX | 0 | May 27, 2013 11:26 |
When to use mass flow averaging | cspectre | CFX | 2 | December 6, 2009 05:30 |