We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

How to access the electric potential and its derivatives in ANSYS Fluent UDF ?

    • FAQFAQ
      Participant

      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).