Z-coordinate shift when using elliptical integrals?

  • Context: Graduate 
  • Thread starter Thread starter Helmholtzerton
  • Start date Start date
  • Tags Tags
    Integrals Shift
Click For Summary
SUMMARY

The discussion centers on simulating the DC magnetic field of a current loop using elliptical integrals, specifically addressing issues related to the z-coordinate shift. The user encountered incorrect results when relocating the current loop from the origin of the z-axis. After reviewing the mathematical expressions and results, the user identified an error in their code, which led to achieving symmetry in the simulation. The reference to the Biot-Savart integral and a related write-up further supports the discussion's focus on accurate integral evaluation.

PREREQUISITES
  • Understanding of elliptical integrals
  • Familiarity with the Biot-Savart law
  • Proficiency in mathematical coding, particularly in Python or MATLAB
  • Knowledge of magnetic field simulation techniques
NEXT STEPS
  • Study the implementation of elliptical integrals in Python using libraries like SciPy
  • Explore the Biot-Savart law in-depth for magnetic field calculations
  • Learn about debugging techniques in mathematical coding to prevent errors
  • Research advanced magnetic field simulation methods, including finite element analysis
USEFUL FOR

Physicists, electrical engineers, and computational scientists involved in magnetic field simulations and those seeking to understand the application of elliptical integrals in electromagnetic theory.

Helmholtzerton
Messages
30
Reaction score
4
Hello,

I'm wondering if my approach to a problem is correct as when I try to simulate the DC magnetic field of a current loop using elliptical integrals, I obtain results that appear incorrect when shifting the current loop's location from the origin of the z axis.

I have attached the mathematical expressions along with my results.
 

Attachments

  • Elliptical Integral Question.docx
    Elliptical Integral Question.docx
    937.6 KB · Views: 328
  • page 1.png
    page 1.png
    22.2 KB · Views: 536
  • page 2.png
    page 2.png
    28.8 KB · Views: 570
Physics news on Phys.org
Helmholtzerton said:
Hello,

I'm wondering if my approach to a problem is correct as when I try to simulate the DC magnetic field of a current loop using elliptical integrals, I obtain results that appear incorrect when shifting the current loop's location from the origin of the z axis.

I have attached the mathematical expressions along with my results.
I was unable to view the "link" on my computer. I think I wound up evaluating a similar integral in a write-up I did where I showed the Biot-Savart integral from some surface currents gives the exact same result as the pole method. I only evaluated the integral in the plane of the endface of a cylinder of semi-infinite length: See: https://www.overleaf.com/read/kdhnbkpypxfk
 
Thanks for the reply Charles,

There was an error in my code.

I have achieved symmetry.
 
  • Like
Likes   Reactions: Charles Link

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
970
  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
1K