How to define a periodic piecewise function for inlet velocity in UDF

Dear all,

I would like to ask how to define a periodic piecewise function for inlet velocity in UDF.

the function can be like:

v=f(t), (n=0,1,2,...)

0.07n<=t<0.07n+0.02, v=1

0.07n+0.02<=t<0.07(n+1), v=0

thanks a lot!

Best Answer

Answers

Sign In or Register to comment.