UDF to calculate average heat flux
I am running a steady axisymmetric simulation (turbomachinery flow). During steady simulations, the wall heat flux oscillated due to unsteady and 3D nature of the flow (and I am forcing to solve it using steady axisymmetric approach).
I want to cumulatively average the wall heat flux w.r.t iterations ie.,
Let q_i = heat flux on a wall face at 'i' th iteration
and so on
After the computations, I am planning to output the average heat flux (qav) on all the walls using
Which UDF I need to use and please give some leads so that I can write it myself.
Thanks in advance
|All times are GMT -4. The time now is 21:11.|