CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Problem with compiling a udf (https://www.cfd-online.com/Forums/fluent/137896-problem-compiling-udf.html)

guns_down June 25, 2014 02:52

Problem with compiling a udf
 
I got this error report when I try to load the udf built -Please help

The UDF library you are trying to load (C:\Users\Admin\Documents\udf_trial_25thjune_files \dp0\FFF\Fluent\libudf) is not compiled for 2ddp on the current platform (win64).
The system cannot find the file specified.

C:\Users\Admin\Documents\udf_trial_25thjune_files\ dp0\FFF\Fluent\C:\Users\Admin\Documents\udf_trial_ 25thjune_files\dp0\FFF\Fluent\libudf\win64\2ddp\li budf.dll

Nigirim June 25, 2014 03:21

Hello guns_down,

do you have a Compiler installed?
Last time I got this error there was no Compiler installed on my Computer.
Fluent doesn't seem to have a built-in Compiler.

Greets
Nigirim

guns_down June 25, 2014 09:06

How to install a compiler??
 
How to install a compiler?? I get this error as well when I try to calculate the solution...

C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\win6 4\2ddp\fl1450s.exe received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.

Isitv2A June 25, 2014 10:07

get same error but in 3d . if you find solution please share good luck .

Isitv2A June 25, 2014 11:37

guns down
 
hey i got same problem as you !

And i suceed to solve it !

1 install visual studio
2 install sdk 7.0
3 create a folder with file name.cas and udf.c
4 lauch sdk prompt command
5 go on the folder you create and lauch fluent from prompt command
6 On fluent use define function compiled should work



this video may help you

https://www.youtube.com/watch?v=GrLHn1Wc7Rg


PS : which kind of udf are you making ??? most of udf can be interpreted dirctly from fluent .


good luck and have fun

it could take some time before success

guns_down June 26, 2014 02:46

I have this C_UDMI in my udf thats the reason for error .. thanks any way for help...

j_omidi August 25, 2014 17:11

hi
i have this problem when i calculate is started.
i don't understand the solve of this problem that you explain,
please clarify it for me ... :(
thank you :rolleyes:

pakk August 26, 2014 05:23

If you see:
Quote:

The UDF library you are trying to load (...\Fluent\libudf) is not compiled ...
It means that the UDF did not compile. People ask this question all the time, but the answer is right there, just read the text.

Something went wrong when you tried to compile it. Look at the text that was written on the screen when you tried to compile, that will give a hint about what was wrong.

j_omidi August 27, 2014 02:18

Than u Pakk :)
it's solved, thank u for your solution...


All times are GMT -4. The time now is 09:20.