File:VFPt superconductor ball B-field.svg

Summary

Description
English: Deformation of a previously homogeneous magnetic field around a superconducting ball.
The magnetic field is ejected by the superconductor (Meissner effect).
Date
Source Own work
Author Geek3
Other versions
SVG development
InfoField
Source code
InfoField

Python code

# paste this code at the end of VectorFieldPlot 1.1
doc = FieldplotDocument('VFPt_superconductor_ball_B-field', width=600, height=600, commons=True)
field_direction = [0.0, -1.0]
ball_radius = 1.2
field = Field({'homogeneous':[field_direction],
    'dipoles':[[0, 0, -2*pi*ball_radius**3*field_direction[0], -2*pi*ball_radius**3*field_direction[1]]]})
n = 20
for i in range(n):
    a = -3 + 6 * (0.5 + i) / n
    line = FieldLine(field, [a, 6], maxr=12, pass_dipoles=1)
    doc.draw_line(line, arrows_style={'min_arrows':2, 'max_arrows':2, 'offsets':4 * [0.3]})
# draw the superconducting ball
ball = doc.draw_object('g', {'id':'metal_ball'})
grad = doc.draw_object('radialGradient', {'id':'metal_spot', 'cx':'0.53', 'cy':'0.54',
    'r':'0.55', 'fx':'0.65', 'fy':'0.7', 'gradientUnits':'objectBoundingBox'}, group=ball)
for col, of in (('#fff', 0), ('#e7e7e7', 0.15), ('#ddd', 0.25), ('#aaa', 0.7), ('#888', 0.9), ('#666', 1)):
    doc.draw_object('stop', {'offset':of, 'stop-color':col}, group=grad)
doc.draw_object('circle', {'cx':0, 'cy':0, 'r':str(ball_radius),
    'style':'fill:url(#metal_spot); stroke:#000; stroke-width:0.02'}, group=ball)
doc.write()

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
Category:License migration redundant#VFPt%20superconductor%20ball%20B-field.svgCategory:GFDL#VFPt%20superconductor%20ball%20B-field.svg
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported 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.
Category:CC-BY-3.0#VFPt%20superconductor%20ball%20B-field.svg
You may select the license of your choice.
Category:Self-published work Category:Field lines around conducting surfaces Category:Meissner effect Category:Photos by User:Geek3 Category:Diagrams of fluid flow past spheres Category:VFPt electric and magnetic fields (image set) Category:Magnetic fields around conductors
Category:CC-BY-3.0 Category:Diagrams of fluid flow past spheres Category:Field lines around conducting surfaces Category:GFDL Category:License migration redundant Category:Magnetic fields around conductors Category:Meissner effect Category:Photos by User:Geek3 Category:Self-published work Category:VFPt electric and magnetic fields (image set) Category:Valid SVG created with VectorFieldPlot code