CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF problem: P_VEL(p)(p->state.pos)

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 10, 2006, 00:20
Default UDF problem: P_VEL(p)(p->state.pos)
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.

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06: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 06:56
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 10:58

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