Sei sulla pagina 1di 3

ME 6150: Numerical methods in Thermal Engineering Jan–May 2017

Assignment 4
General Instructions
• Solutions due by 27th February for MSB 358, 1st March for MSB 357, 2nd March for MSB 245 in HPCF Lab-B
• Hand calculations can be done as homework and should be submitted together with the report.
• Allowed to work in teams of two for the programming part, yet write your own report
• Write your name and roll-number on your report

Hand calculations
1. (15 points) The hot combustion gases of a furnace are separated from the ambient air and its surroundings,

Figure 1: A schematic of the furnace indicating several heat transfer processes.

as shown in figure 1, which are at 25o C, by a brick wall 0.15 m thick. The brick has a thermal conductivity
of 1.2 W/m.K and a surface emissivity of 0.8. Under steady-state conditions an inner surface temperature of
352o C is measured. Free convection heat transfer to the air adjoining the surface is characterised by a convection
coefficient of h = 20 W/m2 . K. Calculate the brick outer surface temperature T2 using Newoton’s method by
performing 5 iterations with an initial guess of 1000 K. An energy balance on the outer surface of the furnace
yields the following equation:
T1 − T2
k = h(T2 − T∞ ) + σ(T24 − Tsur4
) (1)
L
where σ = 5.67 × 10−8 W/m2 K4 is the Stefan-Boltzmann constant.
2. (15 points) Consider a function f (x) defined in [0, 2π] as

−1
 x ∈ [−4, 0]
f (x) = x − 1 x ∈ [0, 2]

1 x ∈ [2, 4]

Sketch the function f vs x. What is the appropriate method to be used to solve for the root of f (x) = 0 and
why? Perform five iterations using that method and report the solution at the end of each iteration.
ME 6150: Numerical methods in Thermal Engineering Jan–May 2017

Programming
1. A simple procedure for measuring surface convection heat transfer coefficient involves coating the surface with a
thin layer of material having a precise melting point temperature. The surface is then heated and, by determining
the time required for melting to occur, the convection coefficient is determined. The following experimental
arrangement, as shown in figure 2, uses this procedure to determine the convection coefficient for gas flow normal
to a surface. Specifically, a long copper rod is encased in a super insulator of very low thermal conductivity, and
a very thin coating is applied to its exposed surface.

Figure 2: A schematic of the experimental setup to measure heat transfer coefficient.

If the rod is initially at 25o C and gas flow with T∞ = 300o C is initiated, and the thin layer of material was
obseved to melt at 53.5o C after 6 minutes and 40 seconds the experiment began, then calculate the heat transfer
coefficient h. The thermal conductivty and diffusivity of copper can be taken as 400 W/m.K and 10−4 m2 /s
respectively, and the surface coating can be assumed to be negligibly thin x ≈ 0. Assuming the long cylindrical
rod as a semi-infinite medium, the following analytical equation can be derived relating the temperature at a
given position and time, T (x, t), with the convection on the surface and the properties of the material,
√ 
hx h2 αt
      
T (x, t) − Ti x x h αt
= erfc √ − exp + 2 erfc √ + (2)
T∞ − Ti 2 αt κ κ 2 αt κ

where Ti is the initial temperature of the material, T∞ is the temperature of the convecting fluid or ambient, x
is the distance measured from the surface of the material, t represents time, h is the convection coefficient, α is
the thermal diffusivity and erfc is the complementary error function defined as follows,

erfc(β) = 1 − erf(β) (3)

where erf is the Gauss error function given as follows,


Z β
2 2
erf(β) = √ e−u du. (4)
π 0

(a) (10 points) Write a program to find the root of a non-linear equation using bisection method and determine
the heat transfer coefficient h in the above problem. Use initial guess for h as [1, 10000] W/m2 K and a
tolerance of  = 1e − 5. Plot h as a function of the iteration number.
(b) (10 points) Write a program to find the zeros of a non-linear equation using Newton’s method and repeat
calculating h in the above problem. Use an initial guess for h as 5000 W/m2 K and use the same tolerance
as above. Plot h as a function of iteration number.
ME 6150: Numerical methods in Thermal Engineering Jan–May 2017

(c) (20 points) It is a good idea to combine bisection method with the Newton’s method to get the best of both
the worlds. In order to do the same limit the number of iterations to 10 in bisection method and use this
value as initial guess (and continue couting iteration number as 11) for the Newton’s. Plot h as a function
of iteration number. Taking the latest calculated value to be exact solution, determine the error after each
iteration. For all the three cases above also plot the rate of convergence (ek+1 /ek for the bisection method,
ek+1 /e2k for the Newton’s method) as a function of the iteration number.

To calculate the integral arising in evaluating Gauss error function use trapezoidal rule,
Z b
∆x
f (x) dx = (f (x1 ) + 2f (x2 ) + 2f (x3 ) + · · · + 2f (xN −1 ) + f (xN )) (5)
a 2

where N is the number of grid points (taken as 51), xi = a + (i − 1)∆x and ∆x = (b − a)/(N − 1).
2. (30 points) Solve the system of non-linear equations given below with two starting guesses - x = [0.1, 1.2, 2.5]T
and x = [1, 0, 1]T . Do the two solutions converge to the same root? If not, why?

x+y+z =3 (6)
2 2 2
x +y +z =5 (7)
x
e + xy − xz = 1 (8)

Potrebbero piacerti anche