Heat conduction in cylinder

23
Lab Project Modification of Transient Heat Conduction Aditya Gopi CH06B001, Ajay Singh Jadun CH06B002, Anshu Gupta CH06B004 BRIEF THEORY When solid body is subject a temperature gradient due to difference in temperature of solid and the fluid around it transient heat conduction occurs. In the presence of the temperature gradient heat flows between the solid and fluid till the time thermal equilibrium is reached. When this process takes place the are two kinds of resistances, internal conductive resistance and the external convective resistance. The ratio of these resistances is called Biot number. Biot number (Bi) determines the validity of a body behaving as a lumped mass. Bi= ( Heat transfer by convection ) (Heat transfer by conduction) = hL c k Where L c = characteristic length (solid volume/ area) k = thermal conductivity of the solid. Note: If Biot number (Bi) is << 1 lumped system approximation can be done. In order to find the heat transfer coefficient of the cylinder, we need the use of Heisler charts. These charts have the following characteristics: Plot of T ( 0,0,t ) - T T o - T versus F o = αt L c 2 (Fourier Number) with reciprocal of Biot number as a parameter. is thermal diffusivity = k/C and T(0,0,t) is temperature of the centre of the cylinder at time t. Temperature at some location other 1

description

Conduction in a cylinder

Transcript of Heat conduction in cylinder

Page 1: Heat conduction in cylinder

Lab Project

Modification of Transient Heat Conduction

Aditya Gopi CH06B001, Ajay Singh Jadun CH06B002, Anshu Gupta CH06B004

BRIEF THEORY

When solid body is subject a temperature gradient due to difference in temperature of solid

and the fluid around it transient heat conduction occurs. In the presence of the temperature

gradient heat flows between the solid and fluid till the time thermal equilibrium is reached.

When this process takes place the are two kinds of resistances, internal conductive

resistance and the external convective resistance. The ratio of these resistances is called Biot

number. Biot number (Bi) determines the validity of a body behaving as a lumped mass.

Bi= (Heat transfer by convection )(Heat transfer by conduction)

=h Lc

k

Where Lc = characteristic length (solid volume/ area)

k = thermal conductivity of the solid.

Note: If Biot number (Bi) is << 1 lumped system approximation can be done.

In order to find the heat transfer coefficient of the cylinder, we need the use of Heisler charts.

These charts have the following characteristics:

Plot of T (0,0,t ) - T∞

To - T∞

versus Fo= αt

Lc2

(Fourier Number) with reciprocal of Biot number

as a parameter. is thermal diffusivity = k/C and T(0,0,t) is temperature of the centre of the

cylinder at time t. Temperature at some location other than at the centre can be determined

from the plot of T (r,z,t ) - T∞

To - T∞

versus Fo= αt

Lc2

with 1Bi

as a parameter. (r,z are the

distances measured in the radial direction and z direction respectively from the centre.)

1

Page 2: Heat conduction in cylinder

INTRODUCTION

We are modifying the current existing Transient Heat Conduction set-up from analogous to

digital. We are putting a data collector card which reads temperature and send it as a digital

data into a computer for storage. We plot this temperature data, on the Heisler chart obtained

after solving 2D transient heat conduction in a cylinder. We then obtain the Biot number,

which is used to get the convective heat transfer coefficient.

2-D Transient Heat equation is solved using CFD. The cylinder can be divided into 4

symmetric parts round its axis. It can be seen that all the four parts are symmetric and hence

we need only one quadrant for our calculation. The result can be extended to other three.

Figure 1: Division of the cylinder

2

Page 3: Heat conduction in cylinder

Figure 2: Planer representation of single quadrant

Now any point (i,j) in the above quadrant can be represented as:

Figure 3: Representation of any point in the quadrant.

3

Page 4: Heat conduction in cylinder

Now, centre difference formula at any point can be written as :

∂2 T∂z2 =

T ( i-1,j) -2T ( i,j )+T(i+1,j)

(dz)2

∂2 T∂z2 =

T ( i,j+1 ) -2T (i,j ) +T(i,j-1)

(dr)2

1r

∂T∂r

=T ( i,j+1 )-T(i,j-1)2r(dr)

∂T∂t

=T (i-1,j )[1dz2 ]+T ( i+1,j )[1dz2 ]+T ( i,j )[-2dz2-

2

dr2 ]+T (i,j+1 )[1dr2+

12rdr ]+T(i,j-1) [1dr2

-12rdr ]

Now we can solve this differential equation with the help of boundary conditions, which are listed below.

BOUNDARY CONDITIONS

Top side node:

-k∂T∂r

=h(T- Tf )

T ( i-1,j) =T ( i+1,j ) -2h (T ( i,j ) - Tf )dz

k

Top corner (n,m):

-k∂T∂z

=h(T- Tf ) and -k∂T∂r

=h(T- Tf )

T ( i,j+1 )=T ( i,j-1) -2h (T ( i,j ) - Tf )dr

k

Right side node:

-k∂T∂r

=h(T- Tf )

T ( i,j+1 )=T ( i,j-1) -2h (T ( i,j ) - Tf )dr

k

Top side corner (1,1) :

4

Page 5: Heat conduction in cylinder

-k∂T∂z

=h(T- Tf )

T ( i-1,j) =T ( i+1,j ) -2h (T ( i,j ) - Tf )dz

k

By symmetry T(i,j-1)= T(i,j+1)

Bottom corner (1,n) :

-k∂T∂r

=h(T- Tf )

T ( i,j+1 )=T ( i,j-1) -2h (T ( i,j ) - Tf )dr

k

By symmetry T(i+1,j)= T(i-1,j)

Left side node :T(i,j-1) = T(i,j+1)

Bottom side node:T(i+1,j) = T(i-1,j)

Centre node:T(i+1,j) = T(i-1,j)T(i,j+1) = T(i,j-1)

COEFFICIENT CALCULATION

Now, we convert the 2-D array into 1-D and for that we need to calculate proper coefficients for each of the temperature parameter.

Let us take an example of 3 ×3 matrix.

a11 a12 a13

a21 a22 a23

a31 a32 a33

Now, if we convert this into 1-D the matrix will be 1× 9 with the elements arranged as follows:

[a11 a12 a13 a21 a22 a23 a31 a32 a33 ]

So, following the same pattern, we can calculate the coefficient of 1-D matrix element corresponding to 2-D element. The calculation is shown below.

5

Page 6: Heat conduction in cylinder

Central Node:

Coeff [n (i-1) +j, n(i-1)+(j-1) ] 1

dr2-1

2(j-1)(dr)2

Coeff [n (i-1) +j, n(i-1)+j ] -2

dz2-2

(dr)2

Coeff [n (i-1) +j, n(i-1)+(j+1)] 1

dr2+

1

2(j-1)(dr)2

Coeff [n (i-1) +j, n(i-2)+j ] 1

(dz)2

Coeff [n (i-1) +j, n(i)+j ] 1

(dz)2

Top side nodes i=1, j=2 to (n-1)

Coeff [n (i-1) +j, n (i-1)+j ] -2

(dz)2-2

(dr)2-2hk(dz)

Coeff [n (i-1) +j, n (i)+j] 2

(dz)2

Coeff [n (i-1) +j, n (i-1)+(j+1)] 1

dr2+

1

2(j)(dr)2

Coeff [n (i-1) +j, n (i-1)+(j-1)] 1

(dr)2-1

2(j)(dr)2

Coeff [n (i-1) +j, n (m-1)+(n+1) ] 2hT f

k(dz)

Left side nodes i=2 to m-1 , j=1

Coeff [n(i-1)+j, n(i-2)+j] 1

(dz)2

Coeff [n (i-1) +j, n(i)+j] 1

(dz)2

Coeff [n (i-1) +j, n(i-1)+j] -2

(dz)2-2

(dr)2

Coeff [n (i-1) +j, n(i-1)+(j+1) ] 2

(dr)2

Bottom side nodes i=m j=2 (n-1)

6

Page 7: Heat conduction in cylinder

Coeff [n (i-1) +j, n (i-2)+j] 2

(dz)2

Coeff [n (i-1) +j, n(i-1)+j] -2

(dz)2-2

(dr)2

Coeff [n (i-1) +j, n(i-1)+(j+1)] 1

dr2-1

2(j-1)(dr)2

Coeff [n (i-1) +j, n(i-1)+(j-1)] 1

dr2-1

2(j-1)(dr)2

Right side i=2 (m-1) , j=n

Coeff [n (i-1) +j, n(i-2)+j] 1

(dz )2

Coeff [n (i-1) +j, n(i)+j ] 1

(dz)2

Coeff [n (i-1) +j, n(i-1)+j] -2

(dz)2-2

(dr)2-2hk [1(dr)

+12 (dr ) (n-1) ]

Coeff [n (i-1) +j, n(i-1)+(j-1)] 2

(dr)2

Coeff [n (i-1) +j, n(m-1)+(n+1)] 2hT f

k [1dr+

12 (dr ) (j-1) ]

Node (1,1)

T’(1,1)α

=T(2,1) [2(dz)2 ] + T(1,1) [-2(dz)2 -2(dr)2 -

2hk(dz) ] + T(1,2) [2(dr)2 ] + 2hT f

k(dz)

Now (1,n) (n,. . . . . .)

T’(1,1)α

= T (2,n )[2(dz )2 ] + T (1,n )[-2(dz )2-

2

(dr )2-2hk (dz )

-2hk [1(dr )

+12 (dr ) (n-1) ] ]+

T(1,n-1) [2(dz)2 ]+ 2hTf

k(dz) +

2hT f

k [1(dr)+

12 (dr ) (n-1) ]

Node (m,1) n(m-1)+1

T’(m,1)α

= T(m-1,1)[2(dz)2 ] + T(m,1) [-2(dz)2-

2

(dr)2 ] + T(m,2) [2(dr)2 ]7

Page 8: Heat conduction in cylinder

Node (m,n)

T'(m,n)α

=T ( m-1,n )[2(dz )2 ] + T (m,n )[-2(dz )2-2

( dr )2-2hk [1(dr )

+12 (dr ) (n-1 ) ]]+

T (m,n-1 )[2(dz )2 ]+ 2hTf

k [1(dr)+

12 (dr )(n-1) ]

Now the temperature can be calculated by passing the array T to ‘ode45’ to solve the transient heat conduction equation.

FIGURES

&

PLOTS

8

Page 9: Heat conduction in cylinder

9

Fig

ure

6 : H

eisl

er’s

cha

rt

Page 10: Heat conduction in cylinder

10

Fig

ure

7: H

eisl

er’s

cha

rt

Page 11: Heat conduction in cylinder

Figure 8: Dimensionless temperature profile for heating.

Figure 9: Temperature vs. Height (at const. radial distance).

11

Page 12: Heat conduction in cylinder

Figure 10: Temperature vs. Radial Distance (at constant height)

Figure 11: Dimensionless Temperature vs. Dimensionless Time.

12

Page 13: Heat conduction in cylinder

Figure 12: Temperature profile for heating.

13

Page 14: Heat conduction in cylinder

COOLING TEMPERATURE PROFILE

Figure 13: Dimensionless temperature profile for cooling.

14

Page 15: Heat conduction in cylinder

Figure 14: Temperature vs Height (at constant radial distance).

Figure 15: Temperature vs. Radial Distance (at constant height).

15

Page 16: Heat conduction in cylinder

Figure 16: Dimensionless Temperature vs. Dimensionless Time.

Figure 17: Temperature Profile for cooling.

16

Page 17: Heat conduction in cylinder

CODE OUTPUT

*****Output for curveplot.m*****

ans =

Heisler Chart Ready

Do you want to plot your data on Heisler chart? (enter 1 for YES) 1Heating (hit 1) or cooling (hit 2)? (enter zero to ignore) 1Please enter the filename with extension which contains data for the heating curve heating.txtHow many readings for heating? (enter zero to ignore) 33

ans =

Convective heat transfer coefficient for heating =1419.26

ans =

Biot number =1.215

ans =

Lumped system analysis invalid

ans =

Data plotted. Check Figure

Do you want to plot your data on Heisler chart? (enter 1 for YES) 1Heating (hit 1) or cooling (hit 2)? (enter zero to ignore) 2Please enter the filename with extension which contains data for the cooling curve cooling.txtHow many readings for cooling?(enter zero to ignore) 87

ans =

Convective heat transfer coefficient for cooling =29.2913

ans =

Biot number =0.025075

17

Page 18: Heat conduction in cylinder

ans =

Lumped system analysis valid

ans =

Data plotted. Check Figure

Do you want to plot your data on Heisler's chart? (enter 1 for YES) n>>

*****Output for Transient.m*****

ans =

Calculations Completed

ans =

Centre Temperature (K) =369.5298

ans =

Biot number =1.215

ans =

Lumped system analysis invalid

Do you want to continue? (Hit 1 for yes)1ans =

Calculations Completed

ans =

Centre Temperature (K) =308.8151

ans =

Biot number =0.025074

ans =

Lumped system analysis valid

Do you want to continue? (Hit 1 for yes)n>>

18

Page 19: Heat conduction in cylinder

CONCLUSION

The code gives us the Biot number and convective heat transfer coefficient for both heating

and cooling. For the node configuration of 12x6 the results are found to be accurate and the execution

time too is very small.

As found manually the lumped system analysis is valid only for cooling. In case of heating

the Biot number was much larger than 0.1. When the temperature profile for heating is studied using

‘Transient.m’, it is observed (by studying the matrix ‘Tf’) that the temperature varies significantly

throughout the body at any instant of time. This proves that lumped system analysis is invalid.

The code can further be used to study transient heat conduction with other solids and fluids.

This lets one have a better understanding of the situation before performing the experiment.

REFERENCES

1. Christopher A Long, (2001), Essential Heat Transfer, Addison Wesley Longman

(Singapore) Pte. Ltd., pp.50-57.

2. M. P. Heisler, (1947), Temperature Charts for Induction and Constant Temperature

Heating, Trans. ASME 69, pp. 227–36.

3. D.J. Higham and N.J. Higham, (2000), MATLAB Guide. SIAM.

4. Retrieved April 10, 2009, from

http://www.faculty.virginia.edu/ribando/modules/OneDTransient/

5. Retrieved April 7, 2009, from

http://www.mathworks.com/access/helpdesk/help/toolbox/pde/index.html?/access/

helpdesk/help/toolbox/pde/&http://www.mathworks.com/access/helpdesk/help/

helpdesk.html

19