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

How can I define an anisotropic conductivity?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 13, 2005, 04:51
Default How can I define an anisotropic conductivity?
  #1
demigod
Guest
 
Posts: n/a
How can I define an anisotropic thermal conductivity as following:

thermcal conductivity for x direction is constant, for example, kx = 3; and thermal conductivity for the y direction is varied with y, for example, ky = y^2.

I write an udf to define the position-related thermal conductivity. as following,

DEFINE_PROPERTY(udf_material, c, t) { real z_thermal_conductivity;

real xc[ND_ND];

C_CENTROID(xc,c,t);

z_thermal_conductivity = xc[1]*xc[1];

return z_thermal_conductivity; }

and hook this udf in the orthotropic setting.

But it will give a error like following,

Error: GENERAL-CAR-CDR: invalid argument [1]: improper list Error Object: #f

and the result is wrong.

How can i do? Thanks.
  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
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 140 June 19, 2010 09:23
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 05:31.