Error:no function prototype
Hi everyone,
When I tried to Interpreted my UDF FLUENT says: no function prototype Here is my udf: #include "udf.h" DEFINE_PROFILE (CO2_inlet, t, i) { real x[ND_ND]; real y; face_t f; begin_f_loop(f, t) { F_CENTROID (x, f, t); y=x[0] F_PROFILE (f, t, i)=y*y } end_f_loop (f, t) } Where am I making a mistake? Thanks in advance |
Cleo,
You're missing semicolons after the following lines Code:
y=x[0] Quote:
|
All times are GMT -4. The time now is 06:08. |