CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Is my setting way about turbulence boundary right? (https://www.cfd-online.com/Forums/fluent-udf/81738-my-setting-way-about-turbulence-boundary-right.html)

tompa November 5, 2010 01:14

Is my setting way about turbulence boundary right?
 
I use UDF below
DEFINE_PROFILE(k,t,i)
{
begin_f_loop(f,t)
{
F_CENTROID(x,f,t);
F_PROFILE(f,t,i)=F_K(f,t);
}
end_f_loop(f,t)
}

DEFINE_PROFILE(e,t,i)
{
begin_f_loop(f,t)
{
F_CENTROID(x,f,t);
F_PROFILE(f,t,i)=F_D(f,t);
}
end_f_loop(f,t)
}

and i choose udf k and udf e as the boundary condition of turbulence kinetic energy and dissipation.

I'm not sure is it the correct way?


All times are GMT -4. The time now is 03:37.