Author Topic: Need a UDF for averaged properties at the outlet  (Read 1923 times)

Offline pitney1

  • Jr. Member
  • **
  • Posts: 62
  • Reputation: +0/-0
  • Searching for solution
    • View Profile
Need a UDF for averaged properties at the outlet
« on: January 23, 2012, 08:39:38 PM »
Advertisement
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.


Offline piso

  • Newbie
  • *
  • Posts: 13
  • Reputation: +3/-0
  • Searching for solution
    • View Profile
Re: Need a UDF for averaged properties at the outlet
« Reply #1 on: January 25, 2012, 09:30:33 AM »
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.
« Last Edit: February 02, 2012, 05:18:51 PM by piso »