NoahH/CreateCoil

(1.0.0) current version: 1.1.2 »

Create simple, discrete coils using current-carrying loops, saddles or ellipses to generate magnetic fields

Contributed by: Noah Hardwicke, Peter J. Hobson, Michael Packer

Create simple coils made from cylindrical loop, saddle, or ellipse-based primitives, optimised to generate a target magnetic field harmonic. Visualise and examine the coils and the magnetic fields they generate.

CreateCoil implements the theoretical model derived in Designing optimal loop, saddle, and ellipse-based magnetic coils by spherical harmonic mapping.

We will soon be adding the ability to export coil data and field data, so check back for updates!

Installation Instructions

To install this paclet in your Wolfram Language environment, evaluate this code:
PacletInstall["NoahH/CreateCoil"]


To load the code after installation, evaluate this code:
Needs["NoahH`CreateCoil`"]

Details

Coils are built from loop, saddle, or ellipse-based primitives. They are optimised to generate a desired magnetic field harmonic of order n and degree m, denoted B"n, m".
Loop primitives are pairs of axially-separated loops, which generate zonal field harmonics of total azimuthal symmetry (B"n, 0"). The axially-separated pairs carry the same current if n is odd and opposite current if n is even.
Saddle and ellipse-based primitives both generate tesseral field harmonics. They contain a number of axially-separated and azimuthally-periodic saddles or ellipses, whose periodicity matches that of the generated field harmonic. The axially separated sets carry the same current if n+m is odd and opposite current if n+m is even.

Paclet Guide

Examples

Publisher

Noah Hardwicke

Compatibility

Wolfram Language Version 13.0

Version History

  • 1.1.2 – 25 September 2023
  • 1.1.1 – 19 September 2023
  • 1.1 – 19 September 2023
  • 1.0.2 – 28 June 2023
  • 1.0.1 – 28 June 2023
  • 1.0.0 – 28 June 2023

License Information

Creative Commons Attribution Non Commercial 3.0 Unported

Paclet Source

Source Metadata