- #1

- 612

- 13

- Thread starter Adel Makram
- Start date

- #1

- 612

- 13

- #2

Chestermiller

Mentor

- 20,871

- 4,546

Please specify where the heat flux is applied. What is the boundary condition at the other end of the rod? What is the initial condition? What is the steady state solution to the heat equation for the prescribed boundary conditions?

Chet

- #3

- 612

- 13

One point which I could not figure out and it might affect BCs, is that if the left end is in contact with hot reservoir at temperature T1, then that end should not approach T1 because if it does there would not be continuous flux to it which is not the case when steady state is reached! so what is the maximum temperature the end at x=0 could reach if it is in continous contact with a reservoir at T1.

Also, very important, what equation describes u(x,t) before reaching the steady state?

Thanks.

- #4

Chestermiller

Mentor

- 20,871

- 4,546

The temperature at the boundary jumps from T2 to T1 at time zero, and it stays at that temperature for all time. The heat flux at the boundary jumps from zero to an infinite value initially, and then decreases monotonically to the steady state value at long times.The rod of length L, is put at the x-axis with its left end at the origin and its right end is at x=L. The boundary conditions (BCs): u(0,t)=T1, u(L,t)=T2. where T1>T2. Inital condition u(x,0)=T2. The steady state is expected at t approach infinity: U(x,t)= T1 - (T1-T2/L)x.

One point which I could not figure out and it might affect BCs, is that if the left end is in contact with hot reservoir at temperature T1, then that end should not approach T1 because if it does there would not be continuous flux to it which is not the case when steady state is reached! so what is the maximum temperature the end at x=0 could reach if it is in continous contact with a reservoir at T1.

The way to solve a problem like this is to represent the temperature in the rod at some arbitrary time as:

u(x,t) = T1 - (T1-T2/L)x + v(x,t)

You then solve for v(x,t), which is much easier to obtain. Boundary conditions on v are v = 0 at x = 0 and v = 0 at x = L. The initial condition on v is

v(x,0) = -[T1 - (T1-T2/L)x]

Show that, as with u(x,t), v(x,t) satisfies the transient heat conduction equation.

For v, you now have a transient heat conduction problem in which there is an initial temperature profile in the rod, but the ends are set to v = 0 at t = 0.

Chet

- #5

- 612

- 13

But v(x,0) at ends (x=0) and (x=L) does not satisfy u(x,0) because u(x,0) at all location is T2 not 0.For v, you now have a transient heat conduction problem in which there is an initial temperature profile in the rod, but the ends are set to v = 0 at t = 0.

the heat flux q= -k du/dx, so if the end at x=0 rise to T1 which is equal to the reservoir temperature, du/dx=0 and so does q? Also how about the flux at x=L at different times?The temperature at the boundary jumps from T2 to T1 at time zero, and it stays at that temperature for all time. The heat flux at the boundary jumps from zero to an infinite value initially, and then decreases monotonically to the steady state value at long times.

Last edited:

- #6

Chestermiller

Mentor

- 20,871

- 4,546

Ooops. Correction: v(x,0) = T2 - [T1 - (T1-T2/L)x]But v(x,0) at ends (x=0) and (x=L) does not satisfy u(x,0) because u(x,0) at all location is T2 not 0.

No. The reservoir is assumed to have infinite conductivity, so it can supply whatever flux is necessary. The temperature gradient within the rod in the vicinity of x = 0 is very high at short times, and this corresponds to a very high heat flux.the heat flux q= -k du/dx, so if the end at x=0 rise to T1 which is equal to the reservoir temperature, du/dx=0 and so does q? Also how about the flux at x=L at different times?

In the transient behavior of the rod, at short times, the temperature will decrease very rapidly with distance from x = 0. Beyond a certain distance, both the temperature change and the heat flux will be very close to zero. So the boundary layer region near x = 0 will grow with time until it penetrates the entire rod. At short times, the heat flux at x = L will be very close to zero. As time progresses, it will rise to the final steady state value.

Chet

- #7

- 612

- 13

Technically speaking, what if v(x,0) is an even function, for example what if we choose u(x,0) so as v(x,0)=cos x. Then how the coefficient, b

- #8

Chestermiller

Mentor

- 20,871

- 4,546

You have to take v as an odd function in order to satisfy the boundary condition on v at x = 0. A half-wave sine series is involved in satisfying the initial condition on v.Thank you, that was very helpful.

Technically speaking, what if v(x,0) is an even function, for example what if we choose u(x,0) so as v(x,0)=cos x. Then how the coefficient, b_{n of}of sin(π nx/L) of v(x,0) be calculated?

Chet

- #9

- 612

- 13

The heat flux at the boundary jumps from zero to an infinite value initially, and then decreases monotonically to the steady state value at long times.

Hereby I show as you said that the flux is infinite at x=o at t=0 and then reduces to a finite value of steady state as time goes by to infinity. However, at x=L and t=0, the heat flux is T1-T2/L ???In the transient behavior of the rod, at short times, the temperature will decrease very rapidly with distance from x = 0. Beyond a certain distance, both the temperature change and the heat flux will be very close to zero. So the boundary layer region near x = 0 will grow with time until it penetrates the entire rod. At short times, the heat flux at x = L will be very close to zero. As time progresses, it will rise to the final steady state value.

Chet

the solution to that problem is u(x,t)= T1-(T1-T2/L)x + v(x,t)

= T1-(T1-T2/L)x + -2(T1-T2)/π Σ(1/n) sin (nπx/L) Exp (-n

and from Fourier law, the heat flux, φ= -K∂u/∂x

so φ(x,t)= T1-(T1-T2/L) + 2(T1-T2)/L (Exp (-n

so φ((0,0) = ∞ exactly as you kindly said.

φ((L,0) = (T1-T2)/L which is the finite final value which is not zero

φ((0,∞) = (T1-T2)/L

and finally, φ((L,∞) = (T1-T2)/L

- #10

Chestermiller

Mentor

- 20,871

- 4,546

No, at x = L and t = 0, the heat flux is zero.Hereby I show as you said that the flux is infinite at x=o at t=0 and then reduces to a finite value of steady state as time goes by to infinity. However, at x=L and t=0, the heat flux is T1-T2/L ???

No. We know that at t = 0 , φ = 0 at x = L because T = T2 for all x < L. So, you must have made a mistake somewhere. For one thing, the first term in your equation for φ, T1, should not be there. Secondly, what happened to the summation term in your equation for the flux at t = 0?the solution to that problem is u(x,t)= T1-(T1-T2/L)x + v(x,t)

= T1-(T1-T2/L)x + -2(T1-T2)/π Σ(1/n) sin (nπx/L) Exp (-n^{2}π^{2}t/L^{2}

and the heat flux, φ= -K∂u/∂x

so φ(x,t)= T1-(T1-T2/L) + 2(T1-T2)/L (Exp (-n^{2}π^{2}t/L^{2}) Σ cos (nπx/L)

so φ((0,0) = ∞ exactly as you kindly said.

φ((L,0) = (T1-T2)/L which is the finite final value which is not zero

φ((0,∞) = (T1-T2)/L

and finally, φ((L,∞) = (T1-T2)/L

Chet

- #11

- 612

- 13

At t=0, the exponential term =1 but all cos (nπx/L) at x=L goes to zero, because cos(nπ)=(-1)

- #12

Chestermiller

Mentor

- 20,871

- 4,546

Your Fourier coefficients are incorrect. There should be π's and n's in them.

At t=0, the exponential term =1 but all cos (nπx/L) at x=L goes to zero, because cos(nπ)=(-1)^{n}. So even-n will cancel out odd-n which leads Σ cos (nπx/L) to be zero at x=L. However, still (T1-T2/L) is not zero which mean φ(L,0) is not zero too.

Chet

- #13

- 612

- 13

n&π appear in the equation of v(x,t) as well as u(x,t), but as we differentiate u(x,t) to x to get the flux from the equation of φ= - K ∂u(x,t)/∂x, n&π will be cancelled out.Your Fourier coefficients are incorrect. There should be π's and n's in them.

u(x,t)= T1-[x.(T1-T2)/L] + (-2)(T1-T2)/

so true, the Fourier coefficient b

But, taking the first differential to x, ∂u(x,t)/∂x= -(T1-T2)/L + (-2)(T1-T2)/

so

Last edited:

- #14

Chestermiller

Mentor

- 20,871

- 4,546

Your Fourier coefficients can't be correct. Show us your derivation of the Fourier coefficients please.n&π appear in the equation of v(x,t) as well as u(x,t), but as we differentiate u(x,t) to x to get the flux from the equation of φ= - K ∂u(x,t)/∂x, n&π will be cancelled out.

u(x,t)= T1-[x.(T1-T2)/L] + (-2)(T1-T2)/πΣ (1/n) sin nπx/L. Exp (n^{2}π^{2}/L^{2}. t

so true, the Fourier coefficient b_{n}=-2(T1-T2)/nπ

But, taking the first differential to x, ∂u(x,t)/∂x= -(T1-T2)/L + (-2)(T1-T2)/πΣnπ/L (1/n) cos nπx/L. Exp (n^{2}π^{2}/L^{2}. t

soπwill be cancelled as well as n.

Chet

- #15

Chestermiller

Mentor

- 20,871

- 4,546

Chet

- #16

- 612

- 13

For me, I can see what fluctuating is the second term of -∂u/∂x= (T1-T2)/L +The slope fluctuates between -(T1-T2)/L and +(T1-T2)/L as n increments by 1. The average as n varies is zero.

so at t=0 and x=L, the average of the second term is 0 leaving ∂u(L,0)/∂x = (T1-T2)/L which is not zero!

Last edited:

- #17

Chestermiller

Mentor

- 20,871

- 4,546

What do you get if you only include the term n=1 in the summation? What do you get if you include only the terms up to n=2? n=3?For me, I can see what fluctuating is the second term of -∂u/∂x= (T1-T2)/L +2(T1-T2)/L Σ cos nπx/L. Exp-(n^{2}π^{2}/L^{2}. t)

so at t=0 and x=L, the average of the second term is 0 leaving ∂u(L,0)/∂x = (T1-T2)/L which is not zero!

- #18

- 612

- 13

for n=1, -∂u/∂x= (T1-T2)/L + 2(T1-T2)/L (cos π) = (T1-T2)/L + 2(T1-T2)/L(-1) = -(T1-T2)/LWhat do you get if you only include the term n=1 in the summation? What do you get if you include only the terms up to n=2? n=3?

for n=1&2, -∂u/∂x= (T1-T2)/L + 2(T1-T2)/L (cos π+cos 2π) = (T1-T2)/L +2(T1-T2)/L(-1+1) = (T1-T2)/L

for n=1->3 -∂u/∂x= (T1-T2)/L + 2(T1-T2)/L (cos π+cos 2π+cos 3π) = (T1-T2)/L + 2(T1-T2)/L(-1+1-1) = -(T1-T2)/L

Last edited:

- #19

Chestermiller

Mentor

- 20,871

- 4,546

So now you see what I'm saying, right?

Chet

Chet

- #20

- 612

- 13

Yes thank you for your help. The issue of flux is over now.You have to take v as an odd function in order to satisfy the boundary condition on v at x = 0. A half-wave sine series is involved in satisfying the initial condition on v.

Now, if the initial condition of v(x,t) is an even, then no Fourier coefficients could be calculated right? This means the initial condition could not be chosen arbitrarily? This also mean that the initial condition is dependent on the boundary conditions which I don't understand.

- #21

Chestermiller

Mentor

- 20,871

- 4,546

That's only if you truncate the summation after an even number of terms. If you include an odd number of terms, you get minus that. Who says an even number of terms is more correct than an odd number of terms. For example, suppose I say that the summation is -2(T1-T2)/L. What makes you more correct to say that the summation is 0.For me, I can see what fluctuating is the second term of -∂u/∂x= (T1-T2)/L +2(T1-T2)/L Σ cos nπx/L. Exp-(n^{2}π^{2}/L^{2}. t)

so at t=0 and x=L, the average of the second term is 0 leaving ∂u(L,0)/∂x = (T1-T2)/L which is not zero!

chet

- #22

Chestermiller

Mentor

- 20,871

- 4,546

Chet

- #23

- 612

- 13

Now my point is something different, I am wondering what if the initial condition v(x,0) is an even function. Lets say I can choose it arbitrarily to be even function of x. So how we can retrieve b

- #24

Chestermiller

Mentor

- 20,871

- 4,546

The only way you can know if the initial condition on v(x,t) is an even function is if you know how v(x,0) looks at x < 0. Besides, an odd function on v(x,0) is consistent with the boundary condition that v(0,t) is zero, and an even function is not, unless it is a very unusual even function that is zero only at the isolated point x = 0. I don't think a Fourier series can be fitted to that.

Now my point is something different, I am wondering what if the initial condition v(x,0) is an even function. Lets say I can choose it arbitrarily to be even function of x. So how we can retrieve b_{n}?

Chet

- #25

- 612

- 13

I expect a gradual increase in the temperature at x=0 from T2 to T1 until reaching the steady state after some time. This might change my BCs to a constant heat flux from the source rather than constant temperature at x=0. So how we can propose a solution for this?

- Replies
- 1

- Views
- 249

- Replies
- 2

- Views
- 26K

- Last Post

- Replies
- 3

- Views
- 806

- Last Post

- Replies
- 2

- Views
- 2K

- Replies
- 13

- Views
- 794

- Last Post

- Replies
- 13

- Views
- 3K

- Last Post

- Replies
- 8

- Views
- 2K

- Last Post

- Replies
- 3

- Views
- 2K

- Last Post

- Replies
- 0

- Views
- 1K

- Replies
- 5

- Views
- 2K