UDF for a constant heat flux minus radiation based on face temperature
I am trying to write a UDF which takes a total constant heat flux boundary condition, but also accounts for the radiative loses. I would like it to use the local face temperature to determine the net heat flux that should be applied at that node face.
If this is possible I would greatly appreciate some information. Or if there is a better way of accounting for surface-to-ambient radiative loses, I would gladly take that advice. Thanks, Mario |
If I am not wrong, there are no macros for obtaining radiation related information on node, cell or face. You may have to manually process data exported from Export-->Solution Data option.
|
You could use your own calculation for radiation losses inside a custom boundary condition using a DEFINE_PROFILE macro. Loop through the faces using begin_f_loop and end_f_loop. The face temperature could be found with F_T(f,t) and the ambient temperature could either be found in another cell zone (if you are simulating the surrounding environment) or hard coded.
|
All times are GMT -4. The time now is 14:29. |