File:VFPt cylindermagnet Babs-only.svg

Summary

Description
English: Magnetic field of an ideal cylindrical magnet for the case of vanishing susceptibility () with its axis of symmetry inside the image plane. The field strength is visualized using a background color map. The strongest fields are concentrated around the magnet's poles.
Date
Source Own work
Author Geek3
SVG development
InfoField
Source code
InfoField

Python code

Python VectorFieldPlot code
# paste this code at the end of VectorFieldPlot 3.1
# https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot
doc = FieldplotDocument('VFPt_cylindermagnet_Babs-only', commons=True,
    width=600, height=600)

R = 0.6
Lhalf = 1.0
field = Field([['coil', {'x':0, 'y':0, 'phi':pi/2, 'R':R, 'Lhalf':Lhalf, 'I':1}]])
doc.draw_magnets(field)

doc.draw_scalar_field(func=lambda xy: vabs(field.F(xy)),
    cmap=doc.cmap_WtGnBu, vmin=0, vmax=vabs(field.F([0, Lhalf])))

doc.write()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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.
Category:CC-BY-SA-4.0#VFPt%20cylindermagnet%20Babs-only.svg
Category:Self-published work Category:Bar magnets Category:Magnetic fields Category:Photos by User:Geek3 Category:Field lines around magnets (image set)
Category:Bar magnets Category:CC-BY-SA-4.0 Category:Field lines around magnets (image set) Category:Magnetic fields Category:Photos by User:Geek3 Category:Self-published work Category:Valid SVG created with VectorFieldPlot code