Energy density made by six rings of current in a box.

This code gives you the energy density made by six rings of current in a box in the XY plane.
286 Downloads
Updated 31 Oct 2013

View License

This code generates an energy density in the XY plane, made by six rings of current in a box. The plane is half of a meter around the ring structure centered at the dead center. The energy density is entirely driven by the magnetic field. Unfortunately, you need lots of contours (~1,000) to get a detailed map. You will also need to enter the amount of values between the labels (~hundreds). This can take multiple minutes (~10 min) to run. There are some ring values already entered into the program, these are:

- The rings have a radius of: 0.127 meters
- The rings are located: 0.1963 meters from the center
- The rings have: 20000 AmpTurns

You will also need to enter three values into the code, these are listed below:

Number of Cells?: 40
Number of Contours?: 1000
Value between labels?: 300

Cite As

Matthew Moynihan (2024). Energy density made by six rings of current in a box. (https://www.mathworks.com/matlabcentral/fileexchange/44146-energy-density-made-by-six-rings-of-current-in-a-box), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on General Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0