CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Velocity profile regarding turbulence ??? (http://www.cfd-online.com/Forums/fluent-udf/82143-velocity-profile-regarding-turbulence.html)

Aminullah November 18, 2010 02:36

Velocity profile regarding turbulence ???
 
Bismillah,

I've got the prob' when iterate using UDF on inlet velocity .
here the formula I was made:
#include "udf.h"
DEFINE_PROFILE(x_kecepatan_49,thread,index)
{
real x[ND_ND];
real y;
face_t f;
begin_f_loop(f,thread)
in the DEFINE macro argument */
{
F_CENTROID(x,f,thread);
y = x[1];
F_PROFILE(f,thread,index) =1.11*pow((1.-(y/.008)),.1);
}
end_f_loop(f,thread)
}

although iterate keep running it takes a long time..., I was lower my URF's
what should I do ???

Best Wish...


All times are GMT -4. The time now is 04:41.