파일:VFPt flat magnets gap potential+contour.svg

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (SVG 파일, 실제 크기 800 × 800 픽셀, 파일 크기: 211 KB)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명
    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) together with uniformely spaced equipotential lines. Note that the field lines follow the gradient of the scalar potential.
    날짜
    출처 자작
    저자 Geek3
    다른 버전 VFPt flat magnets gap potential.svg, VFPt flat magnets gap absB.svg
    SVG 발전
    InfoField
     이 SVG 파일의 소스 코드 문법이 올바릅니다.
     이 벡터 그림은 VectorFieldPlot(으)로 제작되었습니다.
    소스 코드
    InfoField

    Python code

    # paste this code at the end of VectorFieldPlot 2.4
    # https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot
    doc = FieldplotDocument('VFPt_flat_magnets_gap_potential+contour', 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)
            
    U0 = Hfield.V([0., 1.5 + 0.02])
    doc.draw_scalar_field(func=Hfield.V, cmap=doc.cmap_AqYlFs, vmin=-U0, vmax=U0)
    U1 = Hfield.V([0., 1.5])
    doc.draw_contours(func=Hfield.V, levels=sc.linspace(-U1, U1, 11)[1:-1])
    
    nlines = 22
    R0 = op.brentq(lambda x: Bfield.F([x, 0.])[1], 0, 3)
    Sp = Startpath(Bfield, lambda t: sc.array([-R0 + 2. * R0 * t, 0.]))
    xstart = [Sp.startpos((0.2+i) / (nlines-0.6))[0] for i in range(nlines)]
    
    cond = lambda xy: fabs(xy[1]) < 1e-2 or fabs(xy[1]) > 1.4
    
    for iline, x in enumerate(xstart):
        line = FieldLine(Bfield, [x, 0.], directions='both', maxr=12)
        doc.draw_line(line, linewidth=2.4, arrows_style={'potential':Hfield.V,
            'at_potentials':[-0.3*U1, 0., 0.3*U1], 'condition_func':cond})
    
    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, linewidth=2.4, arrows_style={'dist':2,
            'offsets':{'start':1, 'end':0} })
    
    doc.write()
    

    라이선스

    나는 아래 작품의 저작권자로서, 이 저작물을 다음과 같은 라이선스로 배포합니다:
    w:ko:크리에이티브 커먼즈
    저작자표시 동일조건변경허락
    이용자는 다음의 권리를 갖습니다:
    • 공유 및 이용 – 저작물의 복제, 배포, 전시, 공연 및 공중송신
    • 개작 – 저작물의 개작, 수정, 2차적저작물 창작
    다음과 같은 조건을 따라야 합니다:
    • 저작자표시 – 적절한 저작자 표시를 제공하고, 라이선스에 대한 링크를 제공하고, 변경사항이 있는지를 표시해야 합니다. 당신은 합리적인 방식으로 표시할 수 있지만, 어떤 방식으로든 사용권 허가자가 당신 또는 당신의 사용을 지지하는 방식으로 표시할 수 없습니다.
    • 동일조건변경허락 – 만약 당신이 이 저작물을 개작 또는 변형하거나 이 저작물을 기반으로 제작하는 경우, 당신은 당신의 기여물을 원저작물과 동일하거나 호환 가능한 라이선스에 따라 배포하여야 합니다.

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

    이 파일에 묘사된 항목

    다음을 묘사함

    image/svg+xml

    216,019 바이트

    9cc094267a0e50fc8fcda563a5868483a8c14e32

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2019년 10월 3일 (목) 10:192019년 10월 3일 (목) 10:19 판의 섬네일800 × 800 (211 KB)wikimediacommons>Geek3User created page with UploadWizard

    이 파일을 사용하는 문서가 없습니다.