File:VFPt flat magnets gap potential.svg
Original file (SVG file, nominally 800 × 800 pixels, file size: 183 KB)
Captions
Summary
[edit]DescriptionVFPt flat magnets gap potential.svg |
English: Drawing of two homogeneously magnetized flat cylindrical magnets with exactly computed magnetic field lines. The two magnets are aligned on top of each other along the cylinder axis and with a narrow gap in-between. This configuration is often used as a dipole magnet to create a strong and roughly uniform magnetic field in the gap, for instance in cyclotrons. The magnetic scalar potential 𝜓 is shown in the background from positive (fuchsia) through zero (yellow) to negative (aqua). Note that the field lines follow the gradient of the scalar potential. |
||
Date | |||
Source | Own work | ||
Author | Geek3 | ||
Other versions | |||
SVG development InfoField | This W3C-invalid vector image was created with Inkscape, or with something else.
| ||
Source code InfoField | SVG code# paste this code at the end of VectorFieldPlot 2.2
# https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot
doc = FieldplotDocument('VFPt_flat_magnets_gap_potential', commons=True,
width=800, height=800)
Bfield = Field({'coils':[ [0, 1, pi/2, 2, 0.5 ,1],
[0, -1, pi/2, 2, 0.5 ,1] ]})
Hfield = Field([ ['charged_disc', {'x0':-2, 'y0':-1.5, 'x1':2, 'y1':-1.5, 'Q':-1}],
['charged_disc', {'x0':-2, 'y0':-0.5, 'x1':2, 'y1':-0.5, 'Q':1}],
['charged_disc', {'x0':-2, 'y0':0.5, 'x1':2, 'y1':0.5, 'Q':-1}],
['charged_disc', {'x0':-2, 'y0':1.5, 'x1':2, 'y1':1.5, 'Q':1}] ])
doc.draw_magnets(Bfield)
# distribute field lines proportionally to the field strength at y=0
x0 = op.brentq(lambda x: Bfield.F([x, 0.])[1], 0, 3)
Fsum = ig.quad(lambda x: Bfield.F([x, 0.])[1], -x0, x0)[0]
nlines = 22
xstart = [op.brentq(lambda xs: ig.quad(lambda x: Bfield.F([x, 0.])[1],
-x0, xs)[0] / Fsum - (0.2+i)/(nlines-0.6), -x0, x0) for i in range(nlines)]
for i, x in enumerate(xstart):
line = FieldLine(Bfield, [x, 0.], directions='both', maxr=12)
if i < 2 or nlines - i <= 2:
min_arrows = 4
else:
min_arrows = 3
doc.draw_line(line, arrows_style={'dist':3, 'min_arrows':min_arrows,
'offsets':[1, 0.5, 0.5, 0], 'scale':1.3})
for x0, y0 in ((-1, -1), (-1, 1), (1, -1), (1, 1)):
line = FieldLine(Bfield, [2.3 * x0, 1. * y0], directions='both', maxr=5)
doc.draw_line(line, arrows_style={'dist':2,
'offsets':[1, 0.5, 0.5, 0], 'scale':1.3})
U0 = Hfield.V([0., 1.5 + 0.02])
doc.draw_scalar_field(func=Hfield.V, cmap=doc.cmap_AqYlFs, vmin=-U0, vmax=U0)
doc.write()
|
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:24, 21 September 2019 | 800 × 800 (183 KB) | Geek3 (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 5 pages use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | VFPt_flat_magnets_gap_potential |
---|---|
Image title | VFPt_flat_magnets_gap_potential
created with VectorFieldPlot 2.2 https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot about: https://commons.wikimedia.org/wiki/File:VFPt_flat_magnets_gap_potential.svg rights: Creative Commons Attribution ShareAlike 4.0 |
Width | 800 |
Height | 800 |