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/)
-   -   udf -pulsatile flow (https://www.cfd-online.com/Forums/fluent-udf/122097-udf-pulsatile-flow.html)

parthanitr August 12, 2013 07:18

udf -pulsatile flow
 
I want to change constant inlet velocity to sinusoidal
(asinwt) velocity which will vary with time. Can anybody send the udf file for the same for which I shall be obliged to you.

vasava August 15, 2013 04:45

Try this one:

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)= 2000.+ 100*t;
}
end_f_loop(f,thread)
}



Courtesy: http://www.cfd-online.com/Forums/flu...n-one-udf.html


All times are GMT -4. The time now is 02:10.