Solid State Temperature
Hi,
I am working on porous media with local thermal non equilibrium model. I do not know how can I define solid state temperature. I found UDS code for solid diffusivity and and source code. But solid state temperature Ts was not defined. Where can I define solid temperature. if you help I would be glad. This is Uds code for diffusivity. #include "udf.h" #define TKS 10 #define SOLID_THERMAL_COND(Ts) 2 #define SOLID_DENSITY(Ts) 3 #define SOLID_CP(Ts) 2 enum { SOLID_TEMP }; DEFINE_DIFFUSIVITY( uds_diffusivity, cell, thread, i ) { real source; real Ts; if (i == SOLID_TEMP) { Ts = C_UDSI(cell, thread, SOLID_TEMP); source = (SOLID_THERMAL_COND(Ts) / (SOLID_DENSITY(Ts)*SOLID_CP(Ts))); } else source = 0.0; return source; } |
All times are GMT -4. The time now is 00:31. |