CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF for reading radiative heat flux (https://www.cfd-online.com/Forums/fluent-udf/232375-udf-reading-radiative-heat-flux.html)

ssa_cfd December 11, 2020 08:34

UDF for reading radiative heat flux
 
Hi all,

I want to read the radiative heat flux from DO model or the P1 radiation model from the cells.

There is a macro BOUNDARY_RAD_HEAT_FLUX(f,tf) for reading the heat flux values from the wall. But I want to read the heat flux from the interior cells.

I tried to read the heat flux of interior faces with the BOUNDARY_RAD_HEAT_FLUX and average them to get the heat flux of the cell. But it is working only with the boundary faces and not with the interior faces.

Is there any other macro available for reading the heat flux from the interior cells?

Thanks.
senthil.

AlexanderZ December 14, 2020 00:53

from my point of view, radiative heat flux is not defined on interior boundary condition. Actually, all faces, where radiative source is calculated are defined while you are preparing model.


All times are GMT -4. The time now is 01:31.