Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

how to calculate avg temp at outlet?

    • pc_singh
      Subscriber
      Suppose a fluid is flowing between two parallel plates (and exchanging heat) for 100-time steps. So, there is an area weighted Average temperature at every 10 steps. How can I write an UDF to calculate average of these 10 temperatures and display this on console? n
    • Rob
      Forum Moderator
      With some difficulty unless you use something like DEFINE_ON_DEMAND or the like. Have a look at data sampling as that'll average the whole flow field over the period it's active and you can then report the mass-average temperature on the outlet. Have a look at the maths behind area-weighted and mass-weighted and explain which you should use & why. n
    • pc_singh
      Subscriber
      Thank you sirn
Viewing 2 reply threads
  • The topic ‘how to calculate avg temp at outlet?’ is closed to new replies.
[bingo_chatbox]