Error in UDF DPM
3 Attachment(s)
Dear All,
I have been facing this kind of problem for so long long time. I use exactly the same declaration and function as tutorial, but i do not why I get this error (Attachment 1: Error) I also attach the code in that line (Attachment 2: Line 109-111) Anyone please advise Best Regards, Yannapol S. |
Variables need to be declared at the start of a code block for the programming language ANSI C (which Fluent UDFs are coded with). What is the tutorial you are following, and how have they declared their thread pointers?
|
Dear e,
Thank you for your reply i followed the tutorial http://148.204.81.206/Ansys/150/ANSY...F%20Manual.pdf "2.5.5.3. Example" PAGE 167 I will attach the code in C language for your convenience in the main thread It was declared ... Thread *t0 = P_CELL_THREAD(p); LINE 17 I am very new with this, I may miss something. Please advise |
Quote:
|
All times are GMT -4. The time now is 13:12. |