CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

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

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2006, 01:20
Default UDF problem: P_VEL(p)(p->state.pos)
  #1
ORC3
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
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 13:47.