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/)
-   -   problem with c_face_loop(c,t,n) (https://www.cfd-online.com/Forums/fluent-udf/65422-problem-c_face_loop-c-t-n.html)

gina June 14, 2009 08:50

problem with c_face_loop(c,t,n)
 
I am trying to write a UDF, can please somebody point out why i am getting non -integer subscript expression : unsigned char error when i try interpretting my udf ?
for the line of :c_face_loop(c,t,n)
thanks

ak6g08 June 29, 2009 13:28

hi,

could you post the UDF up to where the error occurs?...might be that you havent declared something properly.

AK

gemini July 4, 2009 15:01

Quote:

Originally Posted by gina (Post 219247)
I am trying to write a UDF, can please somebody point out why i am getting non -integer subscript expression : unsigned char error when i try interpretting my udf ?
for the line of :c_face_loop(c,t,n)
thanks

Hi,

Be sure that whether all of your macros in your c file supported by interpreted UDFs in FLUENT. Afaik, not all of FLUENT macros are supported.

good luck

gina July 4, 2009 15:25

THANKS A LOT TO HAVE ANSWER TO MY MESSAGE,
I have found the solution, with c_face_loop(c,t,n) we cant interpretting the udf but we must compiled it.
but I have found another problem, I have used "adjust"for k modification in my udf than when I hooking it there is no changement in fluent!!??
please can you help me? I'd appreciate it


All times are GMT -4. The time now is 16:24.