


{"id":356286,"date":"2024-03-11T07:33:33","date_gmt":"2024-03-11T07:33:33","guid":{"rendered":"\/forum\/forums\/topic\/user-defined-function-error\/"},"modified":"2024-03-11T07:33:33","modified_gmt":"2024-03-11T07:33:33","slug":"user-defined-function-error","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/user-defined-function-error\/","title":{"rendered":"user defined function error"},"content":{"rendered":"<p>I was trying to simulate melting of PCM with some nanoparticles. with eulerian approach, I also developed a udf code&nbsp; to take care of melting of the PCM. as the solidification\/melting option is not compatible with eulerian approach.&nbsp;<\/p>\n<p>In the code there are some terms like &#8220;C_PHASE_INT&#8221; . when i tried to interpret the code, fluent is showing error as undeclared variable.<\/p>\n<p>Fluent does not have a built-in macro for the phase indicator ?<\/p>\n<p>is it true that using Fluent with the Eulerian model and the enthalpy-porosity approach, the phase indicator may not be directly accessible in a UDF. ?<\/p>\n","protected":false},"template":"","class_list":["post-356286","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["180184","199"],"_bbp_author_ip":["168.143.243.14"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["356"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["356286"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","180184"],"_bbp_voice_count":["2"],"_bbp_reply_count":["7"],"_bbp_last_reply_id":["359991"],"_bbp_last_active_id":["359991"],"_bbp_last_active_time":["2024-04-02 12:45:04"]},"test":"fero86"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/356286","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\/356286\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=356286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}