


{"id":294338,"date":"2023-07-24T23:27:10","date_gmt":"2023-07-24T23:27:10","guid":{"rendered":"\/forum\/?post_type=topic&#038;p=294338"},"modified":"2023-07-24T23:39:07","modified_gmt":"2023-07-24T23:39:07","slug":"converting-heat-flux-to-heat-source-using-udf-code","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/converting-heat-flux-to-heat-source-using-udf-code\/","title":{"rendered":"Converting heat flux to heat source using UDF code"},"content":{"rendered":"<p><a class=\"wp-colorbox-image cboxElement\" href=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/07\/24-07-2023-1690240809-mceclip1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/07\/24-07-2023-1690240809-mceclip1.png\" width=\"438\" height=\"213\"><\/a><\/p>\n<p>I have a 2D CFD model where rectangle 1 is inserted within rectangle 2. Rectangle 1 represents the cross section of a material with finite length and width, and rectangle 2 represents the cross section of a vacuum chamber where the material is placed. I have to model the heat flux boundary condition onto the surface of rectangle 1 as a heat source boundary condition. Could there be a way to convert heat flux to heat source using UDF code? Heat flux is non-uniform, and I can&#8217;t really convert heat flux to heat source boundary condition by hand because this is a 2D problem.&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-294338","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":["23.206.193.154"],"_bbp_subscription":["289922","199"],"_wp_old_date":["2023-07-21"],"_btv_view_count":["1021"],"_edit_lock":["1690241895:224937"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["294338"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","289922"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["295097"],"_bbp_last_active_id":["295097"],"_bbp_last_active_time":["2023-07-27 09:07:36"]},"test":"jons0226g-ucla-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/294338","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\/294338\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=294338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}