# Discretisation by FVM with triangulare mesh

I work on electromagnetic modeling, and I use the finite volume method as a tool, so I want to develop code by the modified finite volume method (with triangular mesh), my problem studied is in a permeable environment (ferromagnetic materials).

in first i try to discetize $$-\mathrm{div}(\mathrm{grad}(A)=\mu_0(J + \mathrm{rot}(M))$$ by fvm with rectangular mesh, (see picture) ### My question Now

I search to determine the magnetic vector potential $$A$$ at the centers of gravity of the triangles,

my problem is in how to discretize this equation above by FVM triagnular like in rectangular mesh

$$-\left(\frac{\partial^2 A}{\partial x^2} + \frac{\partial^2 A}{\partial y^2}\right) = \mu_0 \left(J_S + \frac{\partial M_y}{\partial x} - \frac{\partial M_x}{\partial y}\right)\, .$$

• Could you please type your equations using MathJax (LaTeX syntax)? May 13 '20 at 14:02
• I m a new contributor to this site. it's not clear my equation ?? May 13 '20 at 14:11
• I edited the equations, please review that there isn't any mistake. For future questions, please use MathJax. May 13 '20 at 14:52
• It's very difficult to say anything useful on your question. In short, your question reads like this: "I'm trying to solve A. I have a method that works in a special case. Now I want to do B, but I found difficulties." What specifically are your difficulties? What works and what doesn't? What have you tried to figure out how to do B, and which step are you stuck with? We really can't look into your head to find the answer to these questions! :-) May 13 '20 at 14:53
• nicoguaro ,thanks, yes its correct. but do you understand my question May 13 '20 at 15:11