CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   define wall functions (UDF) in Fluent 6.3 (http://www.cfd-online.com/Forums/fluent/47577-define-wall-functions-udf-fluent-6-3-a.html)

Alex March 11, 2008 13:32

define wall functions (UDF) in Fluent 6.3
 
Hello all,

I have been trying the example of DEFINE_WALL_FUNCTIONS in the Fluent 6.3 UDF manual (paragraph 2.3.23), but it doesn't seem to compile in Fluent. What I get in the log report is the following:

udf_names.c:8: error: 'user_log_law' undeclared here (not in a function)

udf_names.c:8: error: 'UDF_TYPE_WALL_FUNCTIONS' undeclared here (not in a function)

Could it be the case that I need to give some additional details in the UDF script?

Alex

Dave S March 24, 2008 04:39

Re: define wall functions (UDF) in Fluent 6.3
 
Before compiling the UDF in Fluent you need to start Fluent in a C++ DOS window.

Alex March 24, 2008 08:15

Re: define wall functions (UDF) in Fluent 6.3
 
Thanks for your reply,

I figured out what was the problem. I was using the udf.h file from the previous version (6.2) so I updated the new one.

Alex.


m zahid September 20, 2014 12:37

meaning of DUPLUS AND D2PLUS
 
hi,

anybody know the meaning of DUPLUS and D2PLUS. these terms are used in UDF wall function example and also why the equation of both terms are different,

thanks
zahid


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