Assignment 2 CHD
Assignment 2 CHD
Using the Explicit method on a uniform 1-D Cartesian grid, develop a computer program.
Consider maximum number of grid points imax as 22; and the convergence tolerance for
the steady state as εst=10-4. Considering k0 = 1, and b = 0, -0.01, 1, plot axial variation of
the steady state temperature distribution. Discuss the nature of solution, with the three
different values of b and volumetric heat generation of 0 and 10 MW/m3.
( 2 η−1)
( 1+ β ) [ ( β +1 ) / ( β−1 ) ] −( β−1 )
y=H
2 { 1+ [ ( β+1 ) / ( β−1 ) ] }
( 2 η−1 )
This equation results in a grid which is finest near the two ends of the domain and
gradually become coarser at the middle of the domain. It is called as equal clustering
of grids at both the ends of the domain. Consider maximum number of grid points as
imax=12, jmax=27 and β=1.2 (which controls the non-uniformity in the grid size).
b) Using the non-uniform grid, develop a computer program using the convergence
tolerance for the steady state as εst=10-4. Present a CFD application of the code.
Considering no volumetric heat generation, plot the contour of the steady state
temperature distribution.
Answer Sheet
Problem # 1: Explicit Method on a Uniform Grid for Non-linear Conduction:
Plot the axial variation of the steady state temperature distribution
(a) (b)
Fig. 2.1: Variation of steady state temperature distribution along the length of the rod for (a) with and (b)
with without heat generation. The figure shows comparison of the numerical solution on uniform Cartesian
Grid for the three different values of ‘b’.
Discussion on the Fig. 2.1: Write your answer, limited inside this text box only
Problem # 2: Implicit Method on Multi-Block Solid with Uniform Grid: 2D Conduction
Fig. 2.2: CFD Application of the explicit method based 2D code on uniform Cartesian grid: Steady state
temperature contour for unsteady state heat conduction
Discussion on the Fig. 2.2: Write your answer, limited inside this text box only
Problem # 3: Explicit Method on a Non-Uniform Grid: 2D Conduction
Plot the steady state temperature contours with uniform and non-uniform grid. (2 figures).
Fig. 2.3: CFD Application of the explicit method based 2D code on uniform & non-uniform Cartesian grid:
Steady state temperature contour for unsteady state heat conduction, without heat generation.
Discussion on the Fig. 2.3: Write your answer, limited inside this text box only