SAMPLING METHODS AND PLOTTING OF MAGNETIC FIELD LINES——TAKING THE VISUALIZATION OF MAGNETIC FIELD LINES IN A CIRCULAR CURRENT AS AN EXAMPLE
SONG Litao;HE Jie;WANG Jiefang;
Abstract:
Magnetic field lines play a significant role in the analysis of many magnetic field-related problems. Previous literature on visualization methods of magnetic field lines has predominantly focused on “ensuring that the tangential direction at each point along a field line aligns with the direction of the local magnetic induction intensity vector”, while neglecting the physical requirement of “using line density to reflect magnetic field strength”. Based on Python programming language, taking the visualization method of magnetic field lines of the magnetic field of a circular current as an example, the sampling method and implementation process of making the drawn magnetic field lines meet the physical requirement of “the density of the lines reflects the strength of the magnetic field” are introduced in detail. This method features simple principles and strong general applicability.
Key Words: electromagnetism;magnetic field lines;visualization;Python
Foundation: 郑州大学数智化一流课程(2024ZZUYLKC017);郑州大学教改项目(2024ZZUJGXM053);; 河南工业大学智慧课程(2024zhkc-65)
Authors: SONG Litao;HE Jie;WANG Jiefang;
References:
- [1]赵凯华,陈熙谋.电磁学[M]. 4版.北京:高等教育出版社, 2018:205.ZHAO K H, CHEN X M. Electromagnetism[M]. 4th ed. Beijing:Higher Education Press, 2018:205.(in Chinese)
- [2]梁灿彬,秦光戎,梁竹健.电磁学[M].北京:人民教育出版社,1980:289.LIANG C B, QIN G R, LIANG Z J. Electromagnetism[M].Beijing:People's Education Press, 1980:289.(in Chinese)
- [3]贾瑞皋,薛庆忠.电磁学[M]. 2版.北京:高等教育出版社,2011:163.JIA R G, XUE Q Z. Electromagnetism[M]. 2nd ed. Beijing:Higher Education Press, 2011:163.(in Chinese)
- [4]李超,洪倩,杨雪冰,等.环形电流磁场分布及磁感线基于C++的数值模拟[J].大学物理实验, 2021, 34(3):28-30.LI C, HONG Q, YANG X B, et al. Numerical simulation of magnetic field distribution and magnetic field lines of ringlike current based on C++[J]. Physical Experiment of College, 2021, 34(3):28-30.(in Chinese)
- [5]江俊勤.轴对称磁矢势和磁感线[J].大学物理, 2018,37(1):30-36.JIANG J Q. Axial symmetry magnetic vector potential and magnetic induction lines[J]. College Physics, 2018, 37(1):30-36.(in Chinese)
- [6]郭智勇,刘得军.一种圆环电流空间磁场数值计算方法[J].科学技术与工程, 2013, 13(29):8715-8720.GUO Z Y, LIU D J. A numerical calculation method for spatial magnetic field of circular current[J]. Science Technology and Engineering, 2013, 13(29):8715-8720.(in Chinese)
- [7]董键.Mathematica与大学物理计算[M]. 2版.北京:清华大学出版社,2013:186-187.DONG J. Mathematica and university physics calculations[M]. 2nd ed. Beijing:Tsinghua University Press, 2013:186-187.(in Chinese)
- [8]贾秀敏.圆形线电流的磁场分布[J].河北科技大学学报,2006, 27(1):25-27.JIA X M. Magnetic field distribution of circular current[J].Journal of Hebei University of Science and Technology,2006, 27(1):25-27.(in Chinese)
- [9]张星辉.圆电流磁感线的分布及磁感应强度的函数表达式[J].大学物理, 2006, 25(1):32-37.ZHANG X H. The distribution of the magnetic line of force and the formula for magnetic induction induced by a circular current[J]. College Physics, 2006, 25(1):32-37.(in Chinese)
- [10]朱平.圆电流空间磁场分布[J].大学物理, 2005, 24(9):13-17.ZHU P. Spatial distribution of magnetic field generated by current loop[J]. College Physics, 2005, 24(9):13-17.(in Chinese)
- [11]代洪霞.圆形电流面内的磁场分布研究[J].渝西学院学报(自然科学版), 2005, 4(1):30-31.DAI H X. Study on magnetic induction distribution in round electric plan[J]. Journal of Western Chongqing University(Nature Sciences Edition), 2005, 4(1):30-31.(in Chinese)
- [12]李建青.用毕奥萨伐尔定律计算磁偶极子的磁场分布[J].物理与工程, 2004, 14(4):14-15,47.LI J Q. Calculating the magnetic field of a magnetic dipole by Biot-Savart's law[J]. Physics and Engineering, 2004,14(4):14-15, 47.(in Chinese)
- [13]吴崇试.对《圆形线电流的磁感应强度》一文的补正[J].大学物理, 2004, 23(4):63.WU C S. Corrections to the article“Magnetic induction of a circular current”[J]. College Physics, 2004, 23(4):63.(in Chinese)
- [14]于凤军.圆形面偶极层与圆电流的电磁场[J].大学物理,2001, 20(2):19-20,26.YU F J. Electromagnetic fields due to a circular dipole layer and a circular current[J]. College Physics, 2001, 20(2):19-20, 26.(in Chinese)
- [15]李海,张玉颖.圆形线电流的磁感应强度[J].大学物理,1999, 18(6):21-23.LI H, ZHANG Y Y. Magnetic induction of a circular current[J]. College Physics, 1999, 18(6):21-23.(in Chinese)
- [16]向裕民.圆环电流磁场的普遍分布[J].大学物理, 1999,18(1):14-17.XIANG Y M. Space distribution of magnetic field generated by a ringed current[J]. College Physics, 1999, 18(1):14-17.(in Chinese)
- [17]李永平,张帆.环形电流的磁场分布[J].济南大学学报,1998, 8(4):61-64.LI Y P, ZHANG F. The distribution of magnetic field of annular electric current[J]. Journal of Jinan University,1998, 8(4):61-64.(in Chinese)
- [18]彭中汉,蔡领.圆电流平面上的磁场分布[J].大学物理,1983,(11):12-16.PENG Z H, CAI L. Magnetic field distribution in the plane of a circular current[J]. College Physics, 1983,(11):12-16.(in Chinese)
- [19]赵凯华,陈熙谋.新概念物理教程·电磁学[M]. 2版.北京:高等教育出版社, 2006:127-128.ZHAO K H, CHEN X M. New conceptual physics course:Electromagnetism[M]. 2nd ed. Beijing:Higher Education Press, 2006:127-128.(in Chinese)
- SONG Litao
- HE Jie
- WANG Jiefang
- School of Physics and Laboratory of Zhongyuan Light
- Zhengzhou University
- School of Physics
- Henan University of Technology
- SONG Litao
- HE Jie
- WANG Jiefang
- School of Physics and Laboratory of Zhongyuan Light
- Zhengzhou University
- School of Physics
- Henan University of Technology