-
-
May 24, 2023 at 2:47 pmChris_gSubscriber
Hi everyone,
I am experiencing a weird issue in fluent, were I get the "error 126" after having an error during compiling from another UDF. So basically I compile a UDF, get a compiler error, fix the error, delete the libudf folder, compile again without any error, load the UDF and get the error 126. After that point it doesn't matter which UDF I compile (even very simple "Hello World" UDF) I will always get the error on loading. When I log out off and back into my account on the PC, the error is gone and the same UDFs as before compile and load fine up until I try to compile another UDF with an compiler error.
Do you have any idea on how to solve this problem?
I'm not sure if this is connected, but this problem only started recently after installing ANSYS Rocky (with fluent coupling).
Thanks for any help
Chris
-
May 25, 2023 at 8:01 amChris_gSubscriber
One correction: It doesn't have to be a compilation error, other errors can trigger this as well. Today, my simulation threw a SIGSEGV error. After restarting fluent, on auto-compiling and loading the UDF I also got the error 126 but no compiler error.
-
May 25, 2023 at 11:10 amRobForum Moderator
What is the UDF hooked into? Did you set the model up from scratch? I've seen a few issues when changing UDF.c files where the values the UDF needs to calculate the values used elsewhere didn't exist and caused a few errors.Â
-
May 25, 2023 at 1:45 pmChris_gSubscriber
I did some further investigation, there is an error in my UDF that causes the SIGSEGV. This error then somehow seems to cause the error 126. I will probably find the error in the UDF after some more searching, but my problem is the 126 error as it makes debugging very tedious, because I have to close all programms and log off and back on my PC before trying something else.
I think the error 126 is somehow caused by the Rocky installation. I have not seen it before that and I tried on several PCs. 2 have Rocky installed and throw this error. One doesn't have a Rocky installation and also don't produce this error. Is there something modified by the Rocky installation that causes this behaviour?
-
May 25, 2023 at 2:47 pmRobForum Moderator
If a UDF causes Fluent to fail you should just need to restart Fluent. Rocky does change a few things, but nothing that conflicts with standalone Fluent or the Clang compiler in Fluent. You are using the built in compiler?
-
- The topic ‘Occasional error 126’ is closed to new replies.
- error udf
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Diesel with Ammonia/Hydrogen blend combustion
- Fluent fails with Intel MPI protocol on 2 nodes
- Non-Intersected faces found for matching interface periodic-walls
- Encountering Error in Heterogeneous Surface Reaction
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Cyclone (Stairmand) simulation using RSM
- How to obtain axial and tangential velocity in CFX-post?
-
1131
-
468
-
460
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.