{"id":161632,"date":"2023-01-25T07:16:31","date_gmt":"2023-01-25T07:16:31","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-access-the-electric-potential-and-its-derivatives-in-ansys-fluent-udf\/"},"modified":"2023-07-31T12:35:37","modified_gmt":"2023-07-31T12:35:37","slug":"how-to-access-the-electric-potential-and-its-derivatives-in-ansys-fluent-udf","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-access-the-electric-potential-and-its-derivatives-in-ansys-fluent-udf\/","title":{"rendered":"How to access the electric potential and its derivatives in ANSYS Fluent UDF ?"},"content":{"rendered":"<p>The scalar variable C_PHI_1(c,tc) returns the value of the electric potential in the cell c of the thread tc.  The vector C_PHI_1_G(c,tc)[i] returns the ith component of its gradient.   It can be useful to compute the electric field or to customize the Joule effect (source term in the energy equation).<\/p>\n","protected":false},"template":"","class_list":["post-161632","topic","type-topic","status-publish","hentry","topic-tag-4422","topic-tag-fluent","topic-tag-fluid-dynamics","topic-tag-general","topic-tag-general-fluent","topic-tag-udf"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"_bbp_last_active_time":["1-24-2023  20:20:19"],"_btv_view_count":["3342"],"siebel_km_number":["2048866"],"product_version":["18"],"km_published_date":["2017-03-22T22:13:18.000Z"],"family":["Fluid Dynamics"],"application_name":["FLUENT"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161632\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=161632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}