# Magnetostatics

Electromagnetism
Magnetostatics
Scientists

Magnetostatics is the study of magnetic fields in systems where the currents are steady (not changing with time). It is the magnetic analogue of electrostatics, where the charges are stationary. The magnetization need not be static; the equations of magnetostatics can be used to predict fast magnetic switching events that occur on time scales of nanoseconds or less.[1] Magnetostatics is even a good approximation when the currents are not static — as long as the currents do not alternate rapidly. Magnetostatics is widely used in applications of micromagnetics such as models of magnetic recording devices.

## Applications

### Magnetostatics as a special case of Maxwell's equations

Starting from Maxwell's equations and assuming that charges are either fixed or move as a steady current $\scriptstyle\vec{J}$, the equations separate into two equations for the electric field (see electrostatics) and two for the magnetic field.[2] The fields are independent of time and each other. The magnetostatic equations, in both differential and integral forms, are shown in the table below.

Name Partial differential form Integral form
Gauss's law for magnetism: $\vec{\nabla} \cdot \vec{B} = 0$ $\oint_S \vec{B} \cdot \mathrm{d}\vec{S} = 0$
Ampère's law: $\vec{\nabla} \times \vec{H} = \vec{J}$ $\oint_C \vec{H} \cdot \mathrm{d}\vec{l} = I_{\mathrm{enc}}$

The first integral is over a surface $S$ with oriented surface element $\scriptstyle d\vec{S}$. The second is a line integral around a closed loop $C$ with line element $\scriptstyle\vec{l}$. The current going through the loop is $\scriptstyle I_\text{enc}$.

The quality of this approximation may be guessed by comparing the above equations with the full version of Maxwell's equations and considering the importance of the terms that have been removed. Of particular significance is the comparison of the $\scriptstyle \vec{J}$ term against the $\scriptstyle \partial \vec{D} / \partial t$ term. If the $\scriptstyle \vec{J}$ term is substantially larger, then the smaller term may be ignored without significant loss of accuracy.

### Re-introducing Faraday's law

A common technique is to solve a series of magnetostatic problems at incremental time steps and then use these solutions to approximate the term $\scriptstyle \partial \vec{B} / \partial t$. Plugging this result into Faraday's Law finds a value for $\scriptstyle \vec{E}$ (which had previously been ignored). This method is not a true solution of Maxwell's equations but can provide a good approximation for slowly changing fields.[citation needed]

## Solving for the magnetic field

### Current sources

If all currents in a system are known (i.e., if a complete description of $\scriptstyle \vec{J}$ is available) then the magnetic field can be determined from the currents by the Biot-Savart equation:

$\vec{B}= \frac{\mu_{0}}{4\pi}I \int{\frac{\mathrm{d}\vec{l} \times \hat{r}}{r^2}}$

This technique works well for problems where the medium is a vacuum or air or some similar material with a relative permeability of 1. This includes Air core inductors and Air core transformers. One advantage of this technique is that a complex coil geometry can be integrated in sections, or for a very difficult geometry numerical integration may be used. Since this equation is primarily used to solve linear problems, the complete answer will be a sum of the integral of each component section.

For problems where the dominant magnetic material is a highly permeable magnetic core with relatively small air gaps, a magnetic circuit approach is useful. When the air gaps are large in comparison to the magnetic circuit length, fringing becomes significant and usually requires a finite element calculation. The finite element calculation uses a modified form of the magnetostatic equations above in order to calculate magnetic potential. The value of $\scriptstyle \vec{B}$ can be found from the magnetic potential.

The magnetic field can be derived from the vector potential. Since the divergence of the magnetic flux density is always zero,

$\vec{B} = \nabla \times \vec{A},$

and the relation of the vector potential to current is:

$\vec{A} = \frac{\mu_{0}}{4\pi} \int{ \frac{\vec{J} } {r} dV}$

where $\scriptstyle \vec{J}$ is the current density.

### Magnetization

Further information: Demagnetizing field and Micromagnetics

Strongly magnetic materials (i.e., Ferromagnetic, Ferrimagnetic or Paramagnetic) have a magnetization that is primarily due to electron spins. In such materials the magnetization must be explicitly included using the relation

$\vec{B} = \mu_0(\vec{M}+\vec{H}).$

Except in metals, electric currents can be ignored. Then Ampère's law is simply

$\nabla\times\vec{H} = 0.$

This has the general solution

$\vec{H} = -\nabla U,$

where $U$ is a scalar potential. Substituting this in Gauss's law gives

$\nabla^2 U = \nabla\cdot\vec{M}.$

Thus, the divergence of the magnetization, $\scriptstyle \nabla\cdot\vec{M},$ has a role analogous to the electric charge in electrostatics [3] and is often referred to as an effective charge density $\rho_M$.

The vector potential method can also be employed with an effective current density

$\vec{J_M} = \nabla \times \vec{M}.$

## References

•
•
• Hiebert, W; Ballentine, G; Freeman, M (2002). "Comparison of experimental and numerical micromagnetic dynamics in coherent precessional switching and modal oscillations". 65 (14). p. 140404. doi:10.1103/PhysRevB.65.140404.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 29, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9048594832420349, "perplexity_flag": "head"}