{"id":169861,"date":"2023-05-15T08:32:56","date_gmt":"2023-05-15T08:32:56","guid":{"rendered":"\/knowledge\/forums\/topic\/is-it-possible-to-have-different-udf-code-for-serial-and-parallel-execution\/"},"modified":"2023-07-31T12:28:59","modified_gmt":"2023-07-31T12:28:59","slug":"is-it-possible-to-have-different-udf-code-for-serial-and-parallel-execution","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/is-it-possible-to-have-different-udf-code-for-serial-and-parallel-execution\/","title":{"rendered":"Is it possible to have different UDF code for serial and parallel execution?"},"content":{"rendered":"<p>Yes, it is possible by using the macros MULTIPLE_COMPUTE_NODE_P, ONE_COMPUTE_NODE_P or ZERO_COMPUTE_NOTE_P. For more details refer to the attached document and the documentation<\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-2B\/2055374\/2055374.pdf>2055374.pdf<\/a><\/p>\n","protected":false},"template":"","class_list":["post-169861","topic","type-topic","status-publish","hentry","topic-tag-19-1","topic-tag-fluent","topic-tag-fluid-dynamics","topic-tag-general-fluent","topic-tag-parallel","topic-tag-udf"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["05-15-2023  20:20:01"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["319"],"siebel_km_number":["2055374"],"product_version":["19.1"],"km_published_date":["2018-07-23T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["FLUENT"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/169861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/169861\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=169861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}