CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

*****Particle Tracking In DPM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 14, 2006, 03:33
Default *****Particle Tracking In DPM
Posts: n/a
Hi users,

I've got a problem with my DPM model. I'd like to impose a UDF that describes the porous zone behavior during tracking particle routine. I'd like to stop certain particle (selected by their particle identification number). My problem is restarting particles tracking of part_id that are not in my interest!! I attach my code (semplified)

Please and thank you.


DEFINE_DPM_BC(ADESIONE_SCAF,p,t,f,f_normal,dim) { /*confronto part_id corrente - part_id nell'array di randomizzazione*/ int select,i,l;

FILE *fp;

/*chiamata della funzione che fa il confronto */

select=confronta(p->part_id, a);


if (select==1)


Message("select = %d part_id ferma =%d\n",select,p->part_id);


/*scrivo nel file la posizione in cui si č fermata e in quale faccia*/

fprintf(fp,"((%10.6g %10.6g %10.6g %10d %10d %10.6g %10.6g %10.6g) %d)\n",p->state.pos[0],p->state.pos[1],p->state.pos[2],t,f,f_normal[0],f_normal[1],f_normal[2],p->part_id);





/*attribuisco il 'trap' alla particella che č realizzato con la funzione*/


if (select==0)





return (int) l; }
  Reply With Quote


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM particle tracking in stirred tank parisa- FLUENT 1 August 7, 2012 12:03
Particle tracking in DPM Harpreet FLUENT 0 August 27, 2011 04:12
DPM particle tracking parisa- Main CFD Forum 2 June 15, 2011 05:12
Itīs possible to use this in unsteady dpm tracking? JSoares Fluent UDF and Scheme Programming 3 June 9, 2011 10:41
DPM tracking particle Clementine FLUENT 0 November 7, 2008 19:08

All times are GMT -4. The time now is 22:36.