CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF compile error (https://www.cfd-online.com/Forums/fluent/34864-udf-compile-error.html)

Steve October 16, 2004 13:59

UDF compile error
 
Hi,

I'm trying to use a random number generator in my UDF. I'm using the rand() function. When I compile the UDF I get this error "prototypes must appear outside the function body" Does anyone know anything about this error? Or has anyone used random number generators in a UDF?

Thanks in advance,

Steve


All times are GMT -4. The time now is 15:03.