


{"id":163402,"date":"2021-10-26T13:15:27","date_gmt":"2021-10-26T13:15:27","guid":{"rendered":"\/forum\/forums\/topic\/fluent-crashing-with-no-error-message-when-initialising-simulation-with-new-udfs\/"},"modified":"2021-10-26T13:46:36","modified_gmt":"2021-10-26T13:46:36","slug":"fluent-crashing-with-no-error-message-when-initialising-simulation-with-new-udfs","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-crashing-with-no-error-message-when-initialising-simulation-with-new-udfs\/","title":{"rendered":"Fluent crashing with no error message when initialising simulation with new UDF&#8217;s"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>I wrote some new UDF&#039;s to give Fluent more accurate dynamical viscosity and thermal conductivity values for Hydrogen. Previously I had a more basic UDF just giving data for 1atm, now I am providing data for a large range of pressures and temperatures. The UDF reads in data taken from a NASA CEA simulation using a .csv file. The UDF checks the pressure from fluent, then fills a temporary array of the corresponding conductivity values. Then the UDF checks the temperature from fluent and linearly interpolates the conductivity from that temporary array.<\/p>\n<p>When attempting to initialize the simulation with the new UDF&#039;s compiled, Fluent crashes almost instantly and doesn&#039;t give any error message. Clearly it&#039;s the new UDF&#039;s causing the crash, but I don&#039;t know why. The only meaningful change to the old udf&#039;s is this one reads in a .csv file. Any ideas for why this causes a crash?<\/p>\n<p><\/p>\n<\/p>\n<p>I would like to give the code here but it exceeds the max character count.<\/p>\n","protected":false},"template":"","class_list":["post-163402","topic","type-topic","status-closed","hentry","topic-tag-ansys-fluent","topic-tag-crash","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":["789"],"_bbp_likes_count":["0"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["163402"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","184339"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["195811"],"_bbp_last_active_id":["195811"],"_bbp_last_active_time":["2021-10-26 13:46:36"]},"test":"ham"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/163402","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\/163402\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=163402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}