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

UDF for calculating mean temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2011, 13:00
Post UDF for calculating mean temperature
  #1
New Member
 
Avanti Kulkarni
Join Date: Dec 2011
Posts: 1
Rep Power: 0
avanti is on a distinguished road
I am learning ANSYS/ Fluent. I need some help with writing and running UDF to calculate mean temperature. I am analyzing turbulent and laminar flows in a pipe. I know these are very simple problem, but I am still having difficulties creating macros and running UDF.

Any help is appreciated.
avanti is offline   Reply With Quote

Old   December 21, 2011, 16:57
Default
  #2
Member
 
Join Date: Nov 2011
Location: Czech Republic
Posts: 97
Rep Power: 15
Sixkillers is on a distinguished road
I think that all you need to do is loop over all cells in domain by using begin_c_loop_all and obtain temperature of each cell by function C_T. You might want to look at ANSYS FLUENT UDF Manual (release 13) page 47 for a very simple problem similar to yours.
Sixkillers is offline   Reply With Quote

Reply

Tags
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
UDF temperature profile NeoGamaes Fluent UDF and Scheme Programming 5 January 16, 2012 04:10
UDF for linear temperature profile across the hemispherical surface tshv247 Fluent UDF and Scheme Programming 1 October 3, 2011 13:44
UDF of linear distribution of temperature in a 2D tank arailos Fluent UDF and Scheme Programming 1 August 19, 2010 15:14
UDF or any approach for Bulk Temperature calculation vemps FLUENT 0 May 1, 2009 02:09
udf for repatching a temperature in a volume McGregor FLUENT 4 April 10, 2003 05:28


All times are GMT -4. The time now is 20:57.