CAPE Forum
Ansys => Fluent => Topic started by: pitney1 on January 23, 2012, 08:39:38 PM
-
Hi,
I am looking for a UDF code that calculates average of the particles temperature exiting at the outlet boundary condition in Fluent. Each particle has a different temperature because each particle has a different size flowing in the heated air flow.
Any suggestions?
Thank you.
-
You will need to use:
DEFINE_ON_DEMAND macro.
You will also need DEFINE_DPM_BC to get the average of properties. Hook this macro to the boundary condition where you want the averaged properties.
At the end of simulation run, execute DEFINE_ON_DEMAND macro using execute_on_demand to display the averaged properties on the window.
I hope this helps.