CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Compiling Error in 6.1

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

LinkBack Thread Tools Display Modes
Old   April 3, 2003, 04:23
Default Compiling Error in 6.1
Matthew Brannock
Posts: n/a
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.
  Reply With Quote

Old   April 3, 2003, 21:44
Default Re: Compiling Error in 6.1
Alex Munoz
Posts: n/a
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

  Reply With Quote

Old   April 3, 2003, 22:34
Default Re: Compiling Error in 6.1
Matthew Brannock
Posts: n/a
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?


  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
Problem with Compiling UDFs in Ansys Fluent 13 (lnx64) Ali.beh Fluent UDF and Scheme Programming 2 April 8, 2013 18:12
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 05:40
Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100 sponiar OpenFOAM Running, Solving & CFD 3 February 26, 2008 07:31
Standard convergence limit in FLUENT 6.1 Henrik Ström FLUENT 3 December 20, 2005 09:48
Discussing UDF and C++ Compiling Big Stone FLUENT 9 April 12, 2004 15:07

All times are GMT -4. The time now is 04:23.