Time varying velocity BC
Hello,
I need a sinusoidal time varying UDF for my problem , I am kind of new to fluent , please direct me , any time varying BC tutorial is helpful but couldnt find any on google Thankyou Tejasvi |
Hi,
if you are new in UDF, it will be better to use other ways like defining a profile. refer to: <defining transient boundary conditions> in user guide (7.1.9 in FLUENT 6.3.26) |
thanks for the reply, I will try that out , meanwhile I have written an UDF , does this look reasonable
#include "udf.h" DEFINE_PROFILE(transient_velocity, thread, position) { float t, velocity; face_t f; t = RP_Get_Real("flow-time"); velocity = Sin(40*3.14*t); begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = velocity; } end_f_loop(f, thread) |
it needs some changes:
Quote:
|
All times are GMT -4. The time now is 11:11. |