CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   wallHeatFlux utility for an incompressible case (

wyldckat August 21, 2018 08:25

Greetings to all!

@Nestor: My apologies for not getting back to you sooner on your post, but these past few years have been hectic on my side...

Either way, I've did feel the need myself to update this utility to OpenFOAM 5, so I've now published the updated code for OpenFOAM 5 and 6, provided here:

Best regards,

kakkapriyesh November 30, 2018 05:38


Originally Posted by eelcovv (Post 362191)

I modified the standard wallHeatflux utility which comes default with OF into a version for incompressible flows already a while ago. Also removed a bug out of the code. Well, have a look at the code, it works for me.

One remark though: the utility does not seem to work when you use groovyBC for your temperature boundary conditions. It does not crash, but the resulting wall heat flux will not be correct. In case you want to use this utility in combination with groovyBC, you have to edit your results file T and change all groovyBC bc's into fixedValues (while leaving the non-uniform list of temperature at the wall as generated by groovyBC). Then the generated heatflux will be correct.


Hi thanks alot,it works for postProcess now, I want to incorporate it to calculate average wall heat flux over a period of time(hence Nusselt number),by taking fieldaverage at each timestep. how to proceed for it? is there any other way i can calculate it? I am a newbie at OpenFoam4.x and am using LES and buoyantBoussinesqPimpleFoam.

wyldckat December 22, 2018 12:07

Quick answer: See this thread:

All times are GMT -4. The time now is 19:05.