


{"id":48268,"date":"2020-09-20T04:43:15","date_gmt":"2020-09-20T04:43:15","guid":{"rendered":"\/forum\/forums\/topic\/udf-compilation-problem-in-ansys-fluent-2020-r2\/"},"modified":"2021-04-28T18:25:36","modified_gmt":"2021-04-28T18:25:36","slug":"udf-compilation-problem-in-ansys-fluent-2020-r2","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/udf-compilation-problem-in-ansys-fluent-2020-r2\/","title":{"rendered":"UDF compilation problem in ANSYS Fluent 2020 R2"},"content":{"rendered":"<p>Hi,nPlease find attached images for error messages. Here, I tried to compile the customizable UDF from ANSYS fluent manual. nI used in-built compiler <strong>and <\/strong>MS Visual studio19 compiler (trying all available answers).nThe errors are <strong>either<\/strong> &#8216;C:\\Users\\yashr\\Desktop\\ansystuts\\ansystuts_files\\dp0\\FFF\\Fluent\\libudf\\win64\\2ddp_node>C:\\PROGRA~1\\ANSYS Inc\\v202\\fluent\/..\/commonfiles\/CPython\/3_7\/winx64\/Release\/python\/scons\u00a0C:\\PROGRA~1\\ANSYS&#8217; is not recognized as an internal or external command, operable program or batch file. <strong>OR<\/strong> (chdir libudf)(chdir win64\\2ddp_node)&#8217;nmake&#8217; is not recognized as an internal or external command, operable program or batch file.nAlso, I didn&#8217;t find option to start fluent 2020R2 in serial mode. Resulting in The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64). error.n<img src='https:\/\/us.v-cdn.net\/6032193\/uploads\/GKB0GKXI0SGO\/1-jpg.jpg\" width='1914\" height='1032\" \/><img src='https:\/\/us.v-cdn.net\/6032193\/uploads\/VAWNCI8WJRI9\/2-jpg.jpg\" width='1912\" height='1005\" \/><img src='https:\/\/us.v-cdn.net\/6032193\/uploads\/YYP4GBZ2XUMH\/3-jpg.jpg\" width='1200\" height='269\" \/><img src='https:\/\/us.v-cdn.net\/6032193\/uploads\/MBJ46S81TA3S\/4-jpg.jpg\" width='607\" height='311\" \/><img src='https:\/\/us.v-cdn.net\/6032193\/uploads\/5PUZMELKJMDJ\/5-jpg.jpg\" width='1004\" height='209\" \/>n<\/p>\n","protected":false},"template":"","class_list":["post-48268","topic","type-topic","status-closed","hentry","topic-tag-problem","topic-tag-udf","topic-tag-udf-compilation","topic-tag-udf-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["20488"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["closed"],"_bbp_author_ip":["???C"],"_bbp_old_sticky_status_id":["normal"],"_bbp_status":["publish"],"_bbp_likes_count":["0","0","0","0","0"],"_btv_view_count":["5551"],"_bbp_subscription":["255543"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["48268"],"_bbp_forum_id":["27792"],"_bbp_engagement":["25","62","199","177637","181421","181494","182772"],"_bbp_voice_count":["7"],"_bbp_reply_count":["16"],"_bbp_last_reply_id":["137946"],"_bbp_last_active_id":["137946"],"_bbp_last_active_time":["2021-01-07 11:53:16"]},"test":"yash54321"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/48268","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\/48268\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=48268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}