CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF Interpreting Error

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

LinkBack Thread Tools Display Modes
Old   August 21, 2008, 06:50
Default UDF Interpreting Error
Mohsen Keshavarzian
Posts: n/a
Sponsored Links
Dear everybody I face with following error as I interpret my UDF in Fluent.

Error: cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "C:\Documents and Settings\home\Desktop\mohsen\Samp e\unsteady_velocity.c"

The UDF is:

#include "udf.h"

DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f;

begin_f_loop(f, thread)


real t = RP_Get_Real("flow-time");

F_PROFILE(f, thread, position) = t;

} end_f_loop(f, thread) }

Please help me.
  Reply With Quote
Sponsored Links

Old   August 21, 2008, 17:11
Default Re: UDF Interpreting Error
Posts: n/a
try putting the "real t = RP_Get_Real("flow-time");" line before the begin_f_loop line
  Reply With Quote

Old   August 22, 2008, 03:51
Default Re: UDF Interpreting Error
Mohsen Keshavarzian
Posts: n/a
Dear CDE Thank you for your responce. I had done that, but there were no change in error. Regards.
  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
parse error while interpreting udf Kristin Fluent UDF and Scheme Programming 3 March 15, 2012 07:43
UDF Interpreting Error Mohsen Keshavarzian FLUENT 2 September 5, 2008 05:06
UDF interpreting error Sangeeta FLUENT 2 February 7, 2007 01:02
UDF interpreting help... Matt FLUENT 1 October 4, 2006 08:16
syntax error when interpreting UDF Erik FLUENT 3 September 27, 2006 07:52

Sponsored Links

All times are GMT -4. The time now is 20:37.