{"id":161715,"date":"2023-01-25T07:16:47","date_gmt":"2023-01-25T07:16:47","guid":{"rendered":"\/knowledge\/forums\/topic\/what-are-the-steps-in-using-a-udf-in-my-fluent-case-file\/"},"modified":"2023-07-31T12:35:46","modified_gmt":"2023-07-31T12:35:46","slug":"what-are-the-steps-in-using-a-udf-in-my-fluent-case-file","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/what-are-the-steps-in-using-a-udf-in-my-fluent-case-file\/","title":{"rendered":"What are the steps in using a UDF in my Fluent case file?"},"content":{"rendered":"<p>UDFs can be used in one of two possible ways, compiled or interpreted.  COMPILED UDFs  1. Compile the UDF  a . Define > User-Defined > Functions > Compiled b.  Browse and add the relevant .c and .h files in appropriate columns c.  Build \u2013 this will create the libudf directory  2. Click the Load button to load the UDF  3. Hook the functions in appropriate places 4. Run the simulation  INTERPRETED UDFs  1. Interpret the UDF a. Define > User-Defined > Functions > Interpreted b. Browse and add the relevant files c. Interpret  2. Hook functions in appropriate places  3. Run simulation<\/p>\n","protected":false},"template":"","class_list":["post-161715","topic","type-topic","status-publish","hentry","topic-tag-fluent","topic-tag-fluid-dynamics","topic-tag-general-fluent","topic-tag-other","topic-tag-udf","topic-tag-user-defined-functions"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"_bbp_last_active_time":["1-24-2023  20:20:00"],"_btv_view_count":["5305"],"siebel_km_number":["1000462"],"product_version":["Other"],"km_published_date":["2009-09-02T20:55:15.000Z"],"family":["Fluid Dynamics"],"application_name":["FLUENT"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161715","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\/161715\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=161715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}