CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   wall slip udf (https://www.cfd-online.com/Forums/fluent/33780-wall-slip-udf.html)

Avesta May 21, 2004 06:11

wall slip udf
 
hello thank you is it possible to define velocity of fluid near wall(slip flow):U=B*(dU/dx or dy)^n and write udf for this boundary condition? if n=0.9 & B=0.02, is this udf is correct?

#include "udf.h"

DEFINE_PROFILE(slip, thread, nw) { cell_t c; Thread *t; int i;

face_t f;

begin_f_loop (f,thread)

double m =C_DWDY(c, t);

{

F_PROFILE(f,thread,nw) = 0.02* pow ( m, 0.9);

} end_f_loop (f,thread) } please if it is not correct,write it for me correctly

Yours faithfully Arash Avesta


kethireddy May 21, 2004 10:45

Re: wall slip udf
 
Hi it seems okay. what is problem with that ..kethireddy


All times are GMT -4. The time now is 11:48.