|
[Sponsors] |
August 23, 2006, 03:17 |
UDF for Heat transfer coefficient
|
#1 |
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! |
|
August 23, 2006, 05:05 |
Re: UDF for Heat transfer coefficient
|
#2 |
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) } |
|
August 23, 2006, 07:35 |
Re: UDF for Heat transfer coefficient
|
#3 |
Guest
Posts: n/a
|
Thank you for your reply!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heat transfer coefficient - what is waht | Stan | FLUENT | 28 | December 29, 2021 17:29 |
Volumetric mass transfer coefficient | tuks_123 | FLUENT | 1 | April 2, 2021 01:25 |
How to calculate Volumetric Mass transfer coefficient using CFX? | tuks_123 | CFX | 2 | July 22, 2010 02:15 |
heat transfer coefficient | ravi | FLUENT | 0 | July 23, 2004 01:08 |
Wall Heat Tramsfer Coefficient - UDF | Greg Perkins | FLUENT | 0 | June 25, 2001 01:31 |