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

help with DPM particle position

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2006, 12: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, 15: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, 13: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


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
DPM particle time step amos FLUENT 1 January 4, 2020 09:46
print position of Lagrangian particle? sven82 OpenFOAM Running, Solving & CFD 4 June 16, 2016 09:58
DPM UDF particle position Tom FLUENT 8 July 25, 2015 13:30
Force dependent on particle position jranita OpenFOAM Programming & Development 1 August 23, 2011 20:44
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29


All times are GMT -4. The time now is 09:33.