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

UDF for Heat transfer coefficient

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

Reply
 
LinkBack Thread Tools 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

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
Heat transfer coefficient - what is waht Stan FLUENT 20 March 11, 2014 11:42
Volumetric mass transfer coefficient tuks_123 FLUENT 0 July 22, 2010 01:24
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 03:18.