Steady State Heat Equation in a One-Dimensional Rod

6 replies · 11K views · last reply
Ninty64
Messages
45
Reaction score
0

Homework Statement


Determine the equilibrium temperature distribution for a one-dimensional rod composed of two different materials in perfect thermal contact at x=1. For 0<x<1, there is one material (cp=1, K0=1) with a constant source (Q=1), whereas for the other 1<x<2 there are no sources (Q=0, cp=2, K0=2) with u(0) = 0 and u(2) = 0.

Homework Equations


heat equation:
Heat equation written as cp times partial u over partial t equals K0 times partial squared u over partial x squared plus Q.

The Attempt at a Solution


First I did the calculations for the first part of the rod (0<x<1)
Handwritten derivation of a steady-state heat equation solution: cp du/dt = K0 d2u/dx2 + Q, then equilibrium gives u(x) = -x^2/2 + c1 x + c2, with c2 = 0 from u(0) = 0.

Then I did the calculations for the second part of the rod (1<x<2)
Handwritten derivation of a steady-state heat equation solution: cp du/dt = K0 d2u/dx2 + Q, then 2 du/dt = 2 d2u/dx2 + 0, 0 = 2 d2u/dx2 since equilibrium, d2u/dx2 = 0, du/dx = d1, u(x) = d1x + d2, 0 = u(2) = 2d1 + d2, d2 = -2d1, u(x) = d1x - 2d1.

Then I tried to set them equal at x=1
Handwritten algebra on three lines: -x^2/2 + c1 x = d1 x - 2d1 when x = 1; then -1/2 + c1 = d1 - 2d1; then c1 = 1/2 - d1.

And now I'm stuck. I can't figure out how to find out the values of the constants, and I don't feel confident. I feel like I'm doing something wrong.
 
You need a second boundary condition. Think about the fact that the heat flow out of one region has to equal the heat flow into the other to conserve energy.
 
Oh! I get it. Since the bar is in equilibrium, the heat will be flowing away from the heat source into the sinks at the end. That means that the the heat flows should be equal at x=1:
Handwritten derivation: du1/dx = du2/dx, then -x + c1 = d1, then -1 + c1 = d1, then c1 = d1 + 1, with the last three lines aligned under arrows.

The solving the system of equations yeilds:
Handwritten algebra: c1 = 1/2 - d1, then (c1 = d1 + 1), then 0 = -2d1 - 1/2, then d1 = -1/4 giving c1 = 3/4.

And the final solution should be:
Piecewise function definition: f(x) = -x^2/2 + 3/4 x for 0 < x < 1, and -1/4 x + 2/4 for 1 < x < 2.

I checked the boundary conditions and they all seemed correct. Thank you! :)

P.S. Sorry for posting in the wrong forum. I wasn't sure where this topic went. Thank you for moving it!
 
Is the heat flow simply du/dx or do you have to throw the Ks in there? I don't know offhand, but it might be something for you to check.

P.S. Sorry for posting in the wrong forum. I wasn't sure where this topic went. Thank you for moving it!
No problem.
 
You must equate fluxes so the conductivity is definitely needed.

You have continuity of both heat flux and temperature at the interface.
 
That makes sense. So instead of [itex]\frac{\partial^2u_1}{\partial x^2} = \frac{\partial^2u_2}{\partial x^2}[/itex], it should have been [itex]\frac{\partial^2u_1}{\partial x^2} = 2\frac{\partial^2u_2}{\partial x^2}[/itex] since I'm setting the fluxes equal.

Thanks for that extra insight. :smile:
 
You must use the first derivative not the second derivative to equate heat fluxes. Eache is multiplied by its respective thermal conductivity.