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

problem whith udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2008, 12:17
Default problem whith udf
  #1
Thiago Castro
Guest
 
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, 03:31
Default Re: problem whith udf
  #2
poper
Guest
 
Posts: n/a
try "interpreted" instead of "compiled"
  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 06:05
what's the problem with my udf zzyan FLUENT 0 November 4, 2010 03: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 09:58


All times are GMT -4. The time now is 19:01.