We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Non-uniform heat flux UDF boundary condition around a cylinder

    • celinelim96
      Subscriber

      Hello all,

      I have been trying to write a heat flux UDF around a cylindrical tube to be applied as a boundary condition in Fluent, and I have been running into some issues regarding defining the "circumferential" direction of the cylinder tube for it to properly represent the heat flux around the tube.

      The heat flux I have obtained is through the SolTrace software for concentrating solar collectors. SolTrace outputs a plot for the non-uniform heat flux distribution along the circumference (x-axis) with respect to heat flux (y-axis) of a cylindrical receiver tube. My plan was to write a UDF code that plots a polynomial function of the non-uniform heat flux with respect to circumference of the cylindrical receiver tube, however, i've been running into a lot of errors as I am not sure how Fluent defines a circumference in this case. Is it by angle? Is it by Arc Length? It seems like my error occurred due to not having a good understanding on how Fluent measures/defines circumferential geometries for writing UDF.

      If anyone has any experience defining a heat flux UDF profile with respect to a circumferential tube, I would appreciate it if you have any insights on how I should write my UDF code to properly represent the non-uniform heat flux distribution around the tube in Fluent. Of if anyone can help with clarifying how Fluent measures/defines circumferential geometries for writing UDF that will be very helpful too!

      Thank you,

      Celine

    • Rob
      Forum Moderator
      You might want to look at profiles in Fluent - you'll need to check the format but will need x, y & z position and flux. All SI units.
    • Amine Ben Hadj Ali
      Ansys Employee
      .
Viewing 2 reply threads
  • The topic ‘Non-uniform heat flux UDF boundary condition around a cylinder’ is closed to new replies.