/Electromagnetic_Fields_B_2020

Visualisation and analysis of electromagnetic fields.

Primary LanguagePythonMIT LicenseMIT

Electromagnetic_Fields_B_2020

Exercises for Electromagnetic Fields B course, 5th Semester 2020 of the Electrical and Computer Engineering School at the National Technical University of Athens.

The aim of these exercises was the analysis and visualisation of various electromagnetic fields, as well as the estimation of current densities using the method of moments.

I used python with matplotlib and numpy.


Problem set 1, Exercise 7: Spherical conductor with cavity, with a line charge inside the cavity

Code: elefield.py

Screenshot (1342)

Screenshot from 2020-11-14 17-14-00 Screenshot from 2020-11-14 17-32-53 Screenshot from 2020-11-14 17-18-41 Screenshot from 2020-11-11 19-02-56


Problem set 1, Exercise 8: Charge loop

Code: fourrings.py

Screenshot (1343)

Screenshot from 2020-11-14 17-39-47 Screenshot from 2020-11-14 17-41-12 Screenshot from 2020-11-14 18-11-27


Problem set 2, Exercise 7: Line charge, dielectric plane

Code: dielrod.py, moments1.py

Screenshot (1344)

Screenshot from 2020-12-03 22-35-05 Screenshot from 2020-12-03 22-34-53 Screenshot from 2020-12-03 22-34-46 Screenshot from 2020-12-03 22-35-02 Screenshot from 2020-12-03 22-34-50 Screenshot from 2020-12-03 22-34-38 Screenshot from 2020-12-03 22-33-09 Screenshot from 2020-12-13 19-32-08


Problem set 2, Exercise 8: Pi-shaped conductor underground

Code: pirod.py

Screenshot (1345)

Screenshot from 2020-12-15 11-17-37 Screenshot from 2020-12-15 11-13-18 Screenshot from 2020-12-15 11-13-52 Screenshot from 2020-12-14 17-32-57


Problem set 3, Exercise 8: Current loop

Code: magnrings.py

Screenshot (1346)

ex8quiver1 ex8A1 ex8A2 ex8H ex8K1 ex8K2


Problem set 3, Exercise 9: Two parallel current loops

Code: magn2.py

Screenshot (1347)

Screenshot from 2021-01-14 21-59-38 - Copy (2) Screenshot from 2021-01-14 21-59-38 - Copy Screenshot from 2021-01-14 21-59-38 Screenshot from 2021-01-14 22-00-03 - Copy (2) Screenshot from 2021-01-14 22-00-03 - Copy


Problem set 3, Exercise 10: Cylindrical magnet

Code: magndisk.py

Screenshot (1348)

Screenshot from 2021-01-16 20-02-55 - Copy Screenshot from 2021-01-16 20-02-55 Screenshot from 2021-01-16 20-15-46 - Copy Screenshot from 2021-01-16 20-15-46