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

UDF for Heat transfer coefficient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2006, 02:17
Default UDF for Heat transfer coefficient
  #1
Dong Wenchao
Guest
 
Posts: n/a
I want to write a UDF for heat transfer coefficient which changes as a function of the surface temperature as follows:

htc=24.1e-4*Epsilon*pow(T, 2.0).

So, anyone tell me how to write the UDF with which DEFINE macros?

Thanks in advance!

  Reply With Quote

Old   August 23, 2006, 04:05
Default Re: UDF for Heat transfer coefficient
  #2
saghir
Guest
 
Posts: n/a
#include "udf.h"

DEFINE_PROFILE(pressure_profile,t,i) {

face_t f; double htc; real Epsilon=10.;

begin_f_loop(f,t)

{

htc=24.1e-4*Epsilon*pow(F_T(f,t), 2.0);

F_PROFILE(f,t,i) = htc;

} end_f_loop(f,t) }

  Reply With Quote

Old   August 23, 2006, 06:35
Default Re: UDF for Heat transfer coefficient
  #3
Dong Wenchao
Guest
 
Posts: n/a
Thank you for your reply!
  Reply With Quote

Reply


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
Volumetric mass transfer coefficient tuks_123 FLUENT 1 April 2, 2021 00:25
How to calculate Volumetric Mass transfer coefficient using CFX? tuks_123 CFX 2 July 22, 2010 01:15
heat transfer coefficient ravi FLUENT 0 July 23, 2004 00:08
Wall Heat Tramsfer Coefficient - UDF Greg Perkins FLUENT 0 June 25, 2001 00:31


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