Parse Error:- Interpreting UDF on remote terminal
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 |
Hi,
I have a similar problem, just wondering did you find a solution. Thanks |
All times are GMT -4. The time now is 21:15. |