# Electromagnetics

Perform electrostatic, magnetostatic, DC conduction, or harmonic analysis for the design of electrical and electronic components. For details about partial differential equations for electromagnetics, see:

The solver returns one of the results objects containing the solution values, such as electric or magnetic potentials, fields, and flux densities, at mesh nodes. After solving the problem, you can interpolate returned results to arbitrary spatial locations instead of mesh nodes.

## Functions

`generateMaxwellStressTensor` | Compute Maxwell stress tensor at nodal locations (Since R2024a) |

`interpolateMaxwellStressTensor` | Interpolate Maxwell stress tensor at arbitrary spatial locations (Since R2024a) |

`interpolateElectricPotential` | Interpolate electric potential in electrostatic or DC conduction result at arbitrary
spatial locations (Since R2021a) |

`interpolateElectricField` | Interpolate electric field in electrostatic or DC conduction result at arbitrary
spatial locations (Since R2021a) |

`interpolateElectricFlux` | Interpolate electric flux density in electrostatic result at arbitrary spatial
locations (Since R2021a) |

`interpolateMagneticPotential` | Interpolate magnetic potential in magnetostatic result at arbitrary spatial
locations (Since R2021a) |

`interpolateMagneticField` | Interpolate magnetic field in magnetostatic result at arbitrary spatial
locations (Since R2021a) |

`interpolateMagneticFlux` | Interpolate magnetic flux density in magnetostatic result at arbitrary spatial
locations (Since R2021a) |

`interpolateHarmonicField` | Interpolate electric or magnetic field in harmonic result at arbitrary spatial
locations (Since R2022a) |

`interpolateCurrentDensity` | Interpolate current density in DC conduction result at arbitrary spatial
locations (Since R2022b) |

## Objects

`ElectrostaticResults` | Electrostatic solution and derived quantities (Since R2021a) |

`MagnetostaticResults` | Magnetostatic solution and derived quantities (Since R2021a) |

`HarmonicResults` | Harmonic electromagnetic solution (Since R2022a) |

`ConductionResults` | DC conduction solution (Since R2022b) |

## Topics

**Electrostatic Potential in Air-Filled Frame**Find the electrostatic potential in an air-filled annular quadrilateral frame by using the unified workflow.

**Electrostatic Analysis of Transformer Bushing Insulator**Compute an electric field intensity in a bushing insulator.

**Magnetic Flux Density in Electromagnet**Compute a magnetic flux density in a solenoid with an iron core using a 3-D model and a 2-D axisymmetric model.

**Magnetic Flux Density in H-Shaped Magnet**Compute a magnetic flux density in a ferromagnetic frame.

**Nonlinear Magnetic Permeability from B-H Curve**Compute a magnetic flux density in a ferromagnetic frame with nonlinear relative permeability.

**Current Density Between Two Metallic Conductors**Find the electric potential and the components of the current density between two circular metallic conductors.

**Magnetic Field in Two-Pole Electric Motor**Find the static magnetic field induced by the stator windings in a two-pole electric motor.

**Scattering Problem**Compute reflected waves from an object illuminated by incident waves.