|
[Sponsors] |
UDF for heat transfer coefficient in porous medien in Flunt |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 22, 2017, 20:58 |
UDF for heat transfer coefficient in porous medien in Flunt
|
#1 |
New Member
gao
Join Date: Apr 2017
Posts: 1
Rep Power: 0 |
hello, everyone, Im trying to write a UDF for heat transfer coefficient(htc) in porous medien in Fluent, the htc is dependent in Re and Pr. I'v read the User guide, but im a little confused. Iv used the function DEFINE_PROPERTY, but there is a error: chip-exac: htc: wrong return type:void udf function expected
i think maybe iv used the wrong function type DEFINE_PROPERTY. would someone tell me, which function type should i use? and if you have done this before, i will be grateful if you put your code here. Thank you so much!!! DEFINE_PROPERTY(htc,c,t) { real h; real Rep; real dp; real Cp; real k; real vi; real Pr; real nu; k= C_K_L(c,t); dp=0.000141258; vi=sqrt(C_U(c,t)*C_U(c,t)+C_W(c,t)*C_W(c,t)+C_V(c, t)*C_V(c,t)); Pr=C_CP(c,t)*C_MU_L(c,t)/ k; Rep=C_R(c,t) * vi * dp / C_MU_L(c,t); nu = 2. + 1.1*pow(Rep,0.6)*pow(Pr,1./3.); h=k * nu / dp; return h; } |
|
July 1, 2017, 11:05 |
did you reach to a solution for this error
|
#2 |
New Member
shreehan Abd El-Ghafour
Join Date: Apr 2015
Posts: 12
Rep Power: 11 |
Dear GAOXL,
i encountered the same error when i used the TRANSIRNT_PROFILE to define the heat transfer coefficient in the porous media. did you reach to a solution for this error?????? |
|
Tags |
23.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heat transfer coefficient - what is waht | Stan | FLUENT | 28 | December 29, 2021 17:29 |
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion | faizan_habib7 | CFX | 4 | February 1, 2016 18:00 |
temperature dependent Heat transfer coefficient using UDF | Koham | Fluent UDF and Scheme Programming | 0 | January 5, 2016 09:50 |
UDF for heat transfer coefficient in porous media | anon_m | Fluent UDF and Scheme Programming | 1 | July 29, 2014 11:32 |
UDF for heat transfer coefficient in porous media | anon_m | FLUENT | 0 | July 24, 2014 19:37 |