2014年3月15日星期六

Fluent line1: parse error.

ok, so today I start my fluent practice.
I write a UDF , but so sad , it does't work. It stuck in the 1st line where parse error found.

Luckily I am not the only one who suffered from this problem. and i found the solution.
http://www.cfd-online.com/Forums/fluent/126287-parse-error-udf-code.html

 fix it by changing the format from UNICODE to ASCII

How to change the format from unicode to ASCII, when you save the .c file in notepad, you will notice that that is a drop list where inside has unicode to ASCII option as shown below

just select the ASCII, then you will mostly fixed the error. 

hope it helps for those beginner. 

没有评论: