CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS

UDF for calculating mean temperature

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 21, 2011, 13:00
Post UDF for calculating mean temperature
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
Join Date: Nov 2011
Location: Czech Republic
Posts: 95
Rep Power: 8
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



Thread Tools
Display Modes

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 On
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 12:44
UDF of linear distribution of temperature in a 2D tank arailos Fluent UDF and Scheme Programming 1 August 19, 2010 14:14
UDF or any approach for Bulk Temperature calculation vemps FLUENT 0 May 1, 2009 01:09
udf for repatching a temperature in a volume McGregor FLUENT 4 April 10, 2003 04:28

All times are GMT -4. The time now is 23:03.