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

UDF Interpreting Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2008, 06:50
Default UDF Interpreting Error
  #1
Mohsen Keshavarzian
Guest
 
Posts: n/a
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

Old   August 21, 2008, 17:11
Default Re: UDF Interpreting Error
  #2
CDE
Guest
 
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
  #3
Mohsen Keshavarzian
Guest
 
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

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
parse error while interpreting udf Kristin Fluent UDF and Scheme Programming 3 March 15, 2012 06:43
UDF Interpreting Error Mohsen Keshavarzian FLUENT 2 September 5, 2008 05:06
UDF interpreting error Sangeeta FLUENT 2 February 7, 2007 00: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


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