/TITLE, Your name and date here, heatc1.a ! Ansys 5.1: find temp and heat transfer ! with convection from heat1.a /PREP7 ! preprocessor section temp1=70 ! inside temperature temp2=20 ! outside temperature ET,1,Link34 ! type 34 is thermal convection R,1,1 ! AREA = 1 ET,2,Link32 ! type 32 is thermal conduction R,2,1 ! AREA = 2 MP,HF,1,2 ! inner conv coefficient MP,KXX,2,0.5 ! concrete therm cond MP,HF,3,10 ! outer conv coefficient N,1,0 N,2,0 N,3,(0.25/12) ! convert to feet N,4,(0.25/12) ! convert to feet TYPE,1 ! convection REAL,1 ! area R 1 MAT,1 ! inner convection E,1,2 MAT,3 ! outer convection E,3,4 TYPE,2 ! conduction REAL,2 ! area R 2 MAT,2 ! conduction E,2,3 FINISH ! preprocessor section /SOLUTION ! solution section antype,static ! analysis type is static outpr,basic,1 outpr,nload,1 D,1,TEMP,temp1 ! temperature of node 1 D,4,TEMP,temp2 ! temperature of node 4 solve FINISH ! solution section /POST1 ! post processor ! /output,Temp,txt,D:\Ansys\ ! Temperature and heat /output,Temp,txt,U:\win\Ansys\ ! Temperature and heat prnsol prrsol ! FINISH ! post processor ! NODE TEMP ! 1 70.000 ! 2 31.039 ! 3 27.792 ! 4 20.000 ! NODE HEAT ! 1 77.922 ! 4 -77.922