Electrostatics and Magnetostatics Equations
Maxwell's equations describe electrodynamics as:
Here, E and H are the electric and magnetic field intensities, D and B are the electric and magnetic flux densities, and ρ and J are the electric charge and current densities.
Electrostatics
For electrostatic problems, Maxwell's equations simplify to this form:
where ε is the electrical permittivity of the material.
Because the electric field E is the gradient of the electric potential V, , the first equation yields this PDE:
For electrostatic problems, Dirichlet boundary conditions specify the electric potential V on the boundary. By default, the toolbox uses the zero Neumann boundary condition and assumes that the boundary is insulated, so there is no electric current through the boundary.
Magnetostatics
For magnetostatic problems, Maxwell's equations simplify to this form:
Because , there exists a magnetic vector potential A, such that . For non-ferromagnetic materials, , where µ is the magnetic permeability of the material. Therefore,
Using the identity
and the Coulomb gauge , simplify the equation for A in terms of J to this PDE:
For magnetostatic problems, Dirichlet boundary conditions specify the magnetic potential A on the boundary. By default, the toolbox uses the zero Neumann boundary condition and assumes that:
For 2-D magnetostatic analysis, there is no magnetic flux through the boundary.
For 3-D magnetostatic analysis, , where u is a magnetic vector potential, and c represents properties of the material, such as permittivity , permeability, or conductivity.
Magnetostatics with Permanent Magnets
In the case of a permanent magnet, the constitutive relation between B and H includes the magnetization M:
Here, , where μr is the relative magnetic permeability of the material, and μ0 is the vacuum permeability.
Because , there exists a magnetic vector potential A, such that . Therefore,
The equation for A in terms of the current density J and magnetization M is