Heat Equation- Constant Dirichlet and Neumann BCs

In summary, the mathematician is trying to solve the heat equation with the following boundary conditions: U(max z,t)=0 and Uz(0,t)=-B. His initial condition is U(z,0)=Uo. He knows how to solve the equation for simple 0 boundary conditions, but the Neumann BC is giving him problems. If anybody knows how to solve this or can give him a resource to solve this, it would be appreciated.
  • #1
Brainer101
2
0
Hi all,

I need to solve the heat equation (Ut=C*Uzz) with the following boundary conditions: U(max z,t)=0 and Uz(0,t)=-B. where B is a constant. My initial condition is U(z,0)=Uo where Uo is a constant.

I know how to solve the equation for simple 0 boundary conditions. The Neumann BC is especially giving me problems. If anybody knows how to solve this, or can give me a resource to solve this, it would be appreciated.

Thanks
 
Physics news on Phys.org
  • #2
it's a delta function at the origin, you have to integrate around it carefully to show that the discontinuity in the derivative of the space solution is a certain finite quantity related to the value of the solution itself.

http://en.wikipedia.org/wiki/Delta_function_potential

you can adapt those methods for the heat equation

i just realized that that's U_Z that has a value at z=0. i guess the delta potential isn't even relevant. i haven't done pdes but this is a separable eqn right?
 
Last edited:
  • #3
yes, the equation is separable.

The general solution to the equation is:
U(z,t) = e-l2t*[Dsin(l/C*z)+Ecos(l/c*z)]

D and E are functions of z. From my initial condition being constant, E=0. I know the Fourier series for D to model my initial condition, and i know what l has to be. C is a pre determined constnat. So my solution has a derivative of 0, not -B. I don't know how to get the derivative to be non 0.

Thanks for any help.
 
  • #4
Brainer101 said:
yes, the equation is separable.

The general solution to the equation is:
U(z,t) = e-l2t*[Dsin(l/C*z)+Ecos(l/c*z)]

D and E are functions of z. From my initial condition being constant, E=0. I know the Fourier series for D to model my initial condition, and i know what l has to be. C is a pre determined constnat. So my solution has a derivative of 0, not -B. I don't know how to get the derivative to be non 0.

Thanks for any help.

Hello Brainer, I think I have the solution to this problem. It involves the calculation of a steady-state solution and a transient one. This in order to get homogeneous boundary conditions (equal to 0). A second problem is to use the quarter range extension instead of half range as commonly done. I have just finished the calculation, but need to make sure that I did not make mistakes, so you have to give me some time to come back on this. It is late over here and I need to get up early to go to work.

To get you started try to see what happens when you set the solution to a sum of two parts, one the steady state and the other the transient. After setting the time derivative equal to zero you get the steady state solution. t will be gone and you are left with an ordinary DE in z, which is easily solved and applying the two boundary conditions gives you the steady state solution. To get the transient solution you need to adapt the boundary conditions and these will become 0 as it should.

Can you look into this? I will come back this week.
 
  • #5
Hello brainer101,

Sorry that it took so long to come back, it was a busy week.

I will give some info on how to obtain the solution, with intermediate
results, but the calculation itself is something you need to do by
yourself. Come back if anything is unclear.

So, the way to solve this problem is by stating that the solution
is made up of two parts, one part the steady-state and the other
the transient. This means that you need to write the solution as:

[tex]U(z,t)=V(z,t)+W(z,t)[/tex]

with V(z,t) the steady-state solution and W(z,t) the transient part.
The steady-state solution is independent of time t. Thus we have V(z).

Substituting this into the original PDE gives then the following two
equations:

[tex]\frac{dV^2}{dz^2}=0[/tex]
[tex]\frac{\partial W}{\partial t}=C \cdot \frac{\partial^2 W}{\partial t^2}[/tex]

The first equation (steady-state) has the following boundary conditions:

[tex]V(L)=0[/tex]
[tex]\left . \frac{dV}{dz}\right|_{z=0}=-B[/tex]

The solution is thus:

[tex]V(z)=B(L-z)[/tex]

The second equation can be solved by separation of the variables. This gives
two ODEs:

[tex]\frac{T'}{T}=C\frac{Z''}{Z}=\sigma[/tex]

which is:

[tex]T'-\sigma T=0[/tex]
[tex]Z''-\frac{\sigma}{C}Z=0[/tex]

The boundary conditions are here now:

[tex]Z(L)=0[/tex]
[tex]Z'(0)=0[/tex]

Now there are three possible values for sigma, smaller, equal and larger than zero.
First let's consider zero. This gives the zero solution and must be discarded.
Secondly consider a positive value, this gives a non-bounded solution and must be discarded. Finally let's consider a negative value and set it equal to:

[tex]\sigma=\lambda^2[/tex]

The equation for T gives now:

[tex]T(t)=K_1\cdot e^{-\lambda^2 t}[/tex]

The one for Z is now:

[tex]Z''+\frac{\lambda^2}{C}Z=0[/tex]

The solution:

[tex]Z(z)=K_3 cos\left(\frac{\lambda}{\sqrt{C}}z\right)[/tex]

after applying the boundary conditions. The value for lambda is:

[tex]\lambda_k=\frac{\sqrt{C}}{L}(2k+1)\frac{\pi}{2}[/tex]

and k=0,1,2,...

The total solution (transient and steady-state) is now given as:

[tex]U(z,t)=B(L-z)+\sum_{k=0}^{\infty}K_k\cdot e^{-\lambda^2_k t}\cdot cos\left(\frac{(2k+1)\pi z}{2L}\right)[/tex]

At t=0 the initial condition gives:

[tex]U_0-B(L-z)=\sum_{k=0}^{\infty}K_k\cdot cos\left(\frac{(2k+1)\pi z}{2L}\right)[/tex]

The coefficients Kk can be found by using a Fourier series expansion by a quarter
periodic extension with odd terms.

This gives after some integrals:

[tex]K_k=\frac{4U_0(-1)^k}{(2k+1)\pi}-\frac{8BL}{(2k+1)^2\pi^2}[/tex]

and the total solution is now complete.

Hopefully I didn't make any mistakes, so check this very carefully.

best regards,

coomast
 

1. What is the Heat Equation?

The Heat Equation is a partial differential equation that describes the flow of heat in a given region over time. It is used to model physical systems where heat is transferred through a medium, such as in thermodynamics and fluid dynamics.

2. What are Constant Dirichlet and Neumann Boundary Conditions?

Constant Dirichlet Boundary Conditions specify a constant temperature at the boundary of a region, while Neumann Boundary Conditions specify a constant heat flux at the boundary. These conditions are used to describe the behavior of a system at its boundaries, and are important in solving the Heat Equation.

3. How does the Heat Equation with Constant Dirichlet and Neumann BCs differ from other versions of the Heat Equation?

The main difference is in the boundary conditions. The Constant Dirichlet and Neumann BCs provide specific information about the behavior of the system at its boundaries, while other versions may have different types of boundary conditions or no boundary conditions at all.

4. What are some real-life applications of the Heat Equation with Constant Dirichlet and Neumann BCs?

The Heat Equation with these boundary conditions can be used to model heat transfer in various systems, such as in buildings, electronic devices, and even in the Earth's crust. It is also used in fields such as meteorology and oceanography to study heat transfer in the atmosphere and oceans.

5. How is the Heat Equation with Constant Dirichlet and Neumann BCs solved?

The Heat Equation with these boundary conditions can be solved using various numerical methods, such as finite difference or finite element methods. These methods involve discretizing the region and solving the resulting system of equations iteratively. Analytical solutions can also be obtained for simple geometries and boundary conditions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
267
  • Differential Equations
Replies
2
Views
2K
Replies
0
Views
459
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
4
Views
1K
  • Differential Equations
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
842
Replies
1
Views
1K
Back
Top