|
[Sponsors] |
April 10, 2006, 01:20 |
UDF problem: P_VEL(p)(p->state.pos)
|
#1 |
Guest
Posts: n/a
|
Hello, I need to extract the difference of particle current velocity and initial velocity: what do I need to do? I tried using a udf, and gives error: --- #include "udf.h" #include "dpm.h"
#define P_INIT_VEL(p)(p->init_state.pos) #define P_VEL(p)(p->state.pos) { real h; h= P_VEL(p)(p->state.pos)-P_INIT_VEL(p)(p->init_state.pos); return h; } -- why doesn't it work? I know its silly to ask. Melanie |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 07:05 |
what's the problem with my udf | zzyan | FLUENT | 0 | November 4, 2010 04:56 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 07:56 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 10:58 |