CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   error in udf, C_VOF (https://www.cfd-online.com/Forums/fluent/33499-error-udf-c_vof.html)

paulina April 16, 2004 09:27

error in udf, C_VOF
 
Hi to all!

Could anyone tell me how should I understand the below message, which I gave from Fluent after successful compiled my udf:

"Error: Set_Thread_Variables: wta(real) Error Object: ((constant . )) (profile " " ""))"

I try to pull the Fluent to calculate the C_UDSI(c,t,2) as a: "C_UDSI(c,t,2) = C_VOF(c,pt[1])/0.523;" and in that case I have written an udf, a part of them I attached:

DEFINE_ADJUST(usrfn, domain) { Domain *subdomain = Get_Domain(2); Thread *t; Thread **pt; cell_t c; thread_loop_c(t,subdomain) { begin_c_loop(c,t) { C_UDSI(c,t,2) = C_VOF(c,pt[1])/0.523; } end_c_loop(c,t) } }

Could anyone explain me that message?

Thank you very much

Best regards

Paulina


All times are GMT -4. The time now is 06:45.