invalid type conversion: double -> pointer to char.
Hi, I was trying to create a udf file for a sinusoidal velocity at the inlet, but error after interpreting shows "invalid type conversion: double -> pointer to char." at line 11.
Please help me with this problem, I'm new to fluent. The following is my code #include "udf.h" DEFINE_PROFILE(velocity_magnitude, t, i) { real t = CURRENT_TIME; begin_f_loop(f,t) { F_PROFILE(f,t,i) = 0.4*sin(9*t)+0.02; } end_f_loop(f,t) } Thank you very much. |
Try to compile.
|
All times are GMT -4. The time now is 17:08. |