Morvan Dominique
|
November 9, 1999 02:35 |
Unsteady BC with FLUENT5
I would wish to impose unsteady boundary conditions by using software FLUENT5 and them User Defined Function (UDF) in interpreted mode. I tested the example developed in documentation entitled: " Transient Velocity Inlet Profiles for Flow in A Tube " To impose a condition speed of the form: Vx=V0+Asin(wt) I used the following procedure: #include "udf.h" DEFINE_PROFILE(unsteady_velocity,thread,position) { face_t_f; begin_f_loop(f,thread) { real t=RP_Get_Real("flow_time"); F_PROFILE(f,thread,position)=20.+5.*sin(10.t); } end_f_loop(f,thread) } By looking at the time evolution of the speed at the exit of the tube, I do not find a sinusoidale curve ? Did somebody of other encounter the same problem? Thank you in advance
|