CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Circular averaging of wallheatflux (https://www.cfd-online.com/Forums/openfoam-post-processing/149079-circular-averaging-wallheatflux.html)

daniel54431 February 25, 2015 09:57

Circular averaging of wallheatflux
 
Hello foamers,

I’m simulating a pipe with research interest on heat transfer.
I calculated the wallheatflux with the appropriate tool from OF.
What i need now is the circular average of the wallheatflux in every
position along the pipe axis.
I tried to use the sample dict for this purpose.
1. option here was to to extract the wallheatflux for the whole boundary
patch "walls" and then manipulate that list e.g. in matlab or so.
But this is not so easy and the list always depends on the grid.
So for several grid that seems not so appropriate for me (but it works)
2. option I had was to use the set "circle" in the sample dict. But there
I had the problem that not all points were extracted
(see this thread http://www.cfd-online.com/Forums/ope...tml#post533060 )
And further i think because of the interpolation, the extracted values are a bit smaller
than the exact values on the boundary patch.
(I compared these values to those from matlab and indeed they were smaller)
No more options i could imagine at the moment.
So the questions is are there other possibilities to do a circular averaging
of the wallheatfluxes in OF postprocessing?

Thanks in advance!

Daniel

lastjedivol September 13, 2019 10:50

Quote:

Originally Posted by daniel54431 (Post 533361)
Hello foamers,

I’m simulating a pipe with research interest on heat transfer.
I calculated the wallheatflux with the appropriate tool from OF.
What i need now is the circular average of the wallheatflux in every
position along the pipe axis.
I tried to use the sample dict for this purpose.
1. option here was to to extract the wallheatflux for the whole boundary
patch "walls" and then manipulate that list e.g. in matlab or so.
But this is not so easy and the list always depends on the grid.
So for several grid that seems not so appropriate for me (but it works)
2. option I had was to use the set "circle" in the sample dict. But there
I had the problem that not all points were extracted
(see this thread http://www.cfd-online.com/Forums/ope...tml#post533060 )
And further i think because of the interpolation, the extracted values are a bit smaller
than the exact values on the boundary patch.
(I compared these values to those from matlab and indeed they were smaller)
No more options i could imagine at the moment.
So the questions is are there other possibilities to do a circular averaging
of the wallheatfluxes in OF postprocessing?

Thanks in advance!

Daniel


Hello Daniel, i am sorry to recover an old thread but did you manage to find another solution to your problem? I am facing the same averaging problem right now as you, but for velocity along pipe axis.


Thank you in advance!


All times are GMT -4. The time now is 04:23.