CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   problem whith udf (https://www.cfd-online.com/Forums/fluent/47253-problem-whith-udf.html)

Thiago Castro February 6, 2008 12:17

problem whith udf
 
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.


poper February 7, 2008 03:31

Re: problem whith udf
 
try "interpreted" instead of "compiled"


All times are GMT -4. The time now is 11:40.