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

Parse Error:- Interpreting UDF on remote terminal

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 13, 2009, 13:35
Default Parse Error:- Interpreting UDF on remote terminal
  #1
New Member
 
Moatazbellah Mahmoud Mousa
Join Date: May 2009
Posts: 12
Rep Power: 8
moataz.che is on a distinguished road
Hello,
I am trying to interpret the following udf on a remote linux host. Everytime I try to so I got the following error:-

cpp -I"/opt/asn/apps/Fluent.Inc/fluent6.3.26/src" -I"/opt/asn/apps/Fluent.Inc/fluent6.3.26/cortex/src" -I"/opt/asn/apps/Fluent.Inc/fluent6.3.26/client/src" -I"/opt/asn/apps/Fluent.Inc/fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig-host.h>" "/home/aammmm/mass_flux.c.txt"
Error: /home/aammmm/mass_flux.c.txt: line 2: syntax error.
Error: /home/aammmm/mass_flux.c.txt: line 2: syntax error.
Error: /home/aammmm/mass_flux.c.txt: line 2: syntax error.
Error: /home/aammmm/mass_flux.c.txt: line 2: syntax error.
Error: /home/aammmm/mass_flux.c.txt: line 2: syntax error.

My UDF is:-
#include "udf.h"

DEFINE_PROFILE(mass_flux,t,i)
{
#define R 0.0489
#define B 1./7.
real x[ND_ND];
real y;
face_t f;
begin_f_loop(f,t)
{
F_CENTROID(x,f,t);
y = x[1];
F_PROFILE(f,t,i) = 1.26*4.64*pow((1-y/R),B);
}
end_f_loop(f,t)
}


I will be so grateful for your help
moataz.che is offline   Reply With Quote

Reply

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
Using Fluent with a UDF frm a remote m/c aarti FLUENT 2 September 11, 2008 19:53
UDF: parse error manu FLUENT 3 December 4, 2007 13:09
UDF parse error on line 1 ..... (Unusual) Amit Maha FLUENT 4 June 30, 2006 12:15
Parse error in udf Karthick FLUENT 6 March 30, 2004 11:35


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