


{"id":157670,"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-2\/"},"modified":"2021-01-07T11:53:16","modified_gmt":"2021-01-07T11:53:16","slug":"udf-compilation-problem-in-ansys-fluent-2020-r2-2","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/udf-compilation-problem-in-ansys-fluent-2020-r2-2\/","title":{"rendered":"UDF compilation problem in ANSYS Fluent 2020 R2"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hi,<\/p>\n<p>Please find attached images for error messages. Here, I tried to compile the customizable UDF from ANSYS fluent manual. <\/p>\n<p>I used &quot;in-built compiler&quot; <strong>and <\/strong>&quot;MS Visual studio19 compiler (trying all available answers)&quot;.<\/p>\n<p>The errors are <strong>either<\/strong> &quot;&#039;C:UsersyashrDesktopansystutsansystuts_filesdp0FFFFluentlibudfwin642ddp_node&gt;C:PROGRA~1ANSYS Incv202fluent\/..\/commonfiles\/CPython\/3_7\/winx64\/Release\/python\/scons&nbsp;C:PROGRA~1ANSYS&#039; is not recognized as an internal or external command, operable program or batch file.&quot; <strong>OR<\/strong> &quot;(chdir &quot;libudf&quot;)(chdir &quot;win642ddp_node&quot;)&#039;nmake&#039; is not recognized as an internal or external command, operable program or batch file.&quot;<\/p>\n<p>Also, I didn&#039;t find option to start fluent 2020R2 in serial mode. Resulting in &quot;The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).&quot; error.<\/p>\n<div class=\"embedExternal embedImage\">\n<div class=\"embedExternal-content\">\n<a class=\"embedImage-link\" href=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/GKB0GKXI0SGO\/1-jpg.jpg\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n<img decoding=\"async\" class=\"embedImage-img\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/GKB0GKXI0SGO\/1-jpg.jpg\" alt=\"1.JPG\" \/><br \/>\n<\/a><\/p>\n","protected":false},"template":"","class_list":["post-157670","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_author_ip":[""],"_bbp_old_reply_author_name_id":["Anonymous"],"_bbp_old_is_reply_anonymous_id":["false"],"_btv_view_count":["846"],"_bbp_likes_count":["0"],"_bbp_subscription":["255543"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["157670"],"_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":["176080"],"_bbp_last_active_id":["176080"],"_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\/157670","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\/157670\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=157670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}