Heat equation with boundary conditions

In summary, the conversation discusses solving the heat equation with initial boundary conditions using the method of separation of variables. The solution method of Variation of Parameters is mentioned, as well as the book "Analytical Methods in Conduction Heat Transfer" by Glen E. Myers. The book's solution for the heat equation with initial boundary conditions is also discussed.
  • #1
Telemachus
835
30
Hi. I'm trying to solve the heat equation with the initial boundary conditions:

[tex]u(0,t)=f_1(t)[/tex]
[tex]u(x_1,t)=f_2(t)[/tex]
[tex]u(x,0)=f(x)[/tex]
[tex]0<x<x_1[/tex]
[tex]t>0[/tex]

And the heat equation: [tex]\frac{\partial u}{\partial t}-k\frac{\partial^2 u}{\partial x^2}=0[/tex]

So when I make separation of variables I get:
[tex]\nu=X(x)T(t)[/tex]
[tex]\frac{T'(t)}{T(t)}=k\frac{X''(x)}{X(x)}[/tex]

Then I have to solve for X
[tex]kX''(x)-\lambda X(x)=0[/tex]
With the initial boundary conditions
[tex]X(0)=f_1(t)[/tex]
[tex]X(x_1)=f_2(t)[/tex]

And for T:
[tex]T'(t)-\lambda T(t)=0[/tex]
With initial value:
[tex]T(0)=f(x)[/tex]

How should I proceed from here? I'm not sure how to make this accomplish the boundary conditions.

Bye, thanks.
 
Last edited:
Physics news on Phys.org
  • #2
Have you heard of the solution method called Variation of Parameters?
 
  • #3
Yes, I've used it before for ordinary differential equations, but never with partial differential equations. I've seen in weinberger book that in the case of Laplace equation in a rectangle, with boundary conditions like this, but in space, let's say:
[tex]\frac{\partial^2 u}{\partial x^2}+\frac{\partial^2 u}{\partial x^2}=0[/tex]
[tex]0<x<\pi[/tex]
[tex]0<y<A[/tex]

With boundary conditions:
[tex]u(x,0)=f_1(x)[/tex]
[tex]u(\pi,y)=f_2(y)[/tex]
[tex]u(x,A)=f_3(x)[/tex]
[tex]u(B,y)=f_4(y)[/tex]

The book says that four different differential equations must be solved, in each of which all but one of the four functions [tex]f_i[/tex] is replaced by zero and adding the four solutions. There are no examples, just mention it, and I think the problem I'm dealing with is quiet different, because I have the boundary condition like mixed.

I'm trying to solve this, because I've made my laboratory work about this equation on a copper bar, and we made the foolish mistake of forgiving to measure the temperature on the boundaries. So we decided to take as the boundary conditions the one on the first thermocouple, which is a temperature in function of time for that position, which is taken as the boundary. And I haven't given my final exam on partial differential equation yet, I saw on the last semester the methods of resolution for some partial differential equations, Fourier series, Fourier transform, orthogonal functions, eigenvalues, etc, but I haven't make many exercises on partial differential equations yet, so I'm not really familiar with these methods.

Thanks for posting LawrenceC.
 
Last edited:
  • #4
Looks like you are thinking of superposition. I've used variation of parameters for the Fourier equation (which is what you have). A good reference on it is Analytical Methods In Conduction Heat Transfer by Glen E. Myers. Initially you set all boundary conditions to zero which makes the problem homogeneous. Eigenfunctions become sin(n*pi*x) due to BC's. Then you assume a solution t(x,theta)= summation over n of (An(theta)*sin(n*pi*x)). Differentiate WRT theta and solve ODE for An using boundary conditions.
 
  • #5
Thanks LawrenceC, I'll see what I can do, and I'll be back later.
 
  • #6
I think I found the solution in Carslaw, conduction of heat in solids.

This is the solution given by the book, tell me if its right, and I've got a few questions to ask you about it:

[tex]\frac{\partial u}{\partial t}-k\frac{\partial^2 u}{\partial x^2}=0[/tex]
[tex]u(0,t)=\phi_1(t)[/tex]
[tex]u(l,t)=\phi_2(t)[/tex]
[tex]u(x,0)=f(x)[/tex]
[tex]0<x<l[/tex]
[tex]t>0[/tex]

The solution:
[tex]u=\frac{2}{l} \sum_{0}^{\infty} e^{\frac{-kn^2 \pi^2 t}{l^2}} \sin \frac{n \pi x}{l} \left[ \int_0^l f(x') \sin {n \pi x'}{l}dx'+\frac{nk\pi}{l} \int_0^t e^{\frac{kn^2\pi^2\lambda}{l^2}} \left( \phi_1 (\lambda) -(-1)^n \phi_2(\lambda) \right) d\lambda \right][/tex]

The book effectively uses some kind of superposition, as you said.
 
Last edited:

FAQ: Heat equation with boundary conditions

What is the heat equation and how does it relate to boundary conditions?

The heat equation is a mathematical model that describes the flow of heat in a given space over time. It is often used to study heat transfer in materials or objects. Boundary conditions refer to the constraints or specifications that are placed on the heat equation to accurately model a real-world scenario. These conditions can include the initial temperature distribution, the material properties, and the boundary temperatures of the system.

What are the assumptions made in the heat equation with boundary conditions?

The heat equation makes certain assumptions in order to simplify the model and make it solvable. These assumptions include a steady-state system, constant material properties, and a linear relationship between temperature and heat flux. In addition, boundary conditions are assumed to be constant and uniform.

Can the heat equation with boundary conditions be solved analytically?

In some cases, the heat equation with boundary conditions can be solved analytically, meaning that a closed-form solution can be obtained using mathematical techniques. However, in many cases, numerical methods must be used to approximate the solution due to the complexity of the equation and the boundary conditions.

What is the significance of boundary conditions in solving the heat equation?

Boundary conditions play a crucial role in solving the heat equation, as they define the specific scenario being studied and provide the necessary constraints for the equation to accurately model the system. Without proper boundary conditions, the solution obtained from the heat equation may not reflect the real-world situation.

Can the heat equation be used to model complex systems with non-uniform boundary conditions?

Yes, the heat equation can be adapted to model more complex systems with non-uniform boundary conditions. This can be achieved through the use of numerical methods such as finite difference or finite element methods, which can handle non-uniform boundary conditions and provide accurate approximations of the solution.

Similar threads

Back
Top