|
[Sponsors] |
May 7, 2010, 23:42 |
UDF Interpreting Error
|
#1 |
New Member
Jiang Wen
Join Date: May 2010
Posts: 1
Rep Power: 0 |
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. |
|
May 8, 2010, 02:10 |
|
#2 |
New Member
Sowmya K
Join Date: Nov 2009
Posts: 22
Rep Power: 17 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 19:54 |
error while running paraFoam! | padmanathan | OpenFOAM | 9 | October 13, 2009 06:17 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |