Error opening UDF library file in ANSYS Fluent journal file: Error code 126

dgnidovec
dgnidovec Member Posts: 1
edited June 2023 in Fluids

Hello ANSYS community,

I'm encountering an issue when trying to run a Fluent simulation with UDF (User-Defined Function) libraries. I have followed the necessary steps to set up the simulation, including compiling the UDF library and specifying the correct paths. However, I'm receiving an error when Fluent tries to open the UDF library file.

Here are the details of the error:

  • Opening library file: "C:\Users\DOMENG~1\Desktop\FLUENTtest\libudf"
  • Error code: 126

I have verified the UDF library path, checked file permissions, and ensured compatibility with the Fluent version. Despite these efforts, I'm still encountering the error.

I'm running the simulation from Mathematica, and interestingly, when I run it from the command line, it works without any issues. However, when running it from Mathematica, the error occurs. In the attached image there is the part of the output, where the error occurs and the simulation breaks as a result.

I would appreciate any insights or suggestions to resolve this issue. Has anyone encountered a similar problem before? Is there a known workaround or solution? Any guidance would be greatly appreciated.

Thank you in advance for your help!

Best regards,

Domen Gnidovec



Tagged:

Answers