CFD Online Logo CFD Online URL
Home > Forums > FLUENT

problem whith udf

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 6, 2008, 13:17
Default problem whith udf
Thiago Castro
Posts: n/a
I need to make a source term temperature dependent: Source = C1 + C2*temp

I am using a c++ compiler in a windows system and I make the following program:

#include "udf.h" DEFINE_SOURCE(source_temp, c, t, ds, eqn) { real source, temp; temp = C_T(c,t); source = C1 + C2*temp; ds[eqn] = C2; return source; } When I have compiled it in fuent appear the following mensage:

opening library "libudf"... ERROR: open_udf_library: the system canīt that file.

Please help me.

Thank you.

  Reply With Quote

Old   February 7, 2008, 04:31
Default Re: problem whith udf
Posts: n/a
try "interpreted" instead of "compiled"
  Reply With Quote


Thread Tools
Display Modes

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 On
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 October 18, 2017 07:17
what's the problem with my udf zzyan FLUENT 0 November 4, 2010 04:56
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 10:58

All times are GMT -4. The time now is 04:16.