CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

URGENT help required regarding UDF operations in Fluent

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

LinkBack Thread Tools Display Modes
Old   April 5, 2010, 13:48
Default URGENT help required regarding UDF operations in Fluent
New Member
Join Date: Apr 2010
Posts: 3
Rep Power: 9
Lexicon is on a distinguished road
Hi y'all,

I created my model using Icepak for a transient test case. I read the .cas file in Fluent and tried to "Interpret" the udf file and got the following error:

g++ -I"/usr/local/fluent/Fluent.Inc/fluent6.3.26/src" -I"/usr/local/fluent/Fluent.Inc/fluent6.3.26/cortex/src" -I"/usr/local/fluent/Fluent.Inc/fluent6.3.26/client/src" -I"/usr/local/fluent/Fluent.Inc/fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "Transient_test00.udf.c"
Transient_test00.udf.c: In function ‚void udf_func_1(Thread*, int)‚:
Transient_test00.udf.c:13: warning: deprecated conversion from string constant to ‚char*‚
Transient_test00.udf.c:14: warning: deprecated conversion from string constant to ‚char*‚
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/crt1.o: In function `_start':
/build/buildd/eglibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
/tmp/cck1fbPE.o: In function `udf_func_1(thread_struct*, int)':
Transient_test00.udf.c.text+0x6b): undefined reference to `RP_Get_Float(char*)'
Transient_test00.udf.c.text+0x82): undefined reference to `RP_Get_Float(char*)'

collect2: ld returned 1 exit status
Error: "Transient_test00.udf.c": line 1: syntax error.

Any suggestions?

Lexicon is offline   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
need some basic help with fluent udf aarti sekaran FLUENT 8 February 12, 2008 01:57
struggling with interpretation of UDF in fluent Suman Kandula FLUENT 0 August 9, 2007 12:56
Parallel UDF data passing causes Fluent to hang Tom FLUENT 2 June 9, 2006 13:17
UDF of Zimont model in fluent Z Main CFD Forum 0 February 17, 2005 04:07
UDF in Fluent to Match Mass Flow at Pressure Outlet Jonas Larsson Main CFD Forum 1 April 29, 1999 10:44

All times are GMT -4. The time now is 21:51.