Professional Documents
Culture Documents
= 1700Kg/m3
= 40 W/m-K
= 3.1E-5 m 2/s
b) Thickness = 40mm
Weight =68 kg
d)Temperature Variation with time.
It can be seen from figure that temperature is increasing
along TPS material with time. At 150s steady state is reached
and there is no change in temperature afterwards.
Program tps
integer :: i,j,x,y,t
real*8 :: q,rho,cp,dt,dx,k,alpha,eps,s,ss,temp(1:40,1:100000)
q
= 1e6
rho = 1700
dt
cp
!constant flux
!Density
= 0.001
= 760
!Specific heat
= 40
!conductivity
eps = 0.9
!emissivity
sigma= 5.67e-8
alpha = k/(rho*cp)
s = (alpha*dt)/(dx*dx)
open(10,file = 'tps_2.dat')
!Initialize
do i=1,40
temp(i,1) = 310
end do
!Boundary Conditions
do t=1,100000
temp(40,t) = 310
end do
!Main loop
ss = dt/(rho*dx*cp)
do t=1,99999
do i=1,39
if(i.eq.1) then
temp(i,t+1) = temp(i,t) + (q-(eps*sigma*(temp(i,t))**4)
- (k/dx)*(temp(i+1,t) - temp(i,t)))*ss
else
temp(i,t+1) = s*(temp(i+1,t)-(2*temp(i,t))+temp(i-1,t)) +
temp(i,t)
end if
write(*,*) t,temp(i,t)
end do
end do
do i=1,40
write(10,*) i*dx,temp(i,100000)
end do
end program