Heat conduction in bars: varying the boundary condition. Harmonics problem

Click For Summary

Homework Help Overview

The discussion revolves around a heat conduction problem involving the heat equation with specific boundary conditions and an initial condition. The subject area includes partial differential equations and separation of variables, focusing on odd harmonics in the solution.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the separation of variables method and the resulting ordinary differential equations (ODEs) for both spatial and temporal components. There are inquiries about the general solutions for these ODEs and the implications of different cases for the separation constant. Some participants express confusion regarding boundary conditions and the derivation process.

Discussion Status

The discussion is ongoing, with participants providing insights into the separation of variables and eigenvalue selection. Some guidance has been offered regarding the nature of the eigenvalues and the form of the solutions, but there remains a lack of consensus on specific steps and interpretations, particularly concerning boundary conditions and the spatial ODE.

Contextual Notes

Participants are navigating the complexities of boundary conditions, particularly Dirichlet conditions, and how they affect the eigenvalue problem. There is also mention of the initial temperature distribution and its role in determining coefficients in the series solution.

Benzoate
Messages
420
Reaction score
0

Homework Statement



A problem with odd harmonics only. Show that the solution of the heat equation du/dt=c2*(d2u)/(dx2), subject to boundary conditions u(0,t)=0 and ux(L,t)=0, and the initial condition u(x,0)=f(x) , is

u(x,t)= \sum Bnsin[(\pi/2L)(2n+1)x]e-((c*\pi/2L)*(2n+1))^2

where n extends from 0 to \infty

Bn=2/L\int f(x) sin[(\pi/2L)*(2n+1)x]dx

where the limits extend from 0 to L

Homework Equations



separation of variables

The Attempt at a Solution


u(x,t)=X(x)T(t)
u(x,0)=f(x)
u2(x,t)=0
T'-kc2T=0
x''-kx=0
x'(0)=0
x'(L)=0
u2(0,t)=0

if u(0,t)=0 then u2(0,t)=0

u2(0,t)=0= u2(L,t)

not sure how to finish this derivation.

 
Physics news on Phys.org
Benzoate said:
u(x,t)=X(x)T(t)
u(x,0)=f(x)
T'-kc2T=0
x''-kx=0

This part is correct. What does that make the general solution for T(t) and X(t) and hence u(x,t)? Remember, you will need to examine 3 different cases: (1)k=0, (2)k<0 and (3)k>0.

u2(x,t)=0

Huh? What is this supposed to mean?

x'(0)=0
x'(L)=0
u2(0,t)=0

if u(0,t)=0 then u2(0,t)=0

u2(0,t)=0= u2(L,t)

Where are you getting these boundary conditions? They are not equal to the conditions given in the question.
 
gabbagabbahey said:
This part is correct. What does that make the general solution for T(t) and X(t) and hence u(x,t)? Remember, you will need to examine 3 different cases: (1)k=0, (2)k<0 and (3)k>0.

3 cases : you mean when

case 1: lambda =alpha^2 ==> X-alpha^2*X

X''-alphaX=0

r^2-alpha^2=0
(r-alpha)(r+alpha)=0 ==> r= +-alpha

X=c1e^alpha*x + c2e^alphae^-alpha
X'(0)=0 ==> c1*alpha-c2*alpha
X'(L)=alpha(e^alpha*L - e^(-alpha*L))c1=0 ==> c1=0

case 2 lamda =0

r=0

X=c1*x+c2

X'(0)=0 ==> c1=0

X'(L) =0 ==>0=0

X(x)=c2case 3

lambda = alpha^2 >0

r^2+alpha^2 =0 ==> r=+- alpha*i

X1=cos(alpha*x) X2=sin(alpha*x)

X=X1+X2= cos(alpha*x)+sin(alpha*x)
Huh? What is this supposed to mean?
Ignore all the functions with u2. Those are all mistakes. ; I was trying to say that if u(0,t)=0 then u(0,t)=0==> ux(0,t)=0

Therefore, ux(0,t)=0= ux(L,t)
 
Last edited:
1. After SOV, you'll get 2 ODEs. One for spatial the other for time, then you select proper eigenvalue such that the PDE has nontrivial and physically possible solution considering the given BCs. In the case of
\dfrac {T&#039;}{T}= k \dfrac {X&#039;&#039;}{X}=- \lambda with Dirichlet boundary conditions, the possible eigenvalue is \lambda &gt;0 (easy to find out by plugging the BCs in).

2. Solve the spatial ODE, determine the coefficients and eigenvalues to satisfy the BCs.
3. Solve the T, and plug the eigenvalue into the T.
4. Write the u(x,t) in series form by applying the principle of superposition.
3. Apply initial condition to u(x,t) by setting t=0 such that u(x,0)=f(x).
4. determine the Fourier coeffs.
 
klondike said:
1. After SOV, you'll get 2 ODEs. One for spatial the other for time, then you select proper eigenvalue such that the PDE has nontrivial and physically possible solution considering the given BCs. In the case of
\dfrac {T&#039;}{T}= k \dfrac {X&#039;&#039;}{X}=- \lambda with Dirichlet boundary conditions, the possible eigenvalue is \lambda &gt;0 (easy to find out by plugging the BCs in).

Should I let X= c1 cos (\mu x) + c2 sin (\mux)
and k=-\mu2 ; should I write T/T' in terms of c and k ?

2. Solve the spatial ODE, determine the coefficients and eigenvalues to satisfy the BCs.

What is the spatial ODE?
3. Solve the T, and plug the eigenvalue into the T.

Not sure how to determined the eigenvalues
 
Let's say you have a 1D heat diffusion problem
<br /> \dfrac{\partial u}{\partial t} = k \dfrac{\partial ^2u}{\partial x^2}<br />
where 0<=x<=L, and with Dirichlet boundary conditions
<br /> u(0,t)=u(L,t)=0<br />
and initial temperature distribution
<br /> u(x,0)=f(x)<br />

To SOV set:
<br /> u(x,t)=\phi(x)T(t)<br />
We could set the separation constant -\lambda
you get
<br /> \dfrac{\phi^&#039;&#039;}{\phi}=\dfrac{1}{k} \dfrac {T^&#039;}{t}=- \lambda<br />
you end up having 2 ODEs
<br /> \phi^{&#039;&#039;}+\lambda \phi = 0<br />
and
<br /> T^{&#039;}+\lambda kt = 0<br />

\phi^{&#039;&#039;}+\lambda \phi = 0 is the spatial ODE. it's the simplest form of Sturm-Liouville Eigenvalue problem.
we can prove that the only way to get nontrivial solution is when \lambda&gt;0, and the general solution to the spatial problem is
<br /> \phi(x)=c1 sin(\sqrt{\lambda}x)+c2 cos(\sqrt{\lambda}x)<br />
To satisfy the Dirichlet BC, it requires c2=0 and
<br /> \lambda=(\dfrac{n \pi}{L})^2<br />
now you have
<br /> \phi(x)= cn \sin(\dfrac{n\pi x}{L})<br />
the solution to T is
<br /> T(t)=Bne^{-k \lambda t}<br />
Plug lambda into T(t) and apply principle of superposition you have
<br /> u(x,t)=\sum _{n=1} ^{\infty} A_{n}sin \dfrac{n \pi x}{L}e^{-k(n \pi/L)^2t}<br />

Now you need to make u(x,t) satisfy the initial condition and determine the A_{n}. Let us know if you have further problems.


Benzoate said:
Should I let X= c1 cos (\mu x) + c2 sin (\mux)
and k=-\mu2 ; should I write T/T' in terms of c and k ?



What is the spatial ODE?


Not sure how to determined the eigenvalues
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K