|
[Sponsors] |
November 13, 2006, 00:46 |
Problem of DEFINE_DPM_OUTPUT
|
#1 |
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 |
|
November 13, 2006, 13:18 |
Re: Problem of DEFINE_DPM_OUTPUT
|
#2 |
Guest
Posts: n/a
|
See comment to your earlier post, below.
|
|
November 13, 2006, 23:42 |
Re: Problem of DEFINE_DPM_OUTPUT
|
#3 |
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 |
|
November 14, 2006, 14:19 |
Re: Problem of DEFINE_DPM_OUTPUT
|
#4 |
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. |
|
November 14, 2006, 22:13 |
Re: Problem of DEFINE_DPM_OUTPUT
|
#5 |
Guest
Posts: n/a
|
Hi Allan,
Thank you very much. I will try your suggestion. I hope I can do that. Again, thanks. AKR |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |