|
[Sponsors] |
UDF to change heat transfer coefficient with wall temperature |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2012, 05:21 |
UDF to change heat transfer coefficient with wall temperature
|
#1 |
New Member
|
Hi
I need to change the heat transfer coefficient on a wall with changing temperature on the wall. I have written a simple UDF to change the heat transfer coefficient, which is interpreting into Fluent with no problems, but when I run a monitor on the wall for Total surface heat transfer coefficient it is giving me strange answers with negative values. I know that very low values of ln() will give a negative answer but anything over ln(0.4) in this equation will give a postivie answer. At a temperature of 297, this equation should give a h value of 3.06, but instead it keeps returning a value of 0.0002. Is my UDF too basic? or is the problem with my monitor? #include "udf.h" DEFINE_PROFILE(HTC, thread, index) { face_t f; real Temp = 293.15; F_PROFILE(f, thread, index) = 1.2854*log(Temp - 293) + 1.2822; } Or should i be using the return HTC function as is used in DEFINE_PROPERTY which change with temperature also? Last edited by emmkell; May 10, 2012 at 07:51. |
|
Tags |
heat transfer coefficient, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heat transfer coefficient - what is waht | Stan | FLUENT | 28 | December 29, 2021 16:29 |
Wall Transfer Coefficien - Heat Transfer Coefficient - CFX | Gargioni | CFX | 12 | September 23, 2019 16:09 |
UDF for Heat Exchanger model | francois louw | FLUENT | 2 | July 16, 2010 02:21 |
Flow around pipes - heat transfer coefficient on the wall of pipe | doodek | Main CFD Forum | 2 | November 23, 2009 08:48 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |