|
[Sponsors] |
January 26, 2009, 14:17 |
DPM-udf
|
#1 |
Guest
Posts: n/a
|
In the following code i used DEFINE_DPM_BC instead of DEFINE_DPM_SCALAR_UPDATE(which worked truely and could delete particles as i expected). I expect that it works again. But it does not work. I could not remove particles. I need to use DEFINE_DPM_BC because i want to remove particles when they are near wall. Do you know why the modified one does not work?(The following is the simplified code)Also i am sure that i compile and hook it truely.
#include "udf.h" DEFINE_DPM_BC(ddmm,p,t,f,f_normal,dim) { if(P_POS(p)[0]>0.5) { p->stream_index=-1; } } |
|
|
|
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 03:09 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 01:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 17:45 |
DPM - UDF for fluctuating bubble size | Jaroslav Kotara | FLUENT | 1 | April 19, 2006 09:02 |
DPM; particle seeded / deleted by UDF | Laika | FLUENT | 6 | January 22, 2006 23:40 |