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

  • Context: Graduate 
  • Thread starter Thread starter shayj
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
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