Work in Progress

This document is still under development and may change frequently.

Magnetic Torque Report

The torque 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 torque \(\mathbf{T} [\rm{N \cdot m}]\) is then given by integrating over the surface \(S\) of the center pole body with

\[\mathbf{T} = \int_S \mathbf{r} \times (\mathbb{T} \cdot \mathbf{n}) \,\rm{d}S \quad,\]

where \(\mathbf{r}\) is the position vector, and \(\mathbf{n}\) is the normal along the surface.

from mufem.electromagnetics.timedomainmagnetic import MagneticTorqueReport

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

class MagneticTorqueReport(mufem.ReportTrait)
 |  Magnetic force report that computes the magnetic torque on a marker
 |
 |  Method resolution order:
 |      MagneticTorqueReport
 |      mufem.ReportTrait
 |      pybind11_builtins.pybind11_object
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(...)
 |      __init__(self: mufem.electromagnetics.timedomainmagnetic.MagneticTorqueReport, name: str, marker: mufem.Marker) -> None
 |
 |
 |      Creates a MagneticTorqueReport with the specified name and marker.
 |
 |      Args:
 |          name: The name of the report.
 |          marker: The marker of the body for which the report is generated.
 |
 |  evaluate(...)
 |      evaluate(self: mufem.electromagnetics.timedomainmagnetic.MagneticTorqueReport) -> Value
 |
 |
 |      Evaluates and returns the magnetic torque on the body.
 |
 |      Returns:
 |          A list of Value objects representing the torque values.
 |
 |  get_name(...)
 |      get_name(self: mufem.electromagnetics.timedomainmagnetic.MagneticTorqueReport) -> str
 |
 |
 |      Retrieves the name of the MagneticTorqueReport.
 |
 |      Returns:
 |          The name of the report as a string.
 |
 |  ----------------------------------------------------------------------
 |  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.