Fluids

Fluids

Topics relate 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
      Ansys Employee

      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
  • You must be logged in to reply to this topic.