CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Compiling Error in 6.1 (

Matthew Brannock April 3, 2003 04:23

Compiling Error in 6.1
I'm trying to compile a udf in fluent 6.1. It was successfull in 5.5 in the past but now there are problems. It seems it finds the *.c file okay that I've written but has trouble when it trys to make the udf_names.c file.

Any suggestions? Is there a bug mentioned somewhere that I've been unable to find?



Here's the output:

udf_names.c udf_names.c(6) : error C2449: found '{' at file scope (missing function header?)

udf_names.c(18) : fatal error C1004: unexpected end of file found NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.

Alex Munoz April 3, 2003 21:44

Re: Compiling Error in 6.1
Hi when you change from Fluent 5.5 to 6.1

you must to change some headers


in fluent 6.1 you only new one header and call the domain like this

include udf.h Get Domain * domain

in fluent 5.5 you need more than one header and call the domain like tihs

include udf.h include dpm.h include sfg.h Domain *domain

best regards


Matthew Brannock April 3, 2003 22:34

Re: Compiling Error in 6.1
Hi Alex,

Thanks for the help.

I've actually only included the udf.h header.

What do you mean by "Get Domain * domain " for 6.1 as opposed to "Domain *domain " for 5.5?



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