Finite Differences-Semi discretization method on Heat Equation

Juan Carlos
Messages
21
Reaction score
0
Hi!, I'm working on a personal project: Solve the heat equation with the semi discretization method, using my own Mathematica's code, (W. Mathematica 9). The code:
View attachment PDE heat.nb

I'm having problems with the variable M (the number of steps). It works with M=1-5, but no further, I do not know what's going on. Help!
Also, I'm looking for a better animation more intuitive.
Thanks a lot
 
Physics news on Phys.org
Since I do not have mathematica( using MATLAB for simulation purposes) I am just going to ask silly questions :|. As far as a quick google search is concerned Semi discretization means you only discretize space, right? And then you figure out some time evolution method. What are you using for the time evolution?
 
Strum said:
Since I do not have mathematica( using MATLAB for simulation purposes) I am just going to ask silly questions :|. As far as a quick google search is concerned Semi discretization means you only discretize space, right? And then you figure out some time evolution method. What are you using for the time evolution?

Yes, that's the idea of semi discretization(also you can discretize the time or space)- But in this treatment I am working with the spatial variable (discrete), and solving the differential equations of time without any numerical method (certain boundary conditions and initial condition allow me to do it), since mathematica does it exactly.

Did I get you?
Thanks
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 23 ·
Replies
23
Views
7K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K