UDF pressure jump over a fan
Hi all,
I am trying to write a UDF to simulate a pressure jump over a fan. The UDF is written for a 2D model with a line (face) to simulate the fan. Can somebody detect the mistake i have made. Cause the setup doestn't want to initialize. #include "udf.h" DEFINE_PROFILE(pressure_rise, thread, position) { face_t f; real p; begin_f_loop(f, thread) { p = F_P(f,thread); F_PROFILE(f, thread, position) = p + 4000; } end_f_loop(f, thread) } |
Instead of F_P(f,thread) try C_P(c,t).
|
All times are GMT -4. The time now is 07:13. |