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

Effective thermal conductivity UDF - C_K_EFF??

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 9, 2004, 18:43
Default Effective thermal conductivity UDF - C_K_EFF??
  #1
Craig
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; }
  Reply With Quote

 


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
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


All times are GMT -4. The time now is 08:58.