|
[Sponsors] |
October 23, 2013, 11:14 |
UDF errors:
|
#1 |
New Member
hadi
Join Date: May 2013
Posts: 10
Rep Power: 13 |
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; } ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????/ Last edited by h.iraji; October 24, 2013 at 05:21. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
multiphase UDF errors! | alexsatan | Fluent Multiphase | 0 | October 14, 2013 06:01 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
Errors when Compiling UDF: error C2040/error C2099 | Julian K. | FLUENT | 1 | December 21, 2008 01:23 |
errors in interpreted udf for two macro | Asghari | FLUENT | 0 | August 7, 2006 03:29 |