CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Compiling Error in 6.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2003, 05:23
Default Compiling Error in 6.1
  #1
Matthew Brannock
Guest
 
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?

Cheers,

Matt.

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, 22:44
Default Re: Compiling Error in 6.1
  #2
Alex Munoz
Guest
 
Posts: n/a
Hi when you change from Fluent 5.5 to 6.1

you must to change some headers

example

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

Alex
  Reply With Quote

Old   April 3, 2003, 23:34
Default Re: Compiling Error in 6.1
  #3
Matthew Brannock
Guest
 
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?

Cheers,

Matt.
  Reply With Quote

Reply


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 Off
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 3 August 27, 2018 05:22
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 06: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 16:07


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