|
[Sponsors] |
How can I define an anisotropic conductivity? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 13, 2005, 04:51 |
How can I define an anisotropic conductivity?
|
#1 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 09:23 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 11: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 |