initial checkin, based on GSS 0.46 CVS
[gss-tcad.git] / src / material / TiSi2 / TiSi2_thermal.cc
blob7e941e66b755dc4070c50269047e9ad8bca50718
1 /*****************************************************************************/
2 /* */
3 /* 8888888 88888888 88888888 */
4 /* 8 8 8 */
5 /* 8 8 8 */
6 /* 8 88888888 88888888 */
7 /* 8 8888 8 8 */
8 /* 8 8 8 8 */
9 /* 888888 888888888 888888888 */
10 /* */
11 /* A Two-Dimensional General Purpose Semiconductor Simulator. */
12 /* */
13 /* GSS material database Version 0.4 */
14 /* Last update: May 27, 2007 */
15 /* */
16 /* Gong Ding */
17 /* gdiso@ustc.edu */
18 /* NINT, No.69 P.O.Box, Xi'an City, China */
19 /* */
20 /*****************************************************************************/
22 // Material Type: TiSi2
25 #include "PMI.h"
27 class GSS_TiSi2_Thermal : public PMIC_Thermal
29 private:
30 PetscScalar A_SP_HEA; // First parameter for the specific heat model of the material.
31 PetscScalar B_SP_HEA; // Second parameter for the specific heat model of the material.
32 PetscScalar C_SP_HEA; // Third parameter for the specific heat model of the material.
33 PetscScalar D_SP_HEA; // Fourth parameter for the specific heat model of the material.
34 PetscScalar F_SP_HEA; // Fifth parameter for the specific heat model of the material.
35 PetscScalar G_SP_HEA; // Sixth parameter for the specific heat model of the material.
36 PetscScalar A_TH_CON; // First parameter for the thermal conductivity model of the material.
37 PetscScalar B_TH_CON; // Second parameter for the thermal conductivity model of the material.
38 PetscScalar C_TH_CON; // Third parameter for the thermal conductivity model of the material.
39 PetscScalar E_TH_CON; // Fifth parameter for the thermal conductivity model of the material.
40 PetscScalar D_TH_CON; // Fourth parameter for the thermal conductivity model of the material.
41 void Thermal_Init()
43 //use value for Al
44 A_SP_HEA = 7.370000e+02*J/kg/K;
45 B_SP_HEA = 0.442000e+00*J/kg/pow(K,2);
46 C_SP_HEA = 0.000000e+00*J/kg/pow(K,3);
47 D_SP_HEA = 0.000000e+00*J/kg*K;
48 F_SP_HEA = 0.000000e+00*J/kg/pow(K,4);
49 G_SP_HEA = 0.000000e+00*J/kg/pow(K,5);
50 //thermal conductivity value is right.
51 A_TH_CON = 2.99070074e0*cm*K/J*s;
52 B_TH_CON = 0.000000e+00*cm/J*s;
53 C_TH_CON = 0.000000e+00*cm/J*s/K;
54 E_TH_CON = 0.000000e+00;
55 D_TH_CON = 0.000000e+00*cm/J*s*pow(K,1-E_TH_CON);
57 public:
58 PetscScalar HeatCapacity (const PetscScalar &Tl) const
60 return A_SP_HEA + B_SP_HEA*Tl + C_SP_HEA*Tl*Tl + D_SP_HEA/Tl/Tl
61 + F_SP_HEA*Tl*Tl*Tl + G_SP_HEA*Tl*Tl*Tl*Tl;
63 PetscScalar HeatConduction(const PetscScalar &Tl) const
65 return 1.0/(A_TH_CON + B_TH_CON*Tl + C_TH_CON*Tl*Tl + D_TH_CON*pow(Tl,E_TH_CON));
67 GSS_TiSi2_Thermal(const PMIC_Environment &env):PMIC_Thermal(env)
69 Thermal_Init();
71 ~GSS_TiSi2_Thermal()
77 extern "C"
79 PMIC_Thermal* PMIC_TiSi2_Thermal_Default (const PMIC_Environment& env)
81 return new GSS_TiSi2_Thermal(env);