|
[Sponsors] |
January 3, 2015, 01:26 |
one simple question
|
#1 |
Member
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12 |
hi guys,i want to write a udf for temperature dependent thermal conductivity for steel(wall-boundary condition),this is my code:
DEFINE_PROPERTY(steel_thermal_conductivity,c,t) { real T = C_T(c,t); return (real)((1871.0374)*pow(T,-0.5522)); } my question is can we use T=C_T(c,t) for solid temperature or is it just for fluid? since it is temperature in cells |
|
January 5, 2015, 11:02 |
|
#2 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
C_T(c,t) will retrieve the temperature where you set the DEFINE_PROPERTY, it will read the temperature of the solid if you apply the DEFINE_PROPERTY to the solid material.
Last edited by macfly; January 6, 2015 at 02:28. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SIMPLE scheme question | wm2300 | Main CFD Forum | 10 | November 6, 2014 05:55 |
[blockMesh] mergePatchPairs(); simple question | seav | OpenFOAM Meshing & Mesh Conversion | 0 | May 2, 2014 09:57 |
Simple Outlet Question | m.nichols19 | OpenFOAM | 3 | June 25, 2010 02:44 |
Simple Question Regarding Symmetry Planes | Atella | CFX | 3 | April 11, 2010 07:44 |
Simple Question Regarding Symmetry Planes | Atella | Main CFD Forum | 0 | April 9, 2010 11:58 |