Heating a metallic rod from one end by continuous heat flux

Click For Summary
The discussion focuses on solving the heat transfer equation for a metallic rod subjected to continuous heating at one end, with boundary conditions defined at both ends of the rod. The temperature profile before reaching steady state is derived, with the left end maintained at temperature T1 and the right end at T2, leading to a steady state solution of U(x,t) = T1 - (T1-T2/L)x. The transient behavior indicates that the heat flux at the heated end initially spikes to infinity before stabilizing, while the flux at the other end starts at zero and gradually increases. The participants explore the implications of Fourier coefficients and the behavior of the temperature gradient, noting that the flux fluctuates at the boundary and converges to a steady state over time. The conversation concludes with a clarification of the flux behavior at the boundaries, emphasizing the complexity of the transient heat conduction problem.
  • #31
Hello Chet and thanks for your help,

I went through 2 versions of solution and non of them were satisfactory,

The first one I used BCs of a constant heat flux at x=0 and x=L and IC of u(x,0)=0. This time I used your trick of introducing a new function v(x,t) which could be easily solved by letting vx(0,t) and vx(L,t)=0 and v(x,0)=0.

However, the solution went in some complicated things especially in 2 points;
1) deriving a0 of Fourier coefficient.
2) deriving an where it should be only odd number of n.
Also I would have been happy if λ=nπ/2L but it comes to be nπ/L which means cos(nπ/L)x can not be zero if x=L ( so as to be canceled and yields u(L,0)=0 :( )
Would you please see the attached file for my detailed calculation.

The second solution, I used BCs, vx(0,t) and v(L,t)=0 and v(x,0)=0. I didn't upload it because I still see that my problem is of rod with a length L not reaching infinity.

(n.B: some typing mistakes in the file r(x/L -1) instead of r(1 - x/L)
 

Attachments

Last edited:
Physics news on Phys.org
  • #32
Adel Makram said:
Hello Chet and thanks for your help,

I went through 2 versions of solution and non of them were satisfactory,

The first one I used BCs of a constant heat flux at x=0 and x=L and IC of u(x,0)=0. This time I used your trick of introducing a new function v(x,t) which could be easily solved by letting vx(0,t) and vx(L,t)=0 and v(x,0)=0.

However, the solution went in some complicated things especially in 2 points;
1) deriving a0 of Fourier coefficient.
2) deriving an where it should be only odd number of n.
Also I would have been happy if λ=nπ/2L but it comes to be nπ/L which means cos(nπ/L)x can not be zero if x=L ( so as to be canceled and yields u(L,0)=0 :( )
Would you please see the attached file for my detailed calculation.

The second solution, I used BCs, vx(0,t) and v(L,t)=0 and v(x,0)=0. I didn't upload it because I still see that my problem is of rod with a length L not reaching infinity.
v is not equal to zero at time = 0. What is it equal to?

Chet
 
  • #33
yes sorry for that, it is again typing error v(x,0)=(x-L)P/KA
 
  • #34
Adel Makram said:
yes sorry for that, it is again typing error v(x,0)=(x-L)P/KA
Yes. That's correct. So now, let's see your solution for v.

Chet
 
  • #35
But before proceeding with the solution, I think v(x,0)=(x-L)P/KA is derived when the right end of the rode is kept at a constant temperature u(L,t)=0 which is not the case in hand now. As we have a constant flux to the left end (x=0) and from the right end (x=L). This means that the temperature is not kept at a constant u(L,t)=0.

But for a while I attached my solution with v(x,0)=(x-L)P/KA
 

Attachments

Last edited:
  • #36
Is that really the boundary condition you want for the rod... Constant flux of P/A at both ends? We can do that, but it's the same thing as having a constant temperature of T2 at x = L/2. So we might as well solve it for constant T2 at L.

Incidentally, for the case you defined, your v(x,0) equation is not correct. It should be ##(x-\frac{L}{2})\frac{P}{KA}##

Chet
 
  • #37
For simplicity, we assume that at the steady state u(x,t)= a-bx where a is the temperature at x=0 and b is the constant flux.
u(x,t)= a-bx +v(x,t)
v(x,0)= bx-a given that u(x,0)=0

Calculating Fourier coefficients a0 and an;
a0=1/L ∫(bx-a) dx = 1/L (½ bL2-aL)= ½bL-a
an= 2/L ∫(bx-a) cos(nπ/L) dx = -2b/n2π2 for n=1,3,5,...
v(x,t)= ½bL-a -2b/π2 Σ1/n2 cos(nπ/L) Exp (-n2π2/L2)t

u(x,t)=a-bx + ½bL-a -2b/π2 Σ1/n2 cos(nπ/L) Exp (-n2π2/L2)

Now putting t=∞ to simulate the steady state leads to u(x,t)=(a-bx + ½bL-a) not (a-bx) as desired ! This might indicate that if a0=0, this would solve the problem.
 
Last edited:
  • #38
Chestermiller said:
your v(x,0) equation is not correct. It should be ##(x-\frac{L}{2})\frac{P}{KA}##

Chet
Not sure why? please explain.
 
  • #39
Adel Makram said:
Not sure why? please explain.
If you are always adding P/KA at one end of the rod and always removing P/KA at the other end of the rod, the amount of heat in the rod doesn't change, and the average temperature remains T2. So the steady state solution is ##T_2+(\frac{L}{2}-x)\frac{P}{KA}##.

Chet
 
  • #40
The equation of the steady state can be written in many correct but different ways depending on which constant we prefer to appear in.
For example, u=T1 -bx where T1 is the final temperature at x=0------------ (1)
Where b=P/KA.

substitute x=L, u= T1 -bL = T2 where T2 is the final temperature at x=L
so T1= T2 +bL and then plug it in (1) leads to;
u= T2 +bL-bx =T2 +b(L-x) ------------(2)

Similarly, u= T½ +½bL-bx =T½ +b(½L-x) -------------(3)
where T½ is the temperature at the middle of the rod.

But in any case, the expansion of v(x,t) will show up an a0 term that will cancel one of constant terms in the steady state equation and will not result to its desired form once t->∝. This what I don`t understand.
 
Last edited:
  • #41
In the equation I gave in post #39, b = P/KA, and a = LP/2KA. What does that tell you about a0 and T1/2?

Chet
 
  • #42
That means T2=0, but this will not be the average because the average =(T1+T2)/2= T½. That is why I found that your equation in post#39 is more suited when defining T2 as T½ ( the temperature at the middle not the end of the rod)!
 
  • #43
Also, I still think my problem is finding the Fourier series of v(x,0)

Say u(x,t)= something +v(x,t) where something is the steady state.
u(x,0)= something +v(x,0)
v(x,0)= - something because u(x,0)=0
But I can not find v(x,0) to cancel this "something" because a0 is problematic as far as I can see.
 
  • #44
In other words,

at t=0 v(x,0)= a0+∑an cos(nπx/L)
at t=∝ v(x,0)= a0 which will not let u(x,t)= steady state unless a0=0 or the (a0+∑an cos(nπx/L)) is multiplied by e(-n2π2/L2)t
 
  • #45
Adel Makram said:
That means T2=0, but this will not be the average because the average =(T1+T2)/2= T½. That is why I found that your equation in post#39 is more suited when defining T2 as T½ ( the temperature at the middle not the end of the rod)!
You can't have both T2 being equal to the temperature at the end of the rod and the fluxes at both ends of the rod being P/KA for all times. Something has got to give. If the fluxes at both ends of the rod are P/KA for all times (equal amounts of heat entering and leaving for all time), then the average temperature of the rod must be T2 for all times. But T2 can't be both the average temperature of the rod and the temperature at the end of the rod at any time except t = 0. Once you come to grips with this, you will understand why a0 has to be equal to zero.

I am unwilling to discuss how you solved the equations (which is probably correct) until you realize this.

Chet
 
  • #46
Chestermiller said:
If the fluxes at both ends of the rod are P/KA for all times (equal amounts of heat entering and leaving for all time), then the average temperature of the rod must be T2 for all times.

Chet
Why, it is suppose to be (T1+T2)/2

What I understood is, the flux is kept fixed at both ends while the temperature rises as time goes by till reaches the values of the steady state.

I don't want to keep the temperature at x=L fixed that is why I didn't put it as a boundary condition, instead I kept the flux fixed.

However, this could not be physically real as well, because the steady state is reached when we substitute t=∝ so how can we use a fixed flux at both ends as our boundary conditions at all times to derive the solution of the equation that gives that fixed flux only at time =∝?

Is that a paradox? if we kept the temperature at x=L fixed, the flux could not be fixed and the steady state could not be reached. And if we keep the flux fixed at all times, the solution gives that only at t=∝!
 

Attachments

  • temperature.png
    temperature.png
    57.9 KB · Views: 425
Last edited:
  • #47
Adel Makram said:
Why, it is suppose to be (T1+T2)/2
Who said anything about the average temperature being (T1+T2)/2. For the problem as you defined it, the average temperature is T2 (for all time). Did you not read my post #39. This is the steady state profile for the problem as you defined it.
What I understood is, the flux is kept fixed at both ends while the temperature rises as time goes by till reaches the values of the steady state.
No. For the way you defined the problem, the temperature rises in the half of the rod from 0 to L/2, but drops for the half of the rod between L/2 and L. The positive flux at x = L causes cooling of that end.
I don't want to keep the temperature at x=L fixed that is why I didn't put it as a boundary condition, instead I kept the flux fixed.
No problem. The formulation as you defined it does not have the temperature at x = L fixed. In your formulation, it is decreasing with time.
However, this could not be physically real as well, because the steady state is reached when we substitute t=∝ so how can we use a fixed flux at both ends as our boundary conditions at all times to derive the solution of the equation that gives that fixed flux only at time =∝?
I don't understand this question.
Is that a paradox? if we kept the temperature at x=L fixed, the flux could not be fixed and the steady state could not be reached.
Sure it could. But, the flux at x = L could not be fixed. It could only be fixed at x = 0. So, at steady state, the temperature profile would be ##T2+\frac{P}{AK}(L-x)##. Tell me why that can't be the final steady state profile, with the flux you want at both ends (and everywhere else for that matter).

Chet[/quote][/quote][/QUOTE]
 
  • #48
Chestermiller said:
No. For the way you defined the problem, the temperature rises in the half of the rod from 0 to L/2, but drops for the half of the rod between L/2 and L. The positive flux at x = L causes cooling of that end.
This is not my problem as I don't expect any cooling anywhere.

My problem is to describe heating a metallic rode from one side only by a continuous heat source deriving a constant flux. As if you are holding a needle and approaching it from one side to a heat source. Then what are the boundary conditions ( especially regarding the end which is not exposed to the source)? I am very much interested to describe the evolution of temperature along the needle. Will the needle reach a steady state? and When?
 
  • #49
Adel Makram said:
This is not my problem as I don't expect any cooling anywhere.
You don't want it to cool anywhere, but the equations you formulated are consistent only with cooling at x = L. So your boundary condition at x = L is not consistent with what you want. Sorry about that.
My problem is to describe heating a metallic rode from one side only by a continuous heat source deriving a constant flux. As if you are holding a needle and approaching it from one side to a heat source. Then what are the boundary conditions ( especially regarding the end which is not exposed to the source)? I am very much interested to describe the evolution of temperature along the needle. Will the needle reach a steady state? and When?

Here are a selection of possible boundary conditions at x = L, and the characteristics of the steady state solution (if it exists):

A. Insulation (zero flux) at x = L : This will not reach steady state, but, nonetheless, can be solved analytically.

B. Flux = P/A at x = L: This is the boundary condition you specified. The final steady state solution for this case is ##T_2+\frac{P}{AK}(\frac{L}{2}-x)##. The final steady state value of temperature at x = L for your specified boundary condition is ##T_2-\frac{P}{AK}\frac{L}{2}##. Sorry about that. (I can prove to you mathematically that this is the steady state solution to the set of equations you specified).

C. Temperature = T2 at x = L. The final steady state solution for this case is ##T_2+\frac{P}{AK}(L-x)##. The final steady state value of temperature at x = L for this specified boundary condition is ##T_2##. The initial flux at x = L is zero.

Choose which boundary condition you want to use to solve the problem. Also, you seem to feel that, if you specify T = T2 at x = L, this will cause a discontinuity at that boundary. That will not be the case.

Chet
 
  • #50
Chestermiller said:
C. Temperature = T2 at x = L. The final steady state solution for this case is ##T_2+\frac{P}{AK}(L-x)##. The final steady state value of temperature at x = L for this specified boundary condition is ##T_2##. The initial flux at x = L is zero.

Choose which boundary condition you want to use to solve the problem. Also, you seem to feel that, if you specify T = T2 at x = L, this will cause a discontinuity at that boundary. That will not be the case.

Chet
This is near to my problem except for one thing. u(L,t)=T2 at all times, right?, so how could be that consistent with my needle example?
Physically wise, the temperature of the needle end at x=L should rise as time goes because of the heat energy reaches it from the source at x=0 after some time. So, it will not stay at its initial temperature except if the length of the needle is infinite. So my question, how u(L,t) is a boundary condition at all time but the temperature is expected, intuitively, to depend on the time? And what would be the ideal boundary condition in the case where u(L,t) rises from 0 at t=0 to T2 finally?
 
Last edited:
  • #51
Adel Makram said:
This is near to my problem except for one thing. u(L,t)=T2 at all times, right?, so how could be that consistent with my needle example?
This could be accomplished if the needle were immersed in a constant temperature bath (T2) at x = L.

Physically wise, the temperature of the needle end at x=L should rise as time goes because of the heat energy reaches it from the source at x=0 after some time. So, it will not stay at its initial temperature except if the length of the needle is infinite. So my question, how u(L,t) is a boundary condition at all time but the temperature is expected, intuitively, to depend on the time?
The temperature is not expected to depend on time at x = L if it is fixed at that location by means of a constant temperature bath at whatever temperature you wish.
And what would be the ideal boundary condition in the case where u(L,t) rises from 0 at t=0 to T2 finally?
Let me understand this correctly. You want the initial temperature to be u(x,0) to be zero everywhere along the rod, but you want the temperature at x = L to rise from 0 to T2 over time in some natural way. Correct? If this is what you want, I can provide a boundary condition that do this.

Chet
 
  • #52
Chestermiller said:
Let me understand this correctly. You want the initial temperature to be u(x,0) to be zero everywhere along the rod, but you want the temperature at x = L to rise from 0 to T2 over time in some natural way. Correct? If this is what you want, I can provide a boundary condition that do this.

Chet
Yes this is what I want. Thanks.
 
  • #53
Adel Makram said:
Yes this is what I want. Thanks.
$$k\left(\frac{\partial u}{\partial x}\right)_{x=L}=-\frac{P}{A}\frac{u(L,t)}{T_2}$$

Chet
 
  • Like
Likes Adel Makram
  • #54
Chestermiller said:
$$k\left(\frac{\partial u}{\partial x}\right)_{x=L}=-\frac{P}{A}\frac{u(L,t)}{T_2}$$

Chet
I follow your formula to derive the boundary condition for v(x,t)

u(x,t)= T2+(L-x)(P/KA) +v(x,t) ------(1)this is the general formula
ux(x,t)= - (P/KA) +vx(x,t) --------(2)
Divide (1) on (2);
u(x,t)/ux(x,t)= T2+(L-x)(P/KA) +v(x,t) / -(P/KA) +vx(x,t)
at x=L
u(L,t)/ux(L,t)= T2+v(L,t) / -(P/KA) +vx(L,t) -----(3)

But according to you, u(L,t)/ux(L,t)= T2 / (-P/KA)
which mandates v(L,t) & vx(L,t) =0 in equation (3), correct?
But if vx(L,t) =0 then ux(L,t)= -(P/KA) which again is not fitting our needle model as you described before!

Where did I go wrong? and how did you derive your formula?
 
Last edited:
  • #55
I think you might have made a mistake in algebra. I get:
$$kv_x=-\frac{P}{A}\frac{v}{T_2}$$
at x = L

Chet
 
  • #56
Chestermiller said:
I think you might have made a mistake in algebra. I get:
$$kv_x=-\frac{P}{A}\frac{v}{T_2}$$
at x = L

Chet
here is my calculation attached.
 

Attachments

  • #57
I have no idea what your motivation was for doing what you did, but here's my (much more straightforward) analysis:
$$u_x=-\frac{P}{AK}+v_x$$
At x = L,
$$u=T_2+v$$

So, substituting into the boundary condition for u at x = L:

$$K(-\frac{P}{AK}+v_x)=-\frac{P}{A}\frac{(T_2+v)}{T_2}$$
So,
$$-\frac{P}{A}+Kv_x=-\frac{P}{A}-\frac{P}{A}\frac{v}{T_2}$$
So, at x = L,
$$Kv_x=-\frac{P}{A}\frac{v}{T_2}$$

Any questions?

Chet
 
  • #58
Chestermiller said:
So, at x = L,
$$Kv_x=-\frac{P}{A}\frac{v}{T_2}$$

Any questions?

Chet
Ok, This is fine.

I then attached a solution. But I didn't get values for λ in a closed form.
 

Attachments

  • #59
Adel Makram said:
Ok, This is fine.

I then attached a solution. But I didn't get values for λ in a closed form.
$$\cot(λL)=\frac{T_2KA}{PL}(λL)$$

See Table 4.20 in Abramowitz and Stegun.

Chet
 
  • #60
I have a much easier way of achieving what you wish to achieve in your rod problem (i.e., constant flux at x = 0 and temperature rising gradually from 0 to T2 at x = L in a natural way. The solution to this problem is much simpler. I will get back to you a little later with the details.

Chet
 

Similar threads

Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
27K
Replies
7
Views
1K
  • · Replies 5 ·
Replies
5
Views
16K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K