next up previous
Up: Return

EGN 5456 Homework 6 Fall 1997
Numerical Solution of Heat Conduction in a Bar

Problem Statement
Find the temperature distribution T in a bar of length $\ell$ with a heat conduction coefficient $\kappa$.The ends of the bar are kept at zero degrees for all time. However, initially the center of the bar is at a larger temperature $T_{\mbox{max}}$. You can assume that this initial temperature decreases linearly from the middle to zero at each end. Plot the temperature distribution T for times $\kappa t/\ell^2 =$ 0, 0.125, 0.25, 0.375, and 0.5 in a single graph against x.
Analytical Solution
Solve the problem analytically.

Solution

Numerical Solution
Solve the problem numerically using a finite difference method.
Follow the recommended programming techniques.
Click here


next up previous
Up: Return
Author: Leon van Dommelen