Skip to content

This is a simply code to calculate and show the 3d magnetic field genereated by circular and/or straight wire with constant current flowing inside. The basic idea is to apply Biot-Savart Law

Notifications You must be signed in to change notification settings

clahban/3D_B_field_biot_savart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D_B_field_biot_savart

The bacis idea is to apply the Biot-Savart's law.

  • Note that here we neglect the volume of the coils.
  • This calculation needs numpy and the visulisation needs mayavi.
  • For now, this code could only deal with circular coils and/or straight wires. And the normal direction of the circular coils should be parallel to either of the three axes (x,y,z). Further modification will be applied to any direction.
  • It should be simple to modify to get the B field generated by a arc coil.

About

This is a simply code to calculate and show the 3d magnetic field genereated by circular and/or straight wire with constant current flowing inside. The basic idea is to apply Biot-Savart Law

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%