temperature source term
hi can anyone help me how to write a udf for a solid whose temperature is varying with time.i got a 3-D model.
i tried this one but it didnt work. may be i have to use cell thread, i tried that one too but i got errors when i compiled. ********************************************** #include "udf.h" DEFINE_PROFILE (out_temp,thread,i) { face_t f; begin_f_loop( f, thread ) { real t = RP_Get_Real ( "flow-time"); F_PROFILE( f,t,i) =273 + (1 - exp( - (t/22)))*27; } end_f_loop(f,thread) } ************************************************** thank you bikash |
Re: temperature source term
hi
i fixed my problem. thank you |
All times are GMT -4. The time now is 03:32. |