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

DPM-udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2009, 14:17
Default DPM-udf
  #1
Alireza
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;

}

}

  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:07.