TAGGED: udf
-
-
July 17, 2023 at 4:47 am
Dubey92
SubscriberI 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
Â
-
July 17, 2023 at 8:28 am
Rob
Forum ModeratorThe 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.Â
-
July 17, 2023 at 4:28 pm
-
July 17, 2023 at 4:36 pm
Dubey92
SubscriberNevermind. Got it. Two variables had same symbol. Thanks.
-
-
Viewing 1 reply thread
- The topic ‘Issue with UDF compilation’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
- Script Error Ansys
Top Contributors
-
2532
-
933
-
787
-
599
-
591
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.