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

help with DPM particle position

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 14, 2006, 11:56
Default help with DPM particle position
  #1
Josh
Guest
 
Posts: n/a
When I want to get the particle position in cell and thread,

c=P_CELL(p); t=P_CELL_THREAD(p);

the following error occurs: ------------------------------------------------------ implicitly declaring function to return int: RP_CELL(). ------------------------------------------------------

Thanks a lot!
  Reply With Quote

Old   February 14, 2006, 14:11
Default Re: help with DPM particle position
  #2
Allan Walsh
Guest
 
Posts: n/a
Have you included the function RP_CELL in your code before you try to access cell position. There is an example in one of the DPM macro examples in the UDF guide that shows it, without much explanation. (I'm not at my office right now so I can't look it up) - but you should be able to find it.

I have used this for finding the particle position in my code and remember having to include the RP_CELL and I think one other macro.
  Reply With Quote

Old   February 16, 2006, 12:10
Default Re: help with DPM particle position
  #3
Josh
Guest
 
Posts: n/a
Thank you very much! I solved my problem even without using RP_CELL, but now I know its usage. My another question is, how to get the particle number and diameter in a cell when particle sizes are different?

Best Regards,

Josh
  Reply With Quote

Reply

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
Force dependent on particle position jranita OpenFOAM Programming & Development 1 August 23, 2011 19:44
DPM UDF particle position Tom FLUENT 7 December 25, 2010 02:39
print position of Lagrangian particle? sven82 OpenFOAM Running, Solving & CFD 3 March 9, 2010 07:09
DPM particle time step amos FLUENT 0 December 1, 2009 03:31
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


All times are GMT -4. The time now is 07:24.