Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

Creating UDF but not obtaining expected result

    • Gregory Harrington
      Subscriber

      I am trying to create a user defined function to calculated adiabatic wall temperature on an airfoil surface. Adiabatic wall temperature is defined as Taw = Tstatic + Pr^1/3*(Ttotal - Tstatic) so the adiabatic wall temperature should not be lower than the static temperature.

      I created the UDF and then created a contour of the UDF on the airfoil surface. The adiabatic wall temperature UDF contour is several hundred degrees lower than the static temperature which was odd to me. I then made a UDF that is just the static temperature and plotted a contour of that. It should look identical to the static temperature contour but the UDF of static tempearture is also several hundred degrees lower than the static temperature. These two temperatures should be equal.

      Am I doing something wrong in my implementation of UDFs?

    • Rob
      Forum Moderator

      What wall boundary condition did you set? The example looks to be an expression, how are you linking the wall facet temperature to the adjacent cell temperature? 

Viewing 1 reply thread
  • You must be logged in to reply to this topic.