(UDF) Sinusoidal inlet velocity in Fluent
Dear friends. I want to use a UDF in which inlet velocity changes sinusoidally from 1m/s to 2m/s in first 0 to 0.1 sec and then decreases back to 1m/s in the next 0.1 to 0.2 sec. And this repetition goes on with time like this. I think it looks simple. Please guide me or send me udf if anyone has. Thanks in advance.
You can use the DEFINE_PROFILE macros to define the inlet velocity. Within the macro, make the F_PROFILE variable a sinusoidal function of the fluent variable, CURRENT_TIME which stores the current flow time from fluent. Remember to hook this UDF once you start up fluent.
|All times are GMT -4. The time now is 18:21.|