CFD Online Logo CFD Online URL
Home > Forums > FLUENT

General UDF problem

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

LinkBack Thread Tools Display Modes
Old   January 17, 2006, 06:51
Default General UDF problem
Posts: n/a
I am currently trying to learn how to write UDF's however I am having problems using them in Fluent. Even when using the example from chapter 11.1 of the fluent UDF m,anual I recieve the following error:

cpp -IF:\\fluent6.0/src -IF:\\fluent6.0/cortex/src -IF:\\fluent6.0/client/src -IF:\\fluent6.0/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" unsteady_flow.cError: unsteady_flow.c: line 1: parse error.

Any expe cause of this error and any advice on how to avoid it in the future would be gratefully recieved


  Reply With Quote

Old   January 17, 2006, 10:44
Default Re: General UDF problem
Posts: n/a
"Line 1: parse error" occurs on windows machines if you try to interpret your udf from a directory which have spaces in name like "C:\My Documents". Place your udf in a directory without spaces in name.

  Reply With Quote

Old   January 17, 2006, 10:50
Default Re: General UDF problem
Posts: n/a
Thank you very much for your help
  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 my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF hook problem in command line mode. Benlong FLUENT 1 November 12, 2007 15:45
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
I have problem of UDF with turbulent premx source. Z FLUENT 0 February 16, 2005 04:34

All times are GMT -4. The time now is 22:46.