CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF compiling problem in Windows

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2006, 23:00
Default UDF compiling problem in Windows
Posts: n/a

Thanks for your ineterest in reading my question. I used to use UDFs on unix, but know when I run it in a Windows machine I get the following errors. Do you have any idea what can be wrong?

Thanks Mazyar

When I use cpp:

CPP -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\CFD\2D jets\test.c Error: C:\CFD\2D jets\test.c: line 1: parse error.

when I use: cl -E

cl -E -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\CFD\2D jets\test.c

error: udf compiler: cannot execute cl -E -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\CFD\2D jets\test.c
  Reply With Quote

Old   April 26, 2006, 01:48
Default Re: UDF compiling problem in Windows
Posts: n/a
Dont use spaces in directory or file names under Windows. Rename your directory to "2D_jets", this will hopefully solve the problem.

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 00:43
error compiling UDF on windows x64 Andres FLUENT 0 February 12, 2009 15:22
UDF Compiling Problem (64 bit machine) woo meng wai FLUENT 0 October 23, 2007 23:14
compiling udf on windows system sivakumar FLUENT 1 August 10, 2002 11:11

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