Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

CreateCoil

Guides

  • Creating Coils

Tech Notes

  • Physics of Creating Simple, Discrete Coils

Symbols

  • DesToErr
  • EllipseCoilPlot3D
  • EllipseCoilPlot
  • EllipseFieldPlot2D
  • EllipseFieldPlot
  • FindEllipseCoil
  • FindLoopCoil
  • FindSaddleCoilAxial
  • FindSaddleCoilAzimuthal
  • FindSaddleCoil
  • HarmonicFieldPlot
  • LoopCoilPlot3D
  • LoopCoilPlot
  • LoopFieldPlot2D
  • LoopFieldPlot
  • SaddleCoilPlot3D
  • SaddleCoilPlot
  • SaddleFieldPlot2D
  • SaddleFieldPlot
NoahH`CreateCoil`
LoopFieldPlot2D
​
LoopFieldPlot2D
[{
χ
c1
,
χ
c2
,…},{
i
χ1
,
i
χ2
,…},
ρ
c
,n]
plots each of the
B
x
,
B
y
and
B
z
field components over the
x
z
-plane, generated by the loop-based coil with axial separations
χ
c1
,
χ
c2
,
…
, turn ratios
i
χ1
,
i
χ2
,
…
, radius
ρ
c
and target field harmonic of order
n
.
​
​
LoopFieldPlot2D
[{Coilχc[1]
χ
c1
,Coilχc[2]
χ
c2
,…},…]
is an alternative way of specifying the axial separations
χ
c1
,
χ
c2
,
…
.
​
Details and Options

Examples  
(16)
Basic Examples  
(3)
Plot each of the
B
x
,
B
y
and
B
z
field components over the
x
z
-plane, generated by the loop-based coil optimised for the
n=1
field harmonic, and with a radius of 0.1 metres:
In[1]:=
LoopFieldPlot2D
[{0.362,0.549,0.697},{1,-2,2},0.1,1]
Out[1]=
​
Directly use the output of
FindLoopCoil
:
In[1]:=
sols=
FindLoopCoil
{1,-2,2},2,0.1,
3
2,"CoilsReturned"3
Out[1]=
{{Coilχc[1]0.554372,Coilχc[2]0.674766,Coilχc[3]0.866025,DesToErr34.5198},{Coilχc[1]0.5531,Coilχc[2]0.673608,Coilχc[3]0.865142,DesToErr33.5852},{Coilχc[1]0.552599,Coilχc[2]0.673065,Coilχc[3]0.864629,DesToErr33.2277}}
In[2]:=
LoopFieldPlot2D
[First[sols],{1,-2,2},0.1,2,ImageSize250]
Out[2]=
Inspect the center of the field:
In[3]:=
LoopFieldPlot2D
[First[sols],{1,-2,2},0.1,2,ImageSize250,PlotRange{{-0.06,0.06},{-0.05,0.05}}]
Out[3]=
Show where the coil field deviates from the desired field harmonic by 0.1%, 1% and 10%, using custom styling:
​
Open the sections below for more options and examples:

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com