CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

(UDF) Sinusoidal inlet velocity in Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2013, 02:32
Default (UDF) Sinusoidal inlet velocity in Fluent
  #1
Member
 
Harry
Join Date: May 2013
Posts: 68
Rep Power: 13
star is on a distinguished road
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
star is offline   Reply With Quote

Old   December 19, 2013, 17:23
Default
  #2
New Member
 
Dapo
Join Date: Jul 2012
Posts: 2
Rep Power: 0
oayeni1 is on a distinguished road
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.
oayeni1 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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