Work in Progress

This document is still under development and may change frequently.

Magnetic Force Report

The force is calculated using the Maxwell stress tensor \(\mathbb{T} [\rm{Pa}]\) given by

\[\mathbb{T} = \mathbf{B} \otimes \mathbf{H} - \frac{1}{2} \left( \mathbf{B} \cdot \mathbf{H} \right) \mathbb{I} \quad.\]

The force \(\mathbf{F} [\rm{N}]\) is then given by integrating over the surface \(S\) of the center pole body with

\[\mathbf{F} = \int_S \mathbb{T} \cdot \mathbf{n} \,\rm{d}S \quad,\]

where \(\mathbf{n}\) is the normal along the surface.

from mufem.electromagnetics.timedomainmagnetic import MagneticForceReport

help(MagneticForceReport)
Help on class MagneticForceReport in module mufem.electromagnetics.timedomainmagnetic:

class MagneticForceReport(mufem.ReportTrait)
 |  MagneticForceReport returns the force acting on a body
 |
 |  Method resolution order:
 |      MagneticForceReport
 |      mufem.ReportTrait
 |      pybind11_builtins.pybind11_object
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(...)
 |      __init__(self: mufem.electromagnetics.timedomainmagnetic.MagneticForceReport, name: str, marker: mufem.Marker) -> None
 |
 |
 |      Constructs a MagneticForceReport with the given name and marker.
 |
 |      Args:
 |          name (str): Name of the report.
 |          marker (Marker): Marker of the body.
 |
 |  evaluate(...)
 |      evaluate(self: mufem.electromagnetics.timedomainmagnetic.MagneticForceReport) -> Value
 |
 |
 |      Evaluates and returns the value of the MagneticForceReport.
 |
 |      Returns:
 |          list of Value: The calculated values of the report.
 |
 |  get_name(...)
 |      get_name(self: mufem.electromagnetics.timedomainmagnetic.MagneticForceReport) -> str
 |
 |
 |      Returns the name of the MagneticForceReport.
 |
 |      Returns:
 |          str: Name of the MagneticForceReport.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from pybind11_builtins.pybind11_object:
 |
 |  __new__(*args, **kwargs) class method of pybind11_builtins.pybind11_object
 |      Create and return a new object.  See help(type) for accurate signature.