TAGGED: fluent, udf, udf-fluent
-
-
June 1, 2021 at 6:58 am
Abbasraza20000220
SubscriberHello 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 amRob
Forum ModeratorScroll up to see if there is anything more diagnostic.
June 1, 2021 at 11:37 amJune 1, 2021 at 12:03 pmAbbasraza20000220
SubscriberMr. 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 pmRob
Forum 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 pmDrAmine
Ansys 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 amAbbasraza20000220
SubscriberHi 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 pmRob
Forum 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 pmAbbasraza20000220
Subscriber2016 & 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 pmRob
Forum 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 pmAbbasraza20000220
SubscriberSame 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 pmRob
Forum 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 amRob
Forum ModeratorNo, that's the error on LOADING. What extra text is above what you've posted?
June 4, 2021 at 12:09 pmDrAmine
Ansys 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 pmsv1104
SubscriberHas 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 Tavares
SubscriberHello, 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 amRob
Forum 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- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.Â
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- Suppress Fluent to open with GUI while performing in journal file
- error: Received signal SIGSEGV
Top Contributors-
8786
-
4658
-
3151
-
1678
-
1468
Top Rated Tags© 2023 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.
-