|
[Sponsors] |
January 31, 2007, 15:44 |
UDF for trap of dpm
|
#1 |
Guest
Posts: n/a
|
Hello, I wanted to trap particles as soon as certain condition is fullfilled (not on wall). For example, trapping particles on dis=2e-3 m where dis= distance from the wall and particle centre.
regards, HK |
|
February 1, 2007, 15:24 |
Re: UDF for trap of dpm
|
#2 |
Guest
Posts: n/a
|
You should be able to use the variable P_POS(p)[i] which is the position of the particle, p. The variable, i is the direction, x=0, y=1, z=2. (This is for Fluent 6.2, it was different in v6.1).
If particle position > dis then return PATH_END. You can even increment the variable for the number of particles trapped, gvr_trapped?. Look for it in the dpm.h header file, if it is of interest. Good luck. |
|
November 8, 2016, 10:43 |
|
#3 | |
New Member
raa
Join Date: Oct 2016
Posts: 3
Rep Power: 10 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT | subhankar_bhandari | Fluent UDF and Scheme Programming | 0 | August 19, 2010 04:09 |
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT | subhankar_bhandari | FLUENT | 0 | August 19, 2010 04:01 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 18:45 |
DPM - UDF for fluctuating bubble size | Jaroslav Kotara | FLUENT | 1 | April 19, 2006 10:02 |