CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF Interpreting Error (http://www.cfd-online.com/Forums/fluent-udf/75891-udf-interpreting-error.html)

stephen May 7, 2010 22:42

UDF Interpreting Error
 
Hi,

I am new Fluent user, I am facing problem while intepreting my C file.

Error: C:\Users\Stephen\Desktop\UDF Trial\udfexample.c: line 1: parse error.

#include "udf.h"
DEFINE_PROFILE(x_vel,thread,index)
{
real x[ND_ND];
real y;
face_t f;

begin_f_loop(f,thread)
{
F_CENTROID(x,f,thread);
y=x[1];
F_PROFILE(f,thread,index)=y*y;
}
end_f_loop(f,thread)
}


Can someone help me up for this problem? Thanks a lot.

skris2009 May 8, 2010 01:10

Fluent has given me this error on many occasions. You could try and remove spaces in file path names (UDF Trial to UDFTrial). Hope it helps.


All times are GMT -4. The time now is 17:27.