udf for temperature inlet in fluidized bed
hi all
i trying to simulate heat transfer distribution in fluidized bed. in my simulation air temperature inlet is a function of time. i don't know how to define it in fluent software. Please help me Thanks. |
Hi;
I think you must use define-adjust to update air temperature in every iteration. |
dear mehdi
I've used this code as follows and my result is almost good do you think this code is correct? thanks #include "udf.h" DEFINE_PROFILE(transient_temperature, thread_g, position) { face_t f; real t=CURRENT_TIME; begin_f_loop(f,thread_g) F_PROFILE(f,thread_g,position)=(3.4*t)+295; end_f_loop(f,thread_g); } |
All times are GMT -4. The time now is 06:09. |