Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products

Interpreting mass transfer UDF

    • Pablo Ale Martos
      Subscriber

      Hello,

      When interpreting my mass transfer UDF, the console repeatedly prints a message saying "badly punctuated parameter list in `#define'". I have attached an image of my mass transfer UDF and the message printed in the console. What have I done wrong? Am I allowed to interpret this UDF or does it need to be compiled?

      Thank you in advance for your help.

    • Rob
      Ansys Employee

      It's generally better to compile, mainly for speed but the error reporting can be more useful. Not all macros can be Interpreted.  If the macros are available to hook up then it worked, but I'd go through and find out why there's a warning. 

      Just a comment, do you really think your experimental/derrived data for p1, p2 & p3 is really that precise? 

    • Pablo Ale Martos
      Subscriber

      I understand it is better to compile but given my UDF (see above image), can I interpret? Can the macro I use in my UDF be interpreted?

      I have reduced the precision of p1, p2, an p3 as you suggested.

    • Rob
      Ansys Employee

      The manual usually states if it must be compiled. The interpreter usually fails too if the macro needs compiling. 

      If you've reduced the precision, do you still get the same curve? 

Viewing 3 reply threads
  • You must be logged in to reply to this topic.