|
[Sponsors] |
Parse Error:- Interpreting UDF on remote terminal |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 13, 2009, 14:35 |
Parse Error:- Interpreting UDF on remote terminal
|
#1 |
New Member
Moatazbellah Mahmoud Mousa
Join Date: May 2009
Posts: 12
Rep Power: 17 |
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 |
|
March 7, 2017, 15:13 |
|
#2 |
New Member
Mike McManuc
Join Date: Nov 2016
Posts: 9
Rep Power: 10 |
Hi,
I have a similar problem, just wondering did you find a solution. Thanks |
|
|
|
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 20: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 13:15 |
Parse error in udf | Karthick | FLUENT | 6 | March 30, 2004 12:35 |