Message Boards Message Boards

0
|
2731 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Solving heat diffusion equation?

Posted 3 years ago

My code wont seem to work when I use DSolve to solve the heat diffusion equation. It is a PDE and I can't find a way to solve it. The equation is as follows:

alpha * Txx = Tt

where Txx is the second derivative of Temperature with respect to x, Tt is the first derivative of Temperature with respect to time, and alpha is a constant.

When I run my code, DSolve just spits out the same thing I entered. Below is my code, let me know how to get it working. Thanks!

enter image description here

POSTED BY: Daniel Hein

In the future I suggest you put copyable code into your posts to make it easier to help you, otherwise I needed to manually type it in.

inf->Infinity is the issue

pde=a D[temp[x,t],{x,2}]-D[temp[x,t],t]==0;
DSolve[{
   pde,
   temp[0,t]==0,
   temp[Infinity,t]==0,
   temp[x,0]==0,
   (D[temp[x,t],t]/.t->0)==0
},temp[x,t],{x,t}]
POSTED BY: Kyle Keane
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract