


{"id":301702,"date":"2023-08-16T13:38:23","date_gmt":"2023-08-16T13:38:23","guid":{"rendered":"\/forum\/forums\/topic\/udf-for-accessing-the-interfacial-area-density-of-cell\/"},"modified":"2023-08-16T13:45:50","modified_gmt":"2023-08-16T13:45:50","slug":"udf-for-accessing-the-interfacial-area-density-of-cell","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/udf-for-accessing-the-interfacial-area-density-of-cell\/","title":{"rendered":"UDF for accessing the interfacial area density of cell"},"content":{"rendered":"<p>Hello everyone, I have a question that I would like to seek your advice on!<\/p>\n<p>In the Eulerian Two-Fluids Model (also known as the Eulerian Model) of ANSYS FLUENT, I&#8217;m interested in utilizing a User-Defined Function (UDF) to access the interfacial area Ai of grid cells. This interfacial area Ai refers to the interfacial area of the mixture per unit volume in a two-phase flow. While examining the header files provided by ANSYS, I have come across two macros that might be capable of accessing Ai. However, I&#8217;m uncertain about the meanings of their parameters and haven&#8217;t been able to find information about them in the user manual. Hence, I&#8217;m reaching out to all of you for guidance.<\/p>\n<p>These two macros are MP_IAD_INDEX(i, j) and C_MP_AREA_DENSITY(c, t, index). The first macro seems to potentially return a parameter &#8216;index&#8217; required in the second macro, but I&#8217;m unsure about this and I also lack a clear understanding of how these macros are employed. Right now, my goal is to understand the functions of these macros and whether they can truly be employed to access the interfacial area Ai. Additionally, I&#8217;m uncertain about the role of parameter &#8216;t&#8217; and which thread it pertains to (mixture thread, primary phase thread, or secondary phase thread).<\/p>\n<p>I genuinely appreciate your assistance and response!<\/p>\n","protected":false},"template":"","class_list":["post-301702","topic","type-topic","status-closed","hentry","topic-tag-multiphaseudfevaporationdpmspeciestransportdefinesourcesourcetermeulerianlagrangian-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["291444","199"],"_bbp_author_ip":["96.7.218.215"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["469"],"_edit_lock":["1692193553:227586"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["301702"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","291444"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["301933"],"_bbp_last_active_id":["301933"],"_bbp_last_active_time":["2023-08-17 15:05:35"]},"test":"1105808579qq-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/301702","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\/301702\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=301702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}