|
[Sponsors] |
December 17, 2013, 02:32 |
(UDF) Sinusoidal inlet velocity in Fluent
|
#1 |
Member
Harry
Join Date: May 2013
Posts: 68
Rep Power: 13 |
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.
Best Regards Tariq |
|
December 19, 2013, 17:23 |
|
#2 |
New Member
Dapo
Join Date: Jul 2012
Posts: 2
Rep Power: 0 |
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.
Cheers. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for a 3D inlet velocity profile with wave motion | kailingkk | Fluent UDF and Scheme Programming | 9 | May 26, 2021 08:33 |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 07:45 |
unsteady inlet velocity udf | jill | FLUENT | 8 | February 10, 2015 07:04 |
USING IF statement in a UDF for defining Velocity profile at Inlet | amir2920 | Fluent UDF and Scheme Programming | 3 | May 24, 2013 00:46 |
UDF for transient inlet velocity | sharath | FLUENT | 2 | September 14, 2004 00:37 |