TAGGED: error, libudf, udf, udf-fluent
-
-
January 31, 2021 at 5:03 pm
rexfoxoloughlin
SubscriberHi all,nI've solved my parallel use errors and now we have new ones!nnError: No source files provided nError Object: #fnError: UDF library libudf not available atnC:\ANSYS\Dragonfly_files\dp0\FFF\FluentnError Object: #fnnGoogle seems to have no answers for me, can anyone help?nThanksnn -
February 1, 2021 at 9:20 am
Amine Ben Hadj Ali
Ansys EmployeeAre you referring to a header or source in your UDF? Which version are you using? Paste some more information.
-
February 1, 2021 at 7:16 pm
-
February 2, 2021 at 2:16 am
YasserSelima
Subscriberif you have a folder libudf inside fluent working folder, delete it and try to re-compile
-
February 2, 2021 at 12:34 pm
Rob
Forum ModeratorIn Windows use Unload before trying to recompile the C code. It's a safety feature in Windows as the libudf is technically open when loaded in Fluent: LINUX is intelligent enough to let you recompile without this step.
-
February 2, 2021 at 6:21 pm
rexfoxoloughlin
SubscriberHi everyone, thanks for answering.
I've actually managed to fix it:
I had both VS2017 and VS2019 so I uninstalled 2019. I then updated 2017.
When trying to run ANSYS from the cross tools command prompt I got a load of errors saying certain files weren't installed, and when I googled them they seemed to be involved in some video games, so I installed the Video Game Development Framework (C++) to add to the desktop development environment I already had installed.
Fluent still wouldn't launch from the cross tools command prompt so I tried it from workbench and somehow, it worked.
Before this I was getting the "this isn't compiled for parallel use" error which I fixed by moving everything to the C drive.
Thanks to everyone who helped out!
Now just to fix my code...
-
February 25, 2022 at 7:20 pm
Shyam Prasad V Atri
Subscriber.Is there a way to check if the C++ compiler is working for UDF.
I installed ansys 2021 r2 two days ago and my UDF's are not working.
I keep getting this warning.
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
I am trying to use the inbuilt compiler.
. -
February 28, 2022 at 5:03 pm
Rob
Forum Moderator.The inbuilt compiler should bypass the VS Studio issues. What operating system are you using?
. -
February 28, 2022 at 5:27 pm
Shyam Prasad V Atri
Subscriber.I am using windows
. -
March 1, 2022 at 11:36 am
-
March 1, 2022 at 2:09 pm
Amine Ben Hadj Ali
Ansys Employee.Just use the built-in compiler if Fluent does not enforce using it.
.
-
Viewing 10 reply threads
- The topic ‘A new set of UDF errors’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
3932
-
1414
-
1272
-
1119
-
1015
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.