How to define Heat flux UDF in ansys in Boundary Condition?
Hello,
I have written the Heat Flux UDF and i want to define it in Boundary Condition, i mean in the wall. How can i do ? # include "udf.h" # include "unsteady.h" DEFINE_EXECUTE_AT_END (execute_loop) { face_t f; Thread *t; real c_time=0.0000; real q; c_time=CURRENT_TIME; if (c_time>0.00 && c_time<2700) { q=500; } if ((c_time>=2700)&&(c_time<=5400)) { q=-500; } } |
Ansys FLuent Customization manual
look for DEFINE_PROFILE macro best regards |
All times are GMT -4. The time now is 02:36. |