CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Problem about interpreted UDF (https://www.cfd-online.com/Forums/fluent/33428-problem-about-interpreted-udf.html)

Earng April 8, 2004 00:44

Problem about interpreted UDF
 
I already have case and UDF files but when i interpreted them,the error was happen. It informed that "error: udf compiler: cannot execute cpp". What does it mean and how to solve this problem.

ap April 8, 2004 05:16

Re: Problem about interpreted UDF
 
FLUENT have a C interpreter, not a CPP interpreter, so try to change the file extension from CPP to C and don't use CPP commands in your interpreter UDF.

Hi :)

ap

Earng April 8, 2004 05:35

Re: Problem about interpreted UDF
 
Thank you for your suggestion. It means that I must use only C Programming for coding UDF. Right?

EARNG April 8, 2004 05:48

Re: Problem about interpreted UDF
 
it display "c -ID:\FLUENT.INC\fluent5.5/src -ID:\FLUENT.INC\fluent5.5/cortex/src -ID:\FLUENT.INC\fluent5.5/client/src -ID:\FLUENT.INC\fluent5.5/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" inlet.c error: udf compiler: cannot execute c -ID:\FLUENT.INC\fluent5.5/src -ID:\FLUENT.INC\fluent5.5/cortex/src -ID:\FLUENT.INC\fluent5.5/client/src -ID:\FLUENT.INC\fluent5.5/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" inlet.c" please help me

ap April 8, 2004 11:06

Re: Problem about interpreted UDF
 
Yes, you can use only C coding.

Hi :)

ap

ap April 8, 2004 11:07

Re: Problem about interpreted UDF
 
To give more help we need to see your UDF code.

Hi :)

ap


All times are GMT -4. The time now is 05:57.