-
-
January 17, 2021 at 8:50 pm
rexfoxoloughlin
SubscriberHi all,
I posted in this forum a while back and still didn't manage to fix my issue. I've been getting errors when compiling UDFs in Fluent, all seem to be common issues that other people have, but I haven't found a solution yet.
The errors are detailed/screenshotted in the attached pdf.
My main error is the "The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64). The system cannot find the file specified."
Things I have tried at this point:
- I have uninstalled and reinstalled ANSYS
- I have uninstalled and reinstalled VS Studio 2017
- I've completely remade the whole project with new geometry and a new mesh and re-opened it in Fluent about 700 times in case that was the issue - it was not
- I've added it to the path as specified here: https://www.cfd-online.com/Forums/blogs/trollreign/2036-getting-ansys-14-fluent-windows-8-1-vs2013-compile-udfs.html and also tried all the other solutions on that page
- I've started Fluent through VS 2017's common tools command prompt as specified here /forum/discussion/13927/compiling-udf, gives the same errors - UPDATE: since reinstalling ANSYS, this no longer works and has its own set of errors - see PDF
- I've tried a few different UDFs, some simple example ones from online and the ones I've written, to the same errors, so it's not an issue in the code
- I've moved the UDFs and project files all over the shop, to their own drive (in the most recent set of errors), into the ANSYS installation folder, everywhere. Yes the UDF files are in the same directory as the .cas and .dat files
Has anyone any idea as to what could be going wrong? I've been trying to get this to work for months at this point and it's incredibly frustrating.
January 17, 2021 at 9:55 pmYasserSelima
SubscriberNot sure why does the compiler look in drive '\Program' is not recognized as an internal or external command, operable program or batch filenJanuary 17, 2021 at 10:40 pmrexfoxoloughlin
SubscriberNot sure why does the compiler look in drive '\Program' is not recognized as an internal or external command, operable program or batch file/forum/discussion/comment/103387#Comment_103387
ANSYS is in drive D, I've tried moving the files between drives and get the same errors every time.nJanuary 18, 2021 at 11:08 amRob
Forum ModeratorIf you install 2020R2 into the default C: location you can use the built in compiler CLANG (it doesn't like other locations). With 2021R1 the built in compiler should recognise nJanuary 18, 2021 at 12:00 pmAmine Ben Hadj Ali
Ansys EmployeeUpdate to newest version and rely on built-in compilernJanuary 18, 2021 at 1:53 pmrexfoxoloughlin
SubscriberIf you install 2020R2 into the default C: location you can use the built in compiler CLANG (it doesn't like other locations). With 2021R1 the built in compiler should recognise /forum/discussion/comment/103433#Comment_103433
I'll give that a go, thank younJanuary 18, 2021 at 4:03 pmAmine Ben Hadj Ali
Ansys EmployeewelcomenViewing 6 reply threads- The topic ‘Still getting UDF errors in Fluent :(’ is closed to new replies.
Ansys Innovation SpaceTrending 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
- Script Error Ansys
- Errors with multi-connected bodies using AQWA
- Quantitative results
Top Contributors-
2663
-
953
-
813
-
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.
-
We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.