TAGGED: fluent, udf, udf-fluent
-
-
June 1, 2021 at 6:58 amAbbasraza20000220Subscriber
Hello to all of you.
I am writing to ask a query that I have been using 2019 full version Ansys for my work. Now I install student version and try to run simulations. The same UDF is not being interpreted giving error. What is the reason? Can any one threw light over this issue?
Please find the attachment. What to do? I have written in .c extension. 2019 and 2016 were not giving any error.
Regards,
Abbas Raza
June 1, 2021 at 11:23 amRobForum ModeratorScroll up to see if there is anything more diagnostic.
June 1, 2021 at 11:37 amJune 1, 2021 at 12:03 pmAbbasraza20000220SubscriberMr. Rob Any suggestion ? I didn't get error on 2019 & 2016. Furthermore, Can you tell me how to use in built clang compiler ? any useful video or comments?
Regards Abbas Raza
June 1, 2021 at 12:07 pmRobForum ModeratorTo use the CLANG compiler tick the box that says "use included compiler" in the Compiler panel. The .c.c shouldn't cause a problem, try without the spaces in the file name.
June 1, 2021 at 12:34 pmAmine Ben Hadj AliAnsys EmployeeCompile it and report using the built-in compiler. If having issues compile a dummy UDF or an example from the manual where the same DEFINE_ Macro is used.
June 2, 2021 at 10:51 amAbbasraza20000220SubscriberHi Mr Rob & Dr Amine,
I used in built compiler option, it proceed further but on loading it gives error below:
In the conventional way while interpreting, I want to add it gives error in line 187 etc... then after few seconds turns in to error in line 15. This type of error I didn't get in the previous versions. Please see the below attachment. My udf consists hardly 100 lines. First it says error in 187 then error in line 15.
Lastly, I tried a simple UDF it interpreted what it is given in manual. It progresses but on running the simulation window of fluent shutsdown.
Seeking your advice in this matter.
Regards Abbas Raza
June 2, 2021 at 1:28 pmRobForum ModeratorWhat does it say above what you posted when using the included compiler?
June 2, 2021 at 4:52 pmJune 2, 2021 at 4:54 pmAbbasraza20000220Subscriber2016 & 2019 did not give error with this udf. why this version? Any different thing in this version?
Regards Abbas Raza
June 3, 2021 at 12:00 pmRobForum ModeratorNo issues with the macro. The error means you haven't compiled the code, what happens when you try and compile?
June 3, 2021 at 12:42 pmAbbasraza20000220SubscriberSame error. ran off line 15. Even though I have added spaces and tried but error again in line 15.
Is student version has limitation for UDF? As its a lengthy UDF almost of 80 LINES.
Regards Abbas Raza
June 3, 2021 at 1:43 pmRobForum Moderator80 lines isn't lengthy, and I'm not aware of any limitations.
What is the compiler error? Please post all of it.
June 4, 2021 at 2:57 amJune 4, 2021 at 11:29 amRobForum ModeratorNo, that's the error on LOADING. What extra text is above what you've posted?
June 4, 2021 at 12:09 pmAmine Ben Hadj AliAnsys Employee1/Open Fluent Standalone (outside of the workbench)
2/Compile the UDF and load it
3/Read the case file
What does happen?
May 5, 2022 at 10:18 pmsv1104SubscriberHas this been resolved ?
I seem to have the same issue with ANSYS 21R2 Fluent. I was unsuccessful with clang (inbuilt compiler), visual studios (19 and 22), and the standalone bootup. The compilation process begins, creates a libudf folder inside the FFF folder, which misses the libudf.dll file. I previously have run the same udf sequences on ansys 21R1 and everything worked fine.
November 10, 2023 at 12:15 amNicole Pan TavaresSubscriberHello, I’m using Ansys Student 2023 R2, and I'm getting the same problem. I tried to copy every step from a youtube channel, and i got the same problem, and on the video was everything okay. I thought the problem was using the right paste from the working directory, but I wasn't able to solve it. Please any help?
In the video, was made a "txt" file for the UDF and it was loaded on the "interpreter".ÂNovember 10, 2023 at 11:04 amRobForum ModeratorIf you're interpreting a .c file you may find not all of the macros are supported. If you compile using the built in compiler (Win10/11 only) what happens?Â
Viewing 18 reply threads- The topic ‘UDF is not interpreting in 2021R new versions (student)’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors-
1241
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 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.
-