Solving Diffusion Equation u_t=div(A\nabla u) Numerically

  • Thread starter Thread starter shayj
  • Start date Start date
shayj
Messages
1
Reaction score
0
Can someone offer some help on this?

I have this diffusion equation:
u_t = div(A\nabla u)
where A is a 2 by 2 matrix, i.e. it's anisotropic.

I am not sure how I should properly discretize this and solve it numerically. I used simply central difference but it does seem work nicely.

Any help will be greatly appreciated.
 
Physics news on Phys.org


Try finite elements instead. You will only need first derivatives, and the discretization works better
 
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...
Back
Top