You are on page 1of 5

Page 1 of 5

Department of Mechanical Engineering


Indian Institute of Technology Bombay

ME415: Computational Fluid Dynamics & Heat Transfer


Assignment # 5: Non-Uniform Cartesian Grid Generation and Computational Heat Conduction: Mathematics
based Approach
Instructor: Prof. Atul Sharma,

Date Posted: 11/03/2014 Due Date: 18/03/14


ONLINE SUBMISSION THROUGH MOODLE ONLY (No late submission allowed): Create a
single zipped file consisting on (a) filled-in answer sheet of this doc file converted into a pdf file and
(b) all the computer programs. The name of the zipped file should be rollnumber_A5
Note: Both problem and answer sheet are provided below. SCILAB or MATLAB should be used for
programming as well as generating graphical results.

1) 1D and 2D Non-Uniform Cartesian Grid Generation using Algebraic Method:


i. For a domain of length L=1 m, generate 1D grid - with clustering at x=1 m. Take β=1.2 and
number of face-centers of CVs as 11.
ii. For a domain of length L=1 m and H=1 m, generate 2D grid - with clustering at x=1 m as well
as y=1 m (refer lecture slide 9.38). Take β=1.2 and number of vertices of CVs as 11×11.
Note that the grid generation procedure involves computation of coordinates of vertices and cell
centers. It also involves computation of distance between the cell centers and width of the CVs. All
these variables should be stored in 1D matrix. Plot the figures for 1D and 2D grid; similar to that in
the lecture slides (2 figures).

2) 1-D and 2D Unsteady Computational Heat Conduction (CHC):


i. Consider a 1D conduction in a long steel sheet of thickness L=1 m. The sheet is subjected to
1000C on the west and convective BC (h=100W/m2.K, T∞=300C) on the east boundary of the
domain.
ii. Consider a 2D conduction in a steel plate of size L=1 m and H=1 m. The plate is subjected to
1000C on the west, insulated in the south, uniform-heat-flux (inward: qW =10,000 W/m2) on the
east and convective BC (h=100W/m2.K, T∞=300C) on the north boundary of the domain.
Using mathematics based FVM and explicit method based solution methodology, develop 1D and
2D code for CHC on non-uniform grid. The sheet/plate is taken from a furnace at a temperature of
1500C (initial-condition) and is made up of steel (density: 7750 kg/m3, specific-heat: 500 J/Kg K,
thermal-conductivity: 16.2 W/m-K). For with and without volumetric heat generation of 30,000
W/m2, run the code on the non-uniform grid (generated in the previous question) for a convergence
criteria of 0.000001.
With and without volumetric heat generation, report the results as
a) Plot the 1D/2D steady state temperature profiles/contours (4 figures).
b) Prepare a table for heat transfer (positive for outward/heat-
loss and negative for inward/heat-gain) from the different
walls of the plate.

Fig. 1: Square plate made up


of four different materials.
Page 2 of 5

3) 2D Computational Multi-Solid Heat Conduction (CMSHC):


Consider the previous problem 2(ii), with the plate (L=1 m and H=1 m) made up of four different
materials of equal size; shown in Fig. 1. Using mathematics based FVM and explicit method based
solution methodology, develop a code for CMSHC on uniform grid. Run the code for a grid size of
imax=jmax=12 and a convergence criteria as 0.000001.
Report the results as mentioned, for 2D CHC, in the previous problem. (2 figures and 1 Table)

4) 1D Non-Linear Heat Conduction


Consider a 1-D CHC, presented in problem 2(i), for conduction in a thin sheet made of material of
conductivity k=k0(1+bT) with k0=1 W/m.K, ρ=8000 kg/m3 and cp=500 W/m.K. The sheet, initially at
500C, is subjected to a temperature of 00C on the west and 1000C on the east face of the sheet.
Using mathematics based FVM and explicit method based solution methodology, develop 1D
code for non-linear CHC on non-uniform grid. Run the code on the grid (generated in the problem 1(i))
for three different values of b=0, 1 and -0.01, for a convergence criteria of 0.000001.
Report the results as
a) Plot the steady state temperature profile T(x) for the different values of b (3 figures).
b) Discuss the nature of variation for the positive and negative values of b.

BEST OF LUCK
Keep Playing with the Codes in future also.

Answer Sheet
Problem # 1: 1D/2D Non-Uniform Cartesian Grid Generation using Algebraic Method:

(a) (b)

Fig. 5.1: (a) 1D and (b) 2D non-uniform Cartesian Grid, for β=1.2.
Page 3 of 5

Problem # 2: 1-D and 2D Unsteady Computational Heat Conduction (CHC):


a) Plot the 1D/2D steady state temperature profiles/contours, with and without volumetric heat
generation

(a) (b)

(c) (d)

Fig. 5.2: Steady state temperature profile obtained for the (a,b) 1D and (c,d) 2D CHC, (a,c) with and
(b,d) without volumetric heat generation.
b) Prepare a table for heat transfer (positive for outward/heat-loss and negative for inward/heat-
gain) from the different walls of the plate, for with and without volumetric heat generation.

Table 5.1: Heat transfer from different walls of the plate


with Qgen without Qgen
Heat transfer from left -11782.016 -1177.1815
Heat transfer from right -2183.3199 -2183.3199
Heat transfer from top 4798.577 1836.1134
Heat transfer from bottom 0.0 0.0
Page 4 of 5

Problem # 3: 2D Computational Multi-Solid Heat Conduction (CMSHC):


a) Plot the 2D steady state temperature contours, with and without volumetric heat generation

(a) (b)

Fig. 5.2: Steady state temperature profile obtained for the 2D CHC, (a) with and (b) without volumetric
b) Prepare a table for heat transfer (positive for outward/heat-loss and negative for inward/heat-
gain) from the different walls of the plate, for with and without volumetric heat generation.
Table 5.2: Heat transfer from different walls of the plate
with Qgen without Qgen
Heat transfer from left -8866.0574 -1274.163
Heat transfer from right -3808.5747 -3808.5753
Heat transfer from top 4993.1923 2855.8277
Heat transfer from bottom 0.0 0.0

Problem # 4: Non-Linear Heat Conduction


a) Plot the steady state temperature profile T(x) for the different values of b (3 figures).

(a) (b) (c)

Fig. 3.2: Temperature variation for 1D heat conduction with variable thermal conductivity, where
(a) b=0 (b) b=1 (c) b=-0.01
Page 5 of 5

b) Discuss the nature of variation for the positive and negative values of b.
Write your answer, limited inside this text box only: The temperature profile in convex for a
positive value of b while it is concave for a negative value of b

You might also like