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

UDF to change heat transfer coefficient with wall temperature

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By hatef

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 10, 2012, 05:21
Default UDF to change heat transfer coefficient with wall temperature
  #1
New Member
 
Emma
Join Date: Sep 2009
Posts: 17
Blog Entries: 1
Rep Power: 16
emmkell is on a distinguished road
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.
emmkell is offline   Reply With Quote

 

Tags
heat transfer coefficient, 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
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


All times are GMT -4. The time now is 22:01.