CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   wall velocity----- (https://www.cfd-online.com/Forums/fluent/40399-wall-velocity.html)

Mech March 31, 2006 23:49

wall velocity-----
 
I want to change wall velocity. So I wrote the UDF. I can hook the UDF no iteration and velocity is not being changed. I am using well converged case file. I can not use DEFINE_PROFILE macro because I need to change velocity on the wall which is slip condition. Can anybody help me? I will be grateful. Thanks.

#include <udf.h>

DEFINE_ADJUST(adjust_vel, d) {

face_t f;

Thread *t;

t=Lookup_Thread(d,3);

begin_f_loop(f,t)

{

F_U(f,t)= 5.0;

}

end_f_loop(f,t) }



All times are GMT -4. The time now is 17:33.