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

Problem of DEFINE_DPM_OUTPUT

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 13, 2006, 00:46
Default Problem of DEFINE_DPM_OUTPUT
  #1
akr
Guest
 
Posts: n/a
Hi all,

I want to write a UDF to obtain data about which particles escaped. I am using file as injection type. And I have to inject many particles. So I am thinking about using DEFINE_DPM_OUTPUT. In udf manual, there is a example. But I can not understand it. Does anyone know how to write this kind of udf??

Thanks, AKR
  Reply With Quote

Old   November 13, 2006, 13:18
Default Re: Problem of DEFINE_DPM_OUTPUT
  #2
Allan Walsh
Guest
 
Posts: n/a
See comment to your earlier post, below.
  Reply With Quote

Old   November 13, 2006, 23:42
Default Re: Problem of DEFINE_DPM_OUTPUT
  #3
akr
Guest
 
Posts: n/a
Hi Allan,

I saw your comment. I am thinking about writing UDF. Maybe DEFINE_ON_DEMAND is also good. What I want to know is how to access the particle ID. I saw DPM variables in udf manual. But I could not find about particle ID.

Do you know how to access the particle ID?

Regards, AKR
  Reply With Quote

Old   November 14, 2006, 14:19
Default Re: Problem of DEFINE_DPM_OUTPUT
  #4
Allan Walsh
Guest
 
Posts: n/a
From your description of what you are trying to do, DEFINE_ON_DEMAND is not the right UDF.

To find particle variables, first look in the dpm.h header file. Then, you may need to look a bit deeper in some of the other header files.

Alternatively, you could create your own variable and then increment it as you loop through the particles.

Good luck.
  Reply With Quote

Old   November 14, 2006, 22:13
Default Re: Problem of DEFINE_DPM_OUTPUT
  #5
akr
Guest
 
Posts: n/a
Hi Allan,

Thank you very much. I will try your suggestion. I hope I can do that. Again, thanks.

AKR
  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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 11:22.