# Normal particle velocity in particle deposition!

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

 February 8, 2009, 22:18 Normal particle velocity in particle deposition! #1 Prashanth Guest   Posts: n/a Hello all I am working on building a deposition model using UDF in fluent. My criteria for particle sticking compares the particle critical velocity with the particle normal velocity. How do I get the normal velocity in my UDF? Is it just the velocity in the direction normal to the wall or would I have to use something like the code below to find it? This was taken from the UDF manual example. if(p->type==DPM_TYPE_INERT) { alpha = M_PI/2. - acos(MAX(-1.,MIN(1.,NV_DOT(normal,p->state.V)/ MAX(NV_MAG(p->state.V),DPM_SMALL)))); if ((NNULLP(t)) && (THREAD_TYPE(t) == THREAD_F_WALL)) F_CENTROID(x,f,t); /*computing normal velocity*/ for(i=0;istate.V[i]*normal[i];

May 29, 2013, 22:30
#2
New Member

zhongying ma
Join Date: Nov 2012
Location: Beijing
Posts: 5
Rep Power: 13
Quote:
 Originally Posted by Prashanth ;156476 Hello all I am working on building a deposition model using UDF in fluent. My criteria for particle sticking compares the particle critical velocity with the particle normal velocity. How do I get the normal velocity in my UDF? Is it just the velocity in the direction normal to the wall or would I have to use something like the code below to find it? This was taken from the UDF manual example. if(p->type==DPM_TYPE_INERT) { alpha = M_PI/2. - acos(MAX(-1.,MIN(1.,NV_DOT(normal,p->state.V)/ MAX(NV_MAG(p->state.V),DPM_SMALL)))); if ((NNULLP(t)) && (THREAD_TYPE(t) == THREAD_F_WALL)) F_CENTROID(x,f,t); /*computing normal velocity*/ for(i=0;istate.V[i]*normal[i];
could tell me that wheather your problem was solved?the criteria for particle sticking compares the particle critical velocity ,is there necessary to conductforce analysis near wall between the particle and fluid? looking forward your replying.