CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   modifying radial distribution function (http://www.cfd-online.com/Forums/fluent/106712-modifying-radial-distribution-function.html)

ravindra September 6, 2012 03:20

modifying radial distribution function
 
hey friends,
i have to write udf for modifying radial distribution function for eulerian granular simulation for fluidised bed reactor.i dont know haw to do ....please help me out.....

ravindra September 7, 2012 01:53

this is the udf which i hv written ......but there is error while iterating.

#include "udf.h"

DEFINE_PROPERTY(cell_radial,c,t)
{
real rad_dis;
real a_a;

a_a=1-pow(((1.-C_VOF(c,t))/0.63),(1/3));
rad_dis=(3/5)*pow(a_a,-1);

return rad_dis;
}

marinagr September 2, 2014 14:03

Hello, ravindra.
Were you able to solve this problem? I have the exact same problem and I can't write a right UDF for it.
Thanks in advance!


All times are GMT -4. The time now is 19:30.