A Wolfram Language (Mathematica) package for creating simple, discrete coils using current-carrying loops, saddles, or ellipses to generate magnetic fields.
To install the paclet in Mathematica 13.0 or later, simply evaluate (requires internet connection):
PacletInstall["NoahH/CreateCoil"]
Once installed, the paclet can be loaded by evaluating:
Needs["NoahH`CreateCoil`"]
Compatibility is not guaranteed for earlier versions of Mathematica, but you may download Kernel/CreateCoil.wl and run Get
on the file to load the package.
Paper: Designing optimal loop, saddle, and ellipse-based magnetic coils by spherical harmonic mapping
CreateCoil implements the theoretical model derived in Designing optimal loop, saddle, and ellipse-based magnetic coils by spherical harmonic mapping.
Examples from the paper can be found in Examples/CreateCoilExamples.nb
Licensed under Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)