|
[Sponsors] |
Effective thermal conductivity UDF - C_K_EFF?? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 9, 2004, 18:43 |
Effective thermal conductivity UDF - C_K_EFF??
|
#1 |
Guest
Posts: n/a
|
Hi, I am modeling heat transfer in a porous media and get a parse error when I work with the macro C_K_EFF. I get a parse error in that line. If I replace with any other arbitrary macro, say C_K_L or C_MU_EFF or whatever I want it compiles fine. Using V6.1.
Anybody have any ideas why this doesn't work? My UDF is below. #include "udf.h" DEFINE_PROPERTY(cell_conductivity, cell, thread) { real k_s; real rho = C_R(cell, thread); real u = C_U(cell, thread); real v = C_V(cell, thread); real mu = C_MU_L(cell, thread); real k_gas = C_K_EFF(cell, thread); k_s=1.613*(4.62+.0001425*rho/mu*sqrt(u*u+v*v))*k_gas; return k_s; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need one simple udf code for effective thermal conductivity of nanofluid | mvf | Fluent UDF and Scheme Programming | 1 | February 10, 2017 19:05 |
UDF for effective thermal conductivity | Rashmi | FLUENT | 1 | November 6, 2007 20:08 |
UDF for effective thermal conductivity | Mona | FLUENT | 2 | January 16, 2006 13:36 |
Can wemodify effective thermal conductivity by UDF | FengYun | FLUENT | 2 | October 27, 2005 05:28 |
Porous Media Effective Thermal Conductivity | Greg Perkins | FLUENT | 3 | August 5, 2001 21:53 |