


{"id":169578,"date":"2022-05-19T04:21:27","date_gmt":"2022-05-19T04:21:27","guid":{"rendered":"\/forum\/forums\/topic\/non-uniform-heat-flux-udf-boundary-condition-around-a-cylinder\/"},"modified":"2022-05-19T19:26:06","modified_gmt":"2022-05-19T19:26:06","slug":"non-uniform-heat-flux-udf-boundary-condition-around-a-cylinder","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/non-uniform-heat-flux-udf-boundary-condition-around-a-cylinder\/","title":{"rendered":"Non-uniform heat flux UDF boundary condition around a cylinder"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hello all,<\/p>\n<p>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 &quot;circumferential&quot; direction of the cylinder tube for it to properly represent the heat flux around the tube. <\/p>\n<p>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&#039;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. <\/p>\n<p>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!<\/p>\n<p>Thank you,<\/p>\n<p>Celine<\/p>\n","protected":false},"template":"","class_list":["post-169578","topic","type-topic","status-closed","hentry","topic-tag-ansys-fluent","topic-tag-around-the-cylinder-1","topic-tag-geometry","topic-tag-heat-flux-bc-2","topic-tag-udf-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_btv_view_count":["696"],"_bbp_likes_count":["0"],"_bbp_subscription":["240799"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["169578"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","22555","166124"],"_bbp_voice_count":["3"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["215030"],"_bbp_last_active_id":["215030"],"_bbp_last_active_time":["2022-05-19 19:26:06"]},"test":"celinelim96"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/169578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/169578\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=169578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}