|
[Sponsors] |
October 23, 2014, 01:32 |
Specific Heat and Conductivity UDF
|
#1 |
New Member
Rusthi
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
Hi there,
Please check this UDF for specific heat and conductivity and tell me this is right or wrong.. I am using a transient analysis profile for Temperature Vs Time variation on one surface. I am modeling a air cavity wall with outer and inner surface. the outer surface boundary condition is set to the Profile temperature variation. #include "udf.h" DEFINE_SPECIFIC_HEAT(my_user_cp, T, Tref, h, yi) { real cp; if (T < 373.15) { cp = 950; } else if (T >= 373.15 && T <= 473.15) { cp = 17500; } else { cp = 950; } *h = cp*(T-Tref); return cp; } #include "udf.h" DEFINE_PROPERTY(my_user_Conductivity,c,t) { real k; real T = C_T(c,t); if (T < 413.15) { k = 0.25; } else if (T >= 413.15 && T <= 1073.15) { k = 0.15; } else if (T > 1073.15 && T <= 1273.15) { k = 0.4; } else { k = 0.8; } return k; } |
|
Tags |
specific heat, udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 01:58 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 13:02 |