-
Notifications
You must be signed in to change notification settings - Fork 364
Description
Hi all,
While trying to implement an inductance calculation in 3D magnetodynamics (WhitneyAVSolver), I found that the flux linkage calculated by the "Calculate Flux Linkage" option of MagnetoDynamicsCalcFields is incorrect when the coil current is not 1 A. Following the calculation in CalcFields.F90, it appears that the flux linkage per component is calculated as
This appears to be missing a division by the coil current, which is supported by the observation that the units have an extra ampere (SaveScalars by the actual coil current, the resulting number seems to be the correct flux linkage.
I have attached a MWE here, calculating the (incorrect) flux linkage for an E-shaped powder core inductor versus current: flux_linkage_example.zip