Magnetic field calculations of cylindrical arc magnets and coils
This repository features a Mathematica notebook that is supplementary material for the research article ‘The Magnetic Field from Cylindrical Arc Coils and Magnets: A Compendium with New Analytic Solutions for Radial Magnetisation and Azimuthal Current’. The notebook contains all analytic solutions from the article in an electronic form. The purpose is to aid reproducibility of equations (in the unfortunate event of a typographical error) and provide validation test cases for the reader. The reader should have confidence in the results before adopting them. The notebook requires a Nomenclature package, that is consistent with the research article notation (found in the Appendix).
Basic wrapper functions for the analytic solutions are provided to tabulate results at specific field points, along with a sanity check comparison to the original numeric integral. All tabulated results were compared to an FEA model within the research article. Reviewers of the research article were interested in a basic computational benchmark of the analytic solution results compared to the numerical integral solution and FEA. Partial code to this effect is included. Further to the tables, some example plots are provided to visualise: the geometry; the location of the chosen field points; the magnitude and direction of the field passing through the geometry.