Understanding Post-Processing Formulas

This section is about finding and understanding the formulas used by the Magnetic solver in post processing. They can be found in the physical master library, that contains the physical formulations. This file is found in your Magnetics Installation in folder ’templates’ and is named ’lib_Master.pro’.

Magnetostatic

  1. Electrode Voltage:
    \(ResName\_globalvoltage =~ ’Voltage’, UnitName\_globalvoltage =~ ’V’\)

    Electrode Current:
    \(ResName\_globalcurrent = 'Current', UnitName\_globalcurrent = 'A',\)

  2. Electrode Power:
    \(Name: Power; Value: \{ Term\{ \{ CoefPower*\{I\}*\{U\} \}\}; In DomainC\)

  3. Circuit Voltage:
    \(ResName\_voltagecircuits =~ 'VoltageCircuits', UnitName\_voltagecircuits =~ 'V',\)

  4. Circuit Current:
    \(ResName\_currentcircuits =~ 'CurrentCircuits', UnitName\_currentcircuits =~ 'A',\)

  5. Circuit Power:
    \(ResName\_powercircuits = 'PowerCircuits', UnitName\_powercircuits =~ 'W',\)

Magnetodynamic Frequency

  1. EddyCurrentLosses [P]:
    \(\int~\{~[~ \text{CoefPower}*sigma[\{T\}]*SquNorm[\{ D_t[\{a\}] + dv\}]*\text{GeoCoeff}]~\}; In \#\{DomainC,-DomainV\}\)

  2. Core Losses:
    \(kh: \int~\{~[ Kh~[\{T\}]*UpdateFreq\texttt{\^{}}KhExpA [\{T\}]* Norm[\{d a\}]\texttt{\^{}}KhExpB[\{T)\}]*\{GeoCoeff\}];\)
    \(~~~~~~ In Region[\{DomainNonMoving\}]\)

    \(ke: \int\{ ~[ Ke[\{T\}] * (\$UpdateFreq * Norm[\{d a\}])\texttt{\^{}}2\)

    \(kx: \int\{ ~[ Kx[\{T\}] * (\$UpdateFreq * Norm[\{d a\}])\texttt{\^{}}1.5\)

    From the Steinmetz equation: Kh, Ke, and Kx represent hysteresis losses, eddy current losses in the core, and excess losses (relevant at high frequencies in the MHz range). Combined they form the core losses.

  3. Total Losses:
    The total losses consist of the sum of eddy current losses and core losses.

  4. Ohm Resistance:
    In 2D:
    \(Name Resistance;~ Value~ \{ Term \{ [ -\{U\} *Conj[\{I\} ] /SquNorm[\{I\} ] ];~ In DomainC; Jacobian Vol; \}\)

    In 3D:
    \(\text{Resistance}; \, \text{Value} \{ \, \text{Term} \{ \, \left[ \{-U\} / \{I\} \right] \, \}; \, in~ Surf\_elec;~Jacobian~Vol \}\)

  5. Inductivity:
    \(Name Inductivity; Value \{ Term \{ [ ((-Im[\{U\} ]/Re[\{I\} ])/(2*Pi*UpdateFreq)) ];\)
    \(In DomainC; Jacobian Vol; \}\)

  6. Phase Shift:
    \(Name PhaseShift\_\_Unit\_deg Term \{ [ ((Atan[Im[\{Ub\}]/Re[\{Ub\}]])-(Atan[Im[Ib\}]/Re[\{Ib\}]]))*(180/Pi) ];In DomainB; Jacobian Vol; \}\)