-
-
May 25, 2023 at 12:51 pm
p.ale-martos16
SubscriberHello,
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.
-
May 25, 2023 at 3:14 pm
Rob
Forum ModeratorIt'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?
-
May 25, 2023 at 4:03 pm
p.ale-martos16
SubscriberI 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.
-
May 25, 2023 at 4:28 pm
Rob
Forum ModeratorThe 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?
-
- The topic ‘Interpreting mass transfer UDF’ is closed to new replies.
-
3492
-
1057
-
1051
-
955
-
932
© 2025 Copyright ANSYS, Inc. All rights reserved.