CFD Online Logo CFD Online URL
Home > Forums > FLUENT

DPM Report interval

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

LinkBack Thread Tools Display Modes
Old   April 2, 2003, 03:02
Default DPM Report interval
Matthew Brannock
Posts: n/a

I'm tracking a particle in a driven cavity. I want to be able to track the particle every 0.1 seconds. The problem is that the report interval I have access to in the fluent 5.5 GUI is only step by step. This creates files that are way too large for me to manage.

Is there a way writing a simple UDF so that I can get the position every 0.1 seconds? The only macro that I've found that is remotely useful is DEFINE_DPM_OUTPUT, but his only gives me information when it passes through a plane.

Any ideas?

Also, what is the variable name for a particle's position? I've found the variables for particle properties (eg P_TIME(p) for particle time) but there is none for particle position. I was thinking about using an interpreted UDF, but of course there is no function hook for each DPM time step.


  Reply With Quote

Old   April 2, 2003, 16:22
Default Re: DPM Report interval
Alex Munoz
Posts: n/a
Hi Matt

yes you are right, there is not a macro for the particle position available to the users. i sugguest that you talk to the Fluent support to get this macro, or you write a UDF, knowing the current time for a particle and the the particle velocity you can determine the x,y,z position of you particle relative to a point injection.

I have another idea, I guess you are specifing Lenght scale in the discrete phase interphase, how about if you specify the step lenght factor, so that you get uniform time step.

Also you can use file>write>start particle history


Alex Munoz
  Reply With Quote

Old   April 3, 2003, 13:16
Default Re: DPM Report interval
Allan Walsh
Posts: n/a
I fooled a bit with version 6 and there is a macro available for particle position called "(P_POS(p,i)" where i is 0,1,or 2 for the three co-ordinate directions.

You can do your own UDF for particle conditions at fixed times. I don't remember if there is an explicit variable "particle time" available to the user, but the differential time for each particle step is there, so you can sum it up.

Someone has posted particle UDFs on this cfd-online site which you can find and modify as needed - good luck.
  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
DPM and LES R.Sripriya FLUENT 6 April 15, 2017 04:41
DPM report sample in batch mode Milano FLUENT 3 August 6, 2012 16:01
Report > Discrete Phase > Report > How to commands Francesco Micchetti FLUENT 1 January 23, 2008 07:10
slow after mesh for enhanced wall treat DPM joshkemp FLUENT 0 May 1, 2007 17:20
DPM particle tracks report alex FLUENT 1 December 14, 2005 12:49

All times are GMT -4. The time now is 23:56.