Problem of DEFINE_DPM_OUTPUT
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 |
Re: Problem of DEFINE_DPM_OUTPUT
See comment to your earlier post, below.
|
Re: Problem of DEFINE_DPM_OUTPUT
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 |
Re: Problem of DEFINE_DPM_OUTPUT
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. |
Re: Problem of DEFINE_DPM_OUTPUT
Hi Allan,
Thank you very much. I will try your suggestion. I hope I can do that. Again, thanks. AKR |
All times are GMT -4. The time now is 07:27. |