CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Problem with compiling a udf

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By guns_down
  • 2 Post By Nigirim
  • 1 Post By guns_down
  • 1 Post By Isitv2A
  • 1 Post By Isitv2A
  • 1 Post By guns_down
  • 1 Post By pakk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2014, 03:52
Default Problem with compiling a udf
  #1
New Member
 
Naunidh
Join Date: Mar 2014
Posts: 5
Rep Power: 12
guns_down is on a distinguished road
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
j_omidi likes this.
guns_down is offline   Reply With Quote

Old   June 25, 2014, 04:21
Default
  #2
New Member
 
Join Date: Sep 2012
Posts: 26
Rep Power: 14
Nigirim is on a distinguished road
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
j_omidi and 6863523 like this.
Nigirim is offline   Reply With Quote

Old   June 25, 2014, 10:06
Default How to install a compiler??
  #3
New Member
 
Naunidh
Join Date: Mar 2014
Posts: 5
Rep Power: 12
guns_down is on a distinguished road
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.
j_omidi likes this.
guns_down is offline   Reply With Quote

Old   June 25, 2014, 11:07
Default
  #4
New Member
 
hannecart
Join Date: Jun 2014
Posts: 16
Rep Power: 12
Isitv2A is on a distinguished road
get same error but in 3d . if you find solution please share good luck .
j_omidi likes this.
Isitv2A is offline   Reply With Quote

Old   June 25, 2014, 12:37
Default guns down
  #5
New Member
 
hannecart
Join Date: Jun 2014
Posts: 16
Rep Power: 12
Isitv2A is on a distinguished road
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
j_omidi likes this.
Isitv2A is offline   Reply With Quote

Old   June 26, 2014, 03:46
Default
  #6
New Member
 
Naunidh
Join Date: Mar 2014
Posts: 5
Rep Power: 12
guns_down is on a distinguished road
I have this C_UDMI in my udf thats the reason for error .. thanks any way for help...
j_omidi likes this.
guns_down is offline   Reply With Quote

Old   August 25, 2014, 18:11
Default
  #7
New Member
 
omidi
Join Date: Mar 2014
Posts: 4
Rep Power: 12
j_omidi is on a distinguished road
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
j_omidi is offline   Reply With Quote

Old   August 26, 2014, 06:23
Default
  #8
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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.
6863523 likes this.
pakk is offline   Reply With Quote

Old   August 27, 2014, 03:18
Default
  #9
New Member
 
omidi
Join Date: Mar 2014
Posts: 4
Rep Power: 12
j_omidi is on a distinguished road
Than u Pakk
it's solved, thank u for your solution...
j_omidi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About UDF compiling issues: 'nmake' Haoyin Shan Fluent UDF and Scheme Programming 15 November 4, 2019 19:05
Problem with compiling UDF in Fluent amojodi Fluent UDF and Scheme Programming 4 April 14, 2015 10:01
A problem about 'printf' and 'Message' in UDF. LICH Fluent UDF and Scheme Programming 2 May 2, 2013 03:45
HELP! Problem compiling UDF function Syrakus FLUENT 6 April 7, 2006 11:48
UDF compiling problem for 3D simulation Marijo FLUENT 1 March 28, 2006 04:21


All times are GMT -4. The time now is 21:28.