|
[Sponsors] |
December 21, 2011, 13:00 |
UDF for calculating mean temperature
|
#1 |
New Member
Avanti Kulkarni
Join Date: Dec 2011
Posts: 1
Rep Power: 0 |
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. |
|
December 21, 2011, 16:57 |
|
#2 |
Member
Join Date: Nov 2011
Location: Czech Republic
Posts: 97
Rep Power: 15 |
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.
|
|
Tags |
udf |
|
|
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 |