# Kratos Magnetostatic Application

## Contents |

## General Description

The KRATOS Magnetostatic Application deals with the Finite Element Analysis of problems in **magnetostatics**. Though the mathematics and general formulation is quite similar to Electrostatics, Magnetostatics presents important differences at a conceptual and a programming level. Therefore, if you are a beginner in electromagnetism or programming electromagnetic applications, we strongly recommend you that you first start with the Electrostatic application.

The following description of the **Kratos Magnetostatic Application** takes part of:

- general concepts in
**electromagnetism**; - the
**Finite Element Method**applied to the electromagnetism; - the use of Kratos for basic problems;

At a first glance, it could be said that Electrostatics works with static charges whereas Magnetostatics does it with dynamic charges (or static currents). That's partially true and we avoid by now to argue about it. On the opposite, we are going to consider Magnetostatics as a completely new phenomenon instead of thinking in a kind of 'dynamic' electrostatic.

As Electrostatics, Magnetostatics establishes very basic principles of the Maxwell equations, it is an excellent work at academic level, but it is also a powerful conceptual (and eventually the resulting computing tool) to solve important industrial applications (electrical machines such as motors and transformers, circuit components such as coils, permanent magnets, sensors, magnetic field distribution, etc).

## Theory

Magnetostatics[1][2][3] refers to the physical phenomena related to the presence of stationary electric currents in the objects (magnetic materials can be considered as those with internal microcurrents). That means that we ignore any electrostatic charge, the electric field and we presume a constant magnetic field with respect to time.

### Basic principles

Our third Maxwell's equation:

where:

with: the (magnetic) permeability of the medium, of the free space and relative permeability, respectively.

The magnetic field is the curl of a magnetic vector potential ():

Our fourth Maxwell's equation:

By combining these Maxwell's equations, we obtain:

### Poisson's Equation in Magnetostatics

For 2D domains, we can reduce the Magnetostatic equation to the Poisson's Equation[8]. If there is no changes in the Z-direction and Z-component of the magnetic field, then and and therefore:

### Magnetostatic Boundary Conditions

For a 2D domain , we should consider three different boundary conditions:

- Dirichlet boundary condition:

- Neumann boundary condition:

- Infinit condition (when no physical boundary are presents -free space-):

## References

- Reference Answers: Magnetostatics
- wikipedia Magnetostatics
- wikipedia Static Magnetism
- wikipedia Electric currents
- Magnetic force
- Magnetic flux
- Magnetic field
- Poisson's Equation