CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF syntax error (https://www.cfd-online.com/Forums/fluent/184584-udf-syntax-error.html)

BigMc March 6, 2017 11:17

UDF syntax error
 
Hi,
Im hoping someone could help with an issue I'm having in relation to interpreting a UDF in fluent.

the UDF works perfectly on my windows 7, but when I try to use it on a parallel machine I get the error "Error "":Line 1 syntax error.
Line 1 in my UDF is #include "udf.h"

I have seen elsewhere on this forum that this error is associated with the line endings and a Linux compiler, however I have checked the line endings in my UDF and they are all LF which is correct for Linux.

could anyone provide any advice in relation to this?

Thanks


All times are GMT -4. The time now is 02:41.