


{"id":33724,"date":"2019-03-06T02:23:59","date_gmt":"2019-03-06T02:23:59","guid":{"rendered":"\/forum\/forums\/topic\/pid-temperature-control-in-fluent-using-udf\/"},"modified":"2019-03-06T02:23:59","modified_gmt":"2019-03-06T02:23:59","slug":"pid-temperature-control-in-fluent-using-udf","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pid-temperature-control-in-fluent-using-udf\/","title":{"rendered":"PID temperature control in Fluent using UDF."},"content":{"rendered":"<p>I have a simple plate (cavity of Injection Mold). I have Cartridge heater to heat it. Now I want to control the maximum temperature of the plate to not exceed more than&nbsp;180 deg or 453K. I apply simple logic of ON\/OFF control and write UDF in Fluent to control it. It works fine. But we know that ON\/OFF control is used for a simple application.&nbsp; In actual practice for Mould, we use the PID controller. It helps to quickly set back to the target temperature when it gets deviates due to the injection of the material inside the mould.<\/p>\n<p><\/p>\n<p>Manual tuning of PID is difficult and I have to do that for my case. I try to write UDF or PID logic. I found for one parameter (Kp, Ki, Kd) testing, My simulation takes 30 minutes to complete the simulation. Because I don&#8217;t have the mathematical modelling of my thermal system and I depend on Fluent to receive&nbsp;data after every time-step.<\/p>\n<p><\/p>\n<p>Now, my question is&nbsp;Fluent can do lots of complex simulation and probably we can&#8217;t make mathematical modelling of it. If we need to find the PID parameter to control particular&nbsp;output for those simulations. What&#8217;s the actual way to do that?<\/p>\n<p><\/p>\n<p>Can MATLAB functions of PID be used in Fluent?<\/p>\n<p><\/p>\n<p>Could you please provide me with something\/example to learn how to implement a PID controller into the Fluent simulation?<\/p>\n<p><\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-33724","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["5896"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0","0","0","0","0"],"_btv_view_count":["1992"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["33724"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","156292"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["79865"],"_bbp_last_active_id":["79865"],"_bbp_last_active_time":["2019-03-08 10:57:21"]},"test":"suraj9735"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/33724","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\/33724\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=33724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}