CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

parse error in UDF

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

LinkBack Thread Tools Display Modes
Old   September 11, 2012, 03:32
Default parse error in UDF
New Member
Join Date: Aug 2012
Posts: 26
Rep Power: 7
n7310889 is on a distinguished road
To calculate radiation loss from wall boundary of a fluid domain, I have used following code in my macro:
Domain *d =Get_Domain(1);

real x[ND_ND];
real r,theta,angle;
real temp_glass, temp_wall, rad_loss_coefficient, rad_loss, irradiation_factor, input_heat_flux;
face_t f;
Thread *t0 =Lookup_Thread(d,9);


temp_wall =F_T(f,t0);
temp_glass =

rad_loss_coefficient =6.1803exp(-6)/(109+3430*CARMET_EMISSIVITY);
rad_loss =rad_loss_constant*(pow(T_wall,4)-pow(T_glass,4));

However, always fluent shows parse error in the blue line. I don't understand whats going wrong. The attached is the complete UDF.
Could you please help me to sort out the bug.
Thanks a lot

Last edited by n7310889; September 12, 2012 at 03:54.
n7310889 is offline   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
parse error in transient udf spring FLUENT 1 July 6, 2010 06:26
UDF parse error at profile function line Wiggy Fluent UDF and Scheme Programming 1 July 27, 2009 15:59
Parse Error Message While interpreting UDF in FLUENT dhimans Fluent UDF and Scheme Programming 1 July 10, 2009 06:29
UDF parse error on line 1 ..... (Unusual) Amit Maha FLUENT 4 June 30, 2006 12:15

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