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

Writing a UDF for Source Terms

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2017, 15:14
Post Writing a UDF for Source Terms
  #1
New Member
 
Arvindh Sunder
Join Date: Nov 2017
Posts: 1
Rep Power: 0
ArvSun is on a distinguished road
Hi, I am simulating a transient scenario for a data center. I have given the racks as a heat source i.e In cell zone I have given source term and specified a energy source of 500W/m3. I want to give it as a sin function where the Q varies with time. i.e at t=0 I want heat source to be 0, then at t=10, heat source to be 500W/m3.. I am not sure how to write a UDF for this specific case.

Also, is there any other way to incorporate this in FLUENT. ?

Thank you very much
ArvSun is offline   Reply With Quote

Old   October 19, 2018, 14:24
Default
  #2
kmd
New Member
 
Dayananda KM
Join Date: Apr 2018
Posts: 8
Rep Power: 8
kmd is on a distinguished road
Did you find how to do that?
I have problem in modelling air flow in server , how you did that? please reply
kmd is offline   Reply With Quote

Old   October 21, 2018, 00:43
Default
  #3
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 22
blackmask will become famous soon enough
Please check the UDF manual on the usage of macros

Code:
DEFINE_SOURCE, CURRENT_TIME
blackmask is offline   Reply With Quote

Old   October 21, 2018, 03:24
Default
  #4
kmd
New Member
 
Dayananda KM
Join Date: Apr 2018
Posts: 8
Rep Power: 8
kmd is on a distinguished road
How to specify air flow in racks?
kmd is offline   Reply With Quote

Reply

Tags
fluent, fluent - udf


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
How to Mix AIR and WATER Elvis1991 FLUENT 12 December 1, 2016 13:28
Writing UDF for Eulerian model golriz Fluent UDF and Scheme Programming 7 November 3, 2011 06:30
UDF Source terms not producing expected results... Emmanuel Resch FLUENT 0 July 31, 2008 15:55
writing UDF for modelig mass transfer for VOF ardalan soleymani FLUENT 0 July 11, 2007 02:09
Seek help in writing UDF Jack Martinez FLUENT 9 June 14, 2007 11:24


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