If you have the anisotropic diffusion equation to find u(x,y)
(μx∂x2∂2u+μy∂y2∂2u)=f(x,y)(1)
and you discretize the problem using second-order finite difference formulas, leading to the discretized form:
−μx(h2ui−1,j−2ui,j+ui+1,j)−μy(h2ui,j−1−2ui,j+ui,j+1)=fi,j(2)
How do you calculate the finite difference stencil S corresponding to this finite difference scheme?
(μx∂x2∂2u+μy∂y2∂2u)=f(x,y)(1)
and you discretize the problem using second-order finite difference formulas, leading to the discretized form:
−μx(h2ui−1,j−2ui,j+ui+1,j)−μy(h2ui,j−1−2ui,j+ui,j+1)=fi,j(2)
How do you calculate the finite difference stencil S corresponding to this finite difference scheme?