Hey to all of you.
I am here to ask a question. I am facing an error while compiling. Seniors please give your suggestions in order to sort it out.
Please see the attached picture.
Thanks in Advance!
Scroll up. The error I can see there is that you don't have a compiled library: so either you've missed the "build" step or it's failed.
Thanks a lot for your response!
Please see the attached picture & give your suggestions why its not building in library.
Please check following.
How to access Ansys Online Help Document
How to show full resolution image
Guidelines on the Student Community
How to use Google to search within Ansys Student Community
Thanks a lot sir!
I am using 16.1 version of Ansys. I am working through Team viewers & I cannot restart. Secondly, What I am getting error you can see its a bit different & interesting thing, the same UDF is interpreted easily without any error along with running but while compiling its giving error in the below pictures.
Lastly, I have been writing in simple notepad and converting in .c. Just for information, the problem is not because of 32 bit or 64 bit C source ?
Isn't like this?
Thanks in advance!
16.1 is very old version and not supported.
Please use latest version.
Please have a look at
The interpreter is a lightweight function in Fluent that avoids the need for a full C compiler: however it lacks access to many of the macros within Fluent.
In 2020Rx and newer we added a CLANG compiler into Fluent (or rather installed along with Fluent) so you can compile without needing to get MS Studio to work.
The solution to your issue is to use interpreted UDF (works but may not be optimal and does not allow full access to all macros), follow @kkanade 's suggest to install MS Studio (make sure to pick a version that works with R16, probably about the 2010-2012 version) or (recommended) update to the current release, 2020R2 (nearly 2021R1) rather than continue to use code that's about to be 6 full releases out of date.
Ansys customers with active commercial software licenses can access the
customer portal and submit support questions. You will need your active account number to register.