CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF errors: (https://www.cfd-online.com/Forums/fluent-udf/125334-udf-errors.html)

h.iraji October 23, 2013 10:14

UDF errors:
 
hi all , I've been trying to interpret my udf and I see these errors :

line 10: invalid type conversion: double -> pointer to double.

for this UDF :
#include "udf.h"
#include "mem.h"
DEFINE_GEOM(deforming,domain,dt,position)
{
cell_t c;
Thread *t;
real *position;
begin_c_loop_all(c,t)
{
position=1.6-0.368*exp(-0.1231*(C_P(c,t)/1000));
}
end_c_loop_all(c,t)
return;
}
?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????/


All times are GMT -4. The time now is 19:46.