


{"id":230813,"date":"2022-08-10T07:46:23","date_gmt":"2022-08-10T07:46:23","guid":{"rendered":"\/forum\/forums\/topic\/definition-of-cell-0-and-cell-1-in-udf-manual\/"},"modified":"2022-08-10T07:46:23","modified_gmt":"2022-08-10T07:46:23","slug":"definition-of-cell-0-and-cell-1-in-udf-manual","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/definition-of-cell-0-and-cell-1-in-udf-manual\/","title":{"rendered":"Definition of &#8220;cell 0&#8221; and &#8220;cell 1&#8221; in UDF manual"},"content":{"rendered":"<p>Hi, everyone<\/p>\n<p>This is the problem about acessing cell value, such as C_U , C_T ,and so on , between two cells divided by an interface or interior.<\/p>\n<p>Picture below is a simple 2D mesh,&nbsp; the way I acess the cell centroid is providing a &#8220;Face thread&#8221; to UDF, which could be obtained from interface\/interior ID. The problem is , which cell value did I actually get? Is the above one adjacent to the fluid zone, or the one&nbsp; adjacent to the porous zone?<\/p>\n<p>P.S: There&#8217;s only F_C0 and F_C1 in UDF Manual, which is not the cell value. Interstingly, I got the null value of F_C1 when I replaced F_U(c0,t0) with F_U(c1,t1).&nbsp;<\/p>\n<p>Please help me to clarify which cell is chosen by UDF when the boundary is interface and interior, respectively.<\/p>\n<p>Thanks a lot!<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/08\/10-08-2022-1660116999-mceclip0.png\"><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-230813","topic","type-topic","status-closed","hentry","topic-tag-fluent-ansys-1","topic-tag-udf"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["187703","199"],"_bbp_author_ip":["23.48.94.52"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1075"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["230813"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","187703"],"_bbp_voice_count":["2"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["230870"],"_bbp_last_active_id":["230870"],"_bbp_last_active_time":["2022-08-10 14:36:12"]},"test":"eric_lee"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/230813","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\/230813\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=230813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}