|
[Sponsors] |
May 29, 2007, 21:56 |
What's the problem about this UDF?
|
#1 |
Guest
Posts: n/a
|
DEFINE_DPM_INJECTION_INIT(set_velocity,Inject) { Domain *domain; Thread *t; cell_t c; real xc[ND_ND]; Particle *pp;
loop(pp, Inject->p)//It said this line"structure reference not implemented"?? What's the problem? Any suggestion? Thanks |
|
May 30, 2007, 00:54 |
Re: What's the problem about this UDF?
|
#2 |
Guest
Posts: n/a
|
I made a loop like this:
loop(p, I->p_init) then you din' use curly brackets (or you did, and did not post them). In this loop i set some values, like this: P_VEL(p)[0] = 0.0; Hope, it helps you. Good luck! MA |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 06:56 |
UDF problem | mansha goraya | FLUENT | 0 | October 29, 2007 00:31 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 07:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 09:58 |