Lumped Mass Heat Transfer Experiment...

20
Lumped Mass Heat Transfer Experiment Thermal Network Solution with TNSolver Bob Cochran Applied Computational Heat Transfer Seattle, WA [email protected] ME 331 Introduction to Heat Transfer University of Washington November 21, 2017 Outline I Lumped Mass Heat Transfer Experiment I Math Model I TNSolver Input File I Test Data Analysis 2 / 39

Transcript of Lumped Mass Heat Transfer Experiment...

Page 1: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Lumped Mass Heat Transfer ExperimentThermal Network Solution with TNSolver

Bob CochranApplied Computational Heat Transfer

Seattle, [email protected]

ME 331 Introduction to Heat TransferUniversity of Washington

November 21, 2017

Outline

I Lumped Mass Heat Transfer ExperimentI Math ModelI TNSolver Input FileI Test Data Analysis

2 / 39

Page 2: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

ObjectiveLumped Mass Heat Transfer Experiment

I Determine the convection heat transfer coefficient for avariety of shapes

I Both natural (free) and forced external convectionI Surface radiation effects due to differences in emissivityI Fin effect of the stem

3 / 39

ShapesLumped Mass Heat Transfer Experiment

4 / 39

Page 3: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Shape Geometry and PropertiesLumped Mass Heat Transfer Experiment

5 / 39

Shape Material PropertiesLumped Mass Heat Transfer Experiment

6 / 39

Page 4: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

ApproachLumped Mass Heat Transfer Experiment

I Use water bath to provide initial temperature of the objectI A thermocouple is placed through the stem into the center

of the objectI A second thermocouple will record the ambient air

temperatureI For natural convection let the object cool to 50 C, which

may take up to 45 minutesI For forced convection turn on the fan and let the object

cool to 50 C

7 / 39

Water Bath for Initial Temperature ConditionLumped Mass Heat Transfer Experiment

8 / 39

Page 5: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Forced Convection with FanLumped Mass Heat Transfer Experiment

9 / 39

The Lumped Capacitance Method: Biot NumberMath Model

The Biot number, Bi , is:

Bi =hLc

k< 0.1 Lc =

volumesurface area

=VA

where the characteristic length, Lc , is:

Brick Cylinder SphereHWL

2(HW+LH+WL)πr2L

2πr2+2πrL = DL2(D+2L)

(4/3)πr3

4πr2 = D6

10 / 39

Page 6: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Convection CorrelationsMath Model

The heat flow rate is:

Q = hA(Ts − T∞)

where h is the heat transfer coefficient, Ts is the surfacetemperature and T∞ is the fluid temperature.Correlations in terms of the Nusselt number are often used todetermine h:

Nu =hLc

kh =

kNuLc

where Lc is a characteristic length associated with the fluid flowgeometry.

11 / 39

External Forced Convection over a SphereMath Model

Equation (7.48), p. 444, in [BLID11]

NuD = 2 +(

0.4Re1/2D + 0.06Re2/3

D

)Pr0.4

µs

)1/4

where D is the diameter of the sphere and the Reynoldsnumber, ReD, is:.

ReD =ρuDµ

=uDν

Note that the fluid properties are evaluated at the fluidtemperature, T∞, except the viscosity, µs, evaluated at thesurface temperature, Ts.

12 / 39

Page 7: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

External Natural Convection over a SphereMath Model

Equation (9.35), page 585 in [BLID11]

NuD = 2 +0.589Ra1/4

D[1 + (0.469/Pr)9/16

]4/9

where D is the diameter of the sphere and the the Rayleighnumber, RaD, is:.

RaD = GrPr =gρ2cβD3 (Ts − T∞)

kµ=

gβD3 (Ts − T∞)

να

Note that the fluid properties are evaluated at the filmtemperature, Tf :

Tf =Ts + T∞

213 / 39

Surface RadiationMath Model

Radiation exchange between a surface and large surroundingsThe heat flow rate is (Equation (1.7), p. 10 in [BLID11]):

Q = σεsAs(T 4s − T 4

sur )

where σ is the Stefan-Boltzmann constant, εs is the surfaceemissivity and As is the area of the surface.Note that the surface area, As, must be much smaller than thesurrounding surface area, Asur :

As � Asur

Note that the temperatures must be the absolute temperature,K or ◦R

14 / 39

Page 8: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Radiation Heat Transfer CoefficientMath Model

Define the radiation heat transfer coefficient, hr (seeEquation (1.9), page 10 in [BLID11]):

hr = εσ(Ts + Tsur )(T 2s + T 2

sur )

Then,

Q = hr As(Ts − Tsur )

Note:

I hr is temperature dependentI hr can be used to compare the radiation to the convection

heat transfer from a surface, h (if Tsur and T∞ have similarvalues)

15 / 39

Range of Radiation Heat Transfer CoefficientMath Model

" T = Ts - T

1 (C)

0 20 40 60 80 100

hr (

W/m

2-K

)

0

2

4

6

8

10Radiation Heat Transfer Coefficient, h

r, for T

1 = 25 C

0s = 0.01

0s = 0.1

0s = 0.5

0s = 1.0

16 / 39

Page 9: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

TNSolver Input File

I What do we need in the input file for the lumped mass heattransfer experiment?

I Transient convection problem, with surface radiationI Lumped capacitance approximation, Bi < 0.1, so no

conduction in the solid object

17 / 39

Solution ParametersTNSolver Input File

Begin Solution Parameters

title = Lumped Mass Heat Transfer Experimenttype = transientbegin time = (R)end time = (R)time step = (R)number of time steps = (I)

End Solution Parameters

(R) is a single real number(I) is a single integer number

18 / 39

Page 10: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

NodesTNSolver Input File

Define nodes which have a volume

Begin Nodes

! label rho*c V(S) (R) (R)

End Nodes

(S) is a single character string

19 / 39

Convection ConductorTNSolver Input File

Qij = hA(Ts − T∞)

The heat transfer coefficient h is known.

Begin Conductors

! label type nd_i nd_j parameters(S) convection (S) (S) (R) (R) ! h, A

End Conductors

20 / 39

Page 11: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

External Forced Convection (EFC) ConductorTNSolver Input File

Qij = hA(Ts − T∞)

Heat transfer coefficient, h, is evaluated using the correlationfor external forced convection from a sphere with diameter Dand fluid velocity of u.

Begin Conductors! Ts Tinf! label type nd_i nd_j parameters(S) EFCsphere (S) (S) (S) (R) (R) ! material, u, D

End Conductors

Note that Re, Nu and h are reported in the output file.21 / 39

External Natural Convection (ENC) ConductorThermal Network Model

Qij = hA(Ts − T∞)

Heat transfer coefficient, h, is evaluated using the correlationfor external natural convection from a sphere with diameter D.

Begin Conductors! Ts Tinf! label type nd_i nd_j parameters

(S) ENCsphere (S) (S) (S) (R) ! material, D

End Conductors

Note that Ra, Nu and h are reported in the output file.

22 / 39

Page 12: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Surface Radiation ConductorTNSolver Input File

Qij = σεAs(T 4s − T 4

env )

σ is the Stefan-Boltzmann constant and ε is the surfaceemissivity.

Begin Conductors

! label type nd_i nd_j parameters(S) surfrad (S) (S) (R) (R) ! emissivity, A

End Conductors

Note that hr is reported in the output file.

23 / 39

Boundary ConditionsTNSolver Input File

Specify a fixed temperature boundary condition, Tb, to one ormore nodes in the model.

Begin Boundary Conditions

! type Tb Node(s)fixed_T (R) (S ...)

End Boundary Conditions

(S ...) one or more character strings

24 / 39

Page 13: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Initial ConditionsTNSolver Input File

Specify the initial temperatures, T0, to the nodes in the model.

Begin Initial Conditions

! T0 Node(s)(R) (S ...)

End Initial Conditions

25 / 39

Example Input FileTNSolver Input File

Begin Solution Parameterstitle = Lumped Capacitance Experiment - Object Atype = transientbegin time = 0.0end time = 341.5time step = 0.5

! number of time steps = 20End Solution Parameters

Begin Nodes1 3925000.0 6.2892e-05 ! rho*c, V

End Nodes

Begin Conductorsconv convection 1 Tinf 12.0 0.0076 ! h, A

! conv EFCsphere 1 Tinf air 13.13 0.04934 ! material, u, D! conv ENCsphere 1 Tinf air 0.04934 ! material, D

rad surfrad 1 Tinf 0.95 0.0076 ! emissivity, AEnd Conductors

26 / 39

Page 14: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Example Input File (continued)TNSolver Input File

Begin Boundary Conditionsfixed_T 25.0 Tinf

End Boundary Conditions

Begin Initial Conditions99.0 1 ! Ti, node

End Initial Conditions

27 / 39

Verification using Analytical SolutionTNSolver Verification

Backward Euler time integration is used in TNSolver.How does time step affect accuracy?Utilitize the analytical solution Equation (5.6), p. 282 in[BLID11]:

T − T∞Ti − T∞

= exp

[−(

hAρcV

)t]

This is provided in the MATLAB function lumpedmass.m:

[T, Bi] = lumpedmass(time, rho, c, V, h, A, Ti, Tinf, k)

Example calculation using:D = 0.04931 m, Ti = 100 C, T∞ = 25 Cρ = 7850 kg/m3, c = 500 J/kg · Kh = 25.0 W/m2 · K , k = 62.0 W/m · K

28 / 39

Page 15: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Verification using Analytical SolutionTNSolver Verification

time (s)0 500 1000 1500 2000

% e

rror

: 100

*(T

- T

ex)/

Tex

0

0.5

1

1.5

2

2.5

3

3.5

4

4.5" t = 180 (s)" t = 90 (s)" t = 45 (s)" t = 22.5 (s)" t = 11.25 (s)" t = 1 (s)

29 / 39

Experimental Data ProcessingExperimental Data Analysis

Data file ForcedConvection.txt snippet:

time,air,water,specimen0.5,25.0,100.25,64.5,1.0,24.75,100.0,65.75,1.5,24.75,100.0,67.25,2.0,24.75,100.0,68.5,

MATLAB commands:

>> exp = importdata(’ForcedConvection.txt’,’,’,1);>> exptime = exp.data(1:end,1);>> airT = exp.data(1:end,2);>> expT = exp.data(1:end,4);>> save FC.mat exptime airT expT

30 / 39

Page 16: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Experiment Data Analysis with TNSolverExperimental Data Analysis

Three MATLAB functions are provided for a least-squaresanalysis using TNSolver.

1. Estimate convection heat transfer coefficient, h, for thenatural convection data using ls lumped h.m

2. Estimate velocity, u, for the forced convection data usingls lumped vel.m

3. Estimate surface emissivity, ε, using ls lumped emiss.m

31 / 39

Estimate hExperimental Data Analysis

Example for object A, natural convection input file ANC.inp

1. Set begin and end time to match experimental data rangeI Set time step using insight from verification problem

2. Set material properties and object geometries in input file3. Set the boundary and initial conditions to match experiment4. Use the convection conductor

>> load NC_A>> h = linspace(10,35,10);>> [besth] = ls_lumped_h(’ANC’, exptime, expT, h)

32 / 39

Page 17: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Estimate h Results and PlotExperimental Data Analysis

heat transfer coefficient, h10 15 20 25 30 35

resi

dual

100

200

300

400

500

600

700

800

900Best Fit h = 23.8889

33 / 39

Estimate VelocityExperimental Data Analysis

Example for object A, forced convection input file AFC.inp

1. Set begin and end time to match experimental data rangeI Set time step using insight from verification problem

2. Set material properties and object geometries in input file3. Set the boundary and initial conditions to match experiment4. Use the EFCsphere convection conductor

>> load FC_A>> u = linspace(10,20,10);>> [bestvel] = ls_lumped_vel(’AFC’, exptime, expT, u)

34 / 39

Page 18: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Estimate Velocity Results and PlotExperimental Data Analysis

velocity10 12 14 16 18 20

resi

dual

0

2000

4000

6000

8000

10000

12000

14000Best Fit Velocity = 13.3333

35 / 39

Estimate EmissivityExperimental Data Analysis

Example for object A, forced convection input file AFC.inp

1. Set begin and end time to match experimental data rangeI Set time step using insight from verification problem

2. Set material properties and object geometries in input file3. Set the boundary and initial conditions to match experiment4. Use the EFCsphere convection conductor and the

estimated velocity from previous

>> load FC_A>> eps = linspace(.8,1,10);>> [beste] = ls_lumped_emiss(’AFC’, exptime, expT, eps)

36 / 39

Page 19: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

Estimate Emissivity Results and PlotExperimental Data Analysis

emissivity0.8 0.85 0.9 0.95 1

resi

dual

0

10

20

30

40

50

60

70Best Fit 0 = 0.95556

37 / 39

Conclusion

I Math model for lumped capacitance methodI TNSolver input file describedI TNSolver thermal network model verification with analytical

solution demonstratedI Experimental data analysis

Questions?

38 / 39

Page 20: Lumped Mass Heat Transfer Experiment Outlinecourses.washington.edu/me331afe/Lab3_aut18/ME331_03_Lumped_Mass_2up.pdf · Convection Correlations Math Model The heat flow rate is: Q

References I

[BLID11] T.L. Bergman, A.S. Lavine, F.P. Incropera, and D.P.DeWitt.Introduction to Heat Transfer.John Wiley & Sons, New York, sixth edition, 2011.

39 / 39