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

UDF for velocity inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2011, 23:36
Question UDF for velocity inlet
  #1
New Member
 
ZHAOHUI
Join Date: Jan 2011
Location: QLD
Posts: 9
Rep Power: 15
Zhaohui Lu is on a distinguished road
Hi all,

Is there anybody know if UDF could define the velocity boundary which is related to time and space at the same time?

Thanks!

Joey
Zhaohui Lu is offline   Reply With Quote

Old   February 1, 2011, 05:45
Default
  #2
New Member
 
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 15
General_Gee is on a distinguished road
Heya,

Check here for a UDF velocity profile that varies with space

http://www.cfd-online.com/Forums/flu...d-turbine.html

you can access the current time using

real current_time;
current_time=RP_Get_Real("flow-time");

you can then add this into the equation for F_PROFILE

eg

F_PROFILE(f, thread, position) = 1.73-((15-y)*(15-y)*1.73/(30*30))+current_time;

Good luck
General_Gee is offline   Reply With Quote

Old   February 3, 2011, 01:43
Default
  #3
New Member
 
ZHAOHUI
Join Date: Jan 2011
Location: QLD
Posts: 9
Rep Power: 15
Zhaohui Lu is on a distinguished road
Quote:
Originally Posted by General_Gee View Post
Heya,

Check here for a UDF velocity profile that varies with space

http://www.cfd-online.com/Forums/flu...d-turbine.html

you can access the current time using

real current_time;
current_time=RP_Get_Real("flow-time");

you can then add this into the equation for F_PROFILE

eg

F_PROFILE(f, thread, position) = 1.73-((15-y)*(15-y)*1.73/(30*30))+current_time;

Good luck
Thanks man. let me try it again!
Zhaohui Lu 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 inlet mass flow rate rahulsuresh89 Fluent UDF and Scheme Programming 1 October 16, 2010 17:06
Fluent UDF load and apply inlet velocity b.c. Knut Lehmann Main CFD Forum 2 June 29, 2007 04:53
UDF 3D inlet b.c. problem Andrew FLUENT 4 May 25, 2004 04:24
find the best inlet with udf Tuckbros FLUENT 0 May 20, 2004 12:56
Fluent6.0 UDF inlet velocity BC David FLUENT 5 September 7, 2002 02:07


All times are GMT -4. The time now is 17:39.