


{"id":281781,"date":"2023-05-01T13:46:38","date_gmt":"2023-05-01T13:46:38","guid":{"rendered":"\/forum\/forums\/topic\/ansys-compiles-wrong-functions\/"},"modified":"2023-05-01T13:46:38","modified_gmt":"2023-05-01T13:46:38","slug":"ansys-compiles-wrong-functions","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/ansys-compiles-wrong-functions\/","title":{"rendered":"ansys compiles wrong functions"},"content":{"rendered":"<p>I have an adjust function which i want to attach as a udf and run for a simulation. I have some parameters in the adjust function which change through the simulation through the define on demand and i run the simulation with the aid of a TUI.<\/p>\n<p>When I restart the simulation, I put a copy of the original adjust function I created.<\/p>\n<p>the original function had a parameter dp = 50<\/p>\n<p>after running 10 rounds the dp value is now 100.<\/p>\n<p>I want to restart the simulation i put a copy of the original adjust function that i have which has a value of dp=50. when i do this I make sure that I unload the udf, and recompile the udf with the original adjust function. so now why does ansys still take the updated adjust function which has dp = 100?<\/p>\n<p>why does Ansys still take the changed just function when I restart and run the simulations? I even unload the udf and recompile it every time.<\/p>\n<p>please let me know why this happens. this is so annoying when you compile a different file and ansys still takes the old files. How do I fix this?<\/p>\n","protected":false},"template":"","class_list":["post-281781","topic","type-topic","status-closed","hentry","topic-tag-define_adjust-1","topic-tag-fluent","topic-tag-udf"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["125602","15180"],"_bbp_author_ip":["23.192.164.14"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["228"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["281781"],"_bbp_forum_id":["27792"],"_bbp_engagement":["15180","125602"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["282157"],"_bbp_last_active_id":["282157"],"_bbp_last_active_time":["2023-05-03 12:20:27"]},"test":"satrincsu-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/281781","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\/281781\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=281781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}