Normal particle velocity in particle deposition!
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;i<idim;i++) vn += p->state.V[i]*normal[i]; |
Quote:
|
All times are GMT -4. The time now is 10:58. |