Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General

General

Please describe how to get rid of the error message about an undeclared variable when using the C_DIFF_L macro?

    • FAQFAQ
      Participant

      If you are using a C_DIFF_L macro in the UDF and try to use the interpreter type, the following error will occur: DOMAIN_MULTICOMP_DIFF: undeclared variable C_DIFF_L macro must be used in the compilation type. The procedure for compiling the load of this UDF is as follows. 1.Define → User-Defined → Functions → open a panel in the Compiled 2.(will be compiled) Click Build button to specify the UDF 3.Click the Load button If you are using windows, you will need to install a compiler.