CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   URGENT help required regarding UDF operations in Fluent (https://www.cfd-online.com/Forums/fluent/74638-urgent-help-required-regarding-udf-operations-fluent.html)

Lexicon April 5, 2010 13:48

URGENT help required regarding UDF operations in Fluent
 
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?

Thanks,
Prashaanth


All times are GMT -4. The time now is 06:43.