Solving the PDE 1-d Heat Equation for a Flipped Rod

Click For Summary
The discussion focuses on solving the 1-D heat equation for a rod with varying initial and boundary conditions. Initially, the rod has temperatures of 0 degrees at x=0 and 100 degrees at x=L, but after flipping, the temperatures switch to 100 degrees at x=0 and 0 degrees at x=L. The key point is that initial conditions cannot be changed once set, but boundary conditions can be modified. The solution can be approached in two parts: first, solve the equation with the initial conditions until a specified time, then use that solution as the new initial condition for the modified boundary conditions. This method allows for a more dynamic analysis of the temperature distribution after the rod is flipped.
mskisoc
Messages
2
Reaction score
0
regarding 1-d Head Equations on rods. I am aware of how to long a rod with length x=0 to x=L. and initial conditions of u(0,t)=0 degrees and u(L,t)=100 degrees. But how does the problem change if before t=0 the rod at x=0 was at 100 degrees and x=L was at 0 degrees. So at time=0 the rod was flipped over. Any help setting this up would be great!
 
Physics news on Phys.org
In the first case your initial condition is u(x,0) is a straight line between (0,0) and (L,100) and in the second case it goes from (0,100) to (L,0).
 
So, how would you set up to solve the problem if the two cases were combined. For example the rod is sitting in a certain set of initial conditions and then the rod if flipped 180 degrees so now it is in a different set of initial conditions and then I am interested in finding out what the temperature distribution would be after that one flip occurred.
 
OK, let's get the terminology straight; I think I misunderstood you at first. The conditions on u(0,t) and u(L,t) are boundary conditions, not initial conditions. The initial condition u(x,0) = f(x), which needs to be specified to have a well posed problem. It is the temperature at t = 0 along the rod and you don't get to change it.

So I guess you want to let it run until some time t0 > 0 and then change things. What you can't change is the initial conditions. You can change the temperatures at the ends. Is that what you are trying to describe? If so, you could work the problem in two parts. Use the first solution up until t0, then use u(x,t0) as the initial condition and solve again with the new boundary conditions.
 
You can also write your boundary conditions with step functions, then generalized functions will enter your equation ( a delta function). I think it will be much more interesting and perhaps even faster :)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K