|
[Sponsors] |
September 10, 2016, 18:33 |
Solid State Temperature
|
#1 |
Member
Join Date: Jun 2016
Posts: 31
Rep Power: 9 |
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; } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
No results for solid domain | Gary Holland | CFX | 10 | March 13, 2009 03:30 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |