CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent Multiphase (http://www.cfd-online.com/Forums/fluent-multiphase/)
-   -   Normal particle velocity in particle deposition! (http://www.cfd-online.com/Forums/fluent-multiphase/50512-normal-particle-velocity-particle-deposition.html)

Prashanth February 8, 2009 23:18

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];

mzy012100 May 29, 2013 22:30

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;i<idim;i++)

vn += p->state.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.


All times are GMT -4. The time now is 20:58.