CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Parse error (https://www.cfd-online.com/Forums/fluent-udf/125420-parse-error.html)

mehdimoradi. October 25, 2013 03:40

Parse error
 
Hi
I have been a udf as follow:
After trying to interpret it, error reports was seen as follow:
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 13: parse error.
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 31: parse error.
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 46: parse error.
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 51: parse error.
How eliminate these error?
Anyhelp would be appreciated.

h.iraji October 25, 2013 04:37

hadi iraji
 
hi
salam.

^ incorrect
correct :for example x ^y = pow(x, y);

fluent help :
// UDF Manual // A. C Programming Basics // A.13. C Library Functions // A.13.2. Miscellaneous Mathematical Functions


*

mehdimoradi. October 25, 2013 05:24

Quote:

Originally Posted by h.iraji (Post 458931)
hi
salam.

^ incorrect
correct :for example x ^y = pow(x, y);

fluent help :
// UDF Manual // A. C Programming Basics // A.13. C Library Functions // A.13.2. Miscellaneous Mathematical Functions


*

Salam
Thanks my friend. I have modified the writted code based your comment, but parse errors donot resolved.


All times are GMT -4. The time now is 10:33.