-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvia_thresis.mac
187 lines (143 loc) · 5 KB
/
via_thresis.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx!
!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx!
!
! Filename: via_thresis.mac, ANSYS APDL script
! by <[email protected]>
!
! Issue: 1. Geometric and FE modeling of copper via:
! 3D FE-mesh -> *.db
! 2. Linear static thermal analysis: T(x,y,z)
! Laplace's equation: [K]*{T}={Q}
! 3. Thermal resistance calculation: Rth=dT/Q
!
! Rev.:
! 2018-02-13 Munich
!
!==========================================================================!
!
! Pin
! ||||||||||||||||| Load
! vvvvvvvvvvvvvvvvv
! o---------------o
! | pad |
! o---o-------o---o
! | via |
! o---o-------o---o
! | pad |
! o---------------o
! \\\\\\\\\\\\\\\\\\ BC
!
! Tamb
!
! ASCII-Schematic of the problem
!
!==========================================================================!
!
!
!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx!
!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx!
FINISH $/CLEAR $/CONTOUR,1,128
/VUP,,Z
/TITLE, steady state heat transfer analysis
project_name='Rthermal'
!--------------------------------------------------------------------------!
/PREP7
mm=1e-3 !
um=1e-6 !
PI=2*ASIN(1) !
!-------------------------! geometry parametrs !---------------------------!
n_layers=10 ! 6;8;10
radius_via= 60*um
radius_pad=100*um
hight_via= 25*um
hight_pad= 12*um
! mesh quality: element size
el_size=radius_via/4 !
Tamb=20 ! ambient temperature
Pin=0.1 ! heat flow rate: (HEAT), Watt
hight=hight_pad*n_layers+hight_via*(n_layers-1)
area_pad=PI*radius_pad*radius_pad
heat_flux=Pin/area_pad ! heat flow rate per area: Heat Fluxes(HFLUX), W/m/m
!--------------------------------------------------------------------------!
!----------------------! Defines elements types !--------------------------!
!--------------------------------------------------------------------------!
!ET,1,SOLID70 ! 8-Node 3D thermal brick element
ET,1,SOLID90 ! 20-Node 3D
!--------------------------------------------------------------------------!
!-------------------! Defines material properties !------------------------!
!--------------------------------------------------------------------------!
EMUNIT,MKS !
! thermal material properties:
!kth=1.3 ! SiO2 thermal conductivity, W/(m·K)
!kth=150 ! Si thermal conductivity, W/(m·K)
!kth=220 ! Al thermal conductivity, W/(m·K)
kth=380 ! Cu thermal conductivity, W/(m·K)
mp,KXX,1,kth ! thermal conductivity
!mp,RSVX,1,1/58000000 ! Cu resistivity
!--------------------------------------------------------------------------!
!-------------------------------! Geometry !-------------------------------!
!--------------------------------------------------------------------------!
CYLIND,0,radius_via,0,hight,0,360
*DO,I,1,n_layers,1
CYLIND,,radius_pad,(I-1)*(hight_via+hight_pad),(I-1)*(hight_via+hight_pad)+hight_pad,0,360
*ENDDO
allsel
vovlap,all
numcmp,all
!--------------------------------------------------------------------------!
!------------------------------! FEA Domain !------------------------------!
!--------------------------------------------------------------------------!
! mesh
!SMRTSIZE,4 ! set smart size meshing level 4 (fine)
MSHAPE,1,3D ! mesh with tetrahedral-shaped elements
ESIZE,el_size
MAT,1 $TYPE,1
VMESH,ALL
!--------------------------------------------------------------------------!
!--------------------! Defines components for BCs !------------------------!
!--------------------------------------------------------------------------!
allsel
nsel,s,loc,z,0 ! bottom
cm,nodes_bottom,node
cp,1,TEMP,all
Nbottom=NDNEXT(0)
allsel
nsel,s,loc,z,hight
cm,nodes_top,node
cp,2,TEMP,all
Ntop=NDNEXT(0)
!csys,1
!nsel,s,loc,x,radius_pad
!cm,nodes_out,node
csys,0
cmsel,all $allsel
eplot
!==========================================================================!
/PNUM,MAT,1 $/NUMBER,1 $EPLOT
!save,project_name,db,,all
!==========================================================================!
! apply load and BCs
d,Nbottom,TEMP,Tamb
asel,s,loc,z,hight
SFA,all,1,HFLUX,heat_flux
cmsel,all $allsel
!==========================================================================!
!==========================================================================!
/solu
antype,static ! steady state heat transfer analysis
OUTPR,ALL,1
solve
!==========================================================================!
!==========================================================================!
/post1
plns,temp
!ples,heat
allsel
FSUM,HEAT
*GET,Q,FSUM,0,ITEM,HEAT ! HEAT= 0.9999991E-01 W
*GET,Ttop,NODE,Ntop,TEMP ! get temperature at top surface: 27.753
Rth=(Ttop-Tamb)/Q ! 77.5301360 K/W
*status,Rth
!==========================================================================!
!==========================================================================!
/eof