- 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.
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dr-yangyangzhang/3D_B_field_biot_savart
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published