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

Compile the UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2006, 01:17
Default Compile the UDF
  #1
Eric
Guest
 
Posts: n/a
When I wanted to hook my UDF, Fluent always said that there was an error.The information was writen in Chinese and which means missing file. Here are my prosesses :

[read] the case -> [define]->[user defined]-> [function] -> compiled -> add source file -> add header file -> click [build] -> [load]

Did I miss any step ??
  Reply With Quote

Old   August 2, 2006, 03:10
Default Re: Compile the UDF
  #2
Albert Franco
Guest
 
Posts: n/a
I had a similar error and I solved it instaling .net framework compiler and then revising all paths in enviroment settings.
  Reply With Quote

Old   August 2, 2006, 23:50
Default Re: Compile the UDF
  #3
zhhwoo
Guest
 
Posts: n/a
Using VC++ 6.0 and set the enviornment values, it will be work ok.
  Reply With Quote

Old   August 3, 2006, 01:07
Default Re: Compile the UDF
  #4
Eric
Guest
 
Posts: n/a
Thanks!! But how to set the enviornment values?

  Reply With Quote

Old   August 3, 2006, 12:28
Default Re: Compile the UDF
  #5
Vidya
Guest
 
Posts: n/a
When you start Fluent, you will be asked to set the environment variables. This will do the work for you. Else, launch Fluent from the Command Prompt. I did this and ir worked!!

  Reply With Quote

Old   August 3, 2006, 22:00
Default Re: Compile the UDF
  #6
Eric
Guest
 
Posts: n/a
Thanks!! But, it doesn't asked me to set the envirorment variables when I star Fluent. And my machine is working on windows.

  Reply With Quote

Old   August 4, 2006, 00:21
Default Re: Compile the UDF
  #7
Vidya
Guest
 
Posts: n/a
You might want to do this......

Go to Start- Programs- Fluent 6.2- Set Env variable- Say YES or OK to this.

You'll get a message that says that THE ENVIRINMENT VARIABLES HAVE BEEN SUCCESSFULLY BEEN MODIFIED.

Then again go to Start- Programs and start Fluent.

Hope this helps.
  Reply With Quote

Old   August 18, 2006, 15:46
Default Re: Compile the UDF
  #8
Blas
Guest
 
Posts: n/a
Hi I'm having the following error once compiled and trying to load

Opening library "libudf"... Error: open_udf_library: The system cannot find the specified file.

Error Object: ()

Can anybody help please Blas
  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 14:24
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 10:48
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
compile the UDF Li Jingping FLUENT 2 April 14, 2003 22:18


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