Help, parallelizing UDF problem
Hello,
I have a working udf. How can I use this udf for parallel computing. I have a look at the udf manual in Fluent. But it is quite complicated. What do you suggest me to do? Above thing is my UDF. #include "udf.h" DEFINE_PROFILE(pressure, thread, p) { real t; face_t f; t = CURRENT_TIME; begin_f_loop(f, thread) { F_PROFILE(f, thread, p)=-84.0*sin(0.017453292*90.0*t); } end_f_loop(f, thread) } Waiting from you. Thank you. |
All times are GMT -4. The time now is 09:30. |