May 25, 2023 at 12:51 pmPablo Ale MartosSubscriber
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 pmRobAnsys 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?
May 25, 2023 at 4:03 pmPablo Ale MartosSubscriber
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.
May 25, 2023 at 4:28 pmRobAnsys 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?
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Limitations to Student License?
- Not seeing any items in the ANSYS Workbench toolbox?
- Missing Analysis Systems from toolbox
- “An error occurred while starting the solver module.” – Maybe licence problem?
- FLUENT application Failed to start
- Please recommend the configuration of the computer workstation
- No license available at this time
- ANSYS License Manager Error
- I am using MacBook Pro with M1chip, how can I install or any other ways to use Ansys ?
- Your product license has numerical problem size limits…..
© 2023 Copyright ANSYS, Inc. All rights reserved.