Fichier:VFPt flat magnets gap.svg

De testwiki
Aller à la navigation Aller à la recherche
    Fichier d’origine (Fichier SVG, nominalement de 800 × 800 pixels, taille : 66 kio)

    Ce fichier provient de Wikimedia Commons et peut être utilisé par d'autres projets. Sa description sur sa page de description est affichée ci-dessous.

    Description

    Description
    English: Drawing of two homogeneously magnetized flat cylindrical magnets with exactly computed magnetic field lines for the case of vanishing susceptibility (μr≈1). 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.
    Date
    Source Travail personnel
    Auteur ou autrice Geek3
    Autres versions field strength potential potential
    SVG information
    InfoField
     Le code de ce fichier SVG est valide.
     Cette représentation graphique a été créée avec VectorFieldPlot
     Ce fichier SVG utilise du texte encapsulé.
    Code source
    InfoField

    Python code

    Python VectorFieldPlot code
    # paste this code at the end of VectorFieldPlot 1.10
    # https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot
    doc = FieldplotDocument('VFPt_flat_magnets_gap', commons=True,
        width=800, height=800)
    field = Field({'coils':[[0, 1, pi/2, 2, 0.5 ,1],
                            [0, -1, pi/2, 2, 0.5 ,1]]})
    
    doc.draw_magnets(field)
    
    # distribute field lines proportionally to the field strength at y=0
    x0 = op.brentq(lambda x: field.F([x, 0.])[1], 0, 3)
    Fsum = ig.quad(lambda x: field.F([x, 0.])[1], -x0, x0)[0]
    nlines = 22
    xstart = [op.brentq(lambda xs: ig.quad(lambda x: field.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(field, [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(field, [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})
    
    doc.write()
    

    Conditions d’utilisation

    Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous la licence suivante :
    w:fr:Creative Commons
    paternité partage à l’identique
    Vous êtes libre :
    • de partager – de copier, distribuer et transmettre cette œuvre
    • d’adapter – de modifier cette œuvre
    Sous les conditions suivantes :
    • paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
    • partage à l’identique – Si vous modifiez, transformez ou vous basez sur cet élément, vous devez distribuer votre contribution sous une license identique ou compatible à celle de l’original.

    Légendes

    Ajoutez en une ligne la description de ce que représente ce fichier

    Éléments décrits dans ce fichier

    dépeint

    image/svg+xml

    67 572 octet

    ba57f5cc097ab7c4fd8895199f39a59b359080f8

    Historique du fichier

    Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

    Date et heureVignetteDimensionsUtilisateurCommentaire
    actuel16 décembre 2018 à 18:25Vignette pour la version du 16 décembre 2018 à 18:25800 × 800 (66 kio)wikimediacommons>Geek3User created page with UploadWizard

    Aucune page n’utilise ce fichier.