We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
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.