Ansys > Fluent

Need a UDF for averaged properties at the outlet

(1/1)

pitney1:
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.

piso:
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.

Navigation

[0] Message Index

Reply

Go to full version