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.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Issue with UDF compilation

TAGGED: 

    • Dubey92
      Subscriber

      I am compiling a UDF for my simulation but it is showing errors which are not there in the code. I am already using UDFs for my other simulations and they are working fine. I built a new model and tried to compile my UDF and it is giving syntax errors in the code. But I have checked thoroughly, those errors are not there. I have attached the image of the errors. Please someone help. Thank you

       

    • Rob
      Forum Moderator

      The first line suggests a missing semi-colon.  Check the line above that too - once one of those goes missing you can get a load of false errors as the compiler flags things it thinks are on a single line of code. 

      • Dubey92
        Subscriber

        I really don't understand. I haven't faced this type of situation before. I don't think any punctuation is missing in the lines flagged.

         

      • Dubey92
        Subscriber

        Nevermind. Got it. Two variables had same symbol. Thanks.

Viewing 1 reply thread
  • The topic ‘Issue with UDF compilation’ is closed to new replies.
[bingo_chatbox]