Current loop + perpendicular current : magnetic field?

Click For Summary
SUMMARY

The discussion focuses on calculating the superposition of magnetic fields in a tokamak setup, specifically involving a current loop and a perpendicular current. The magnetic field due to the current loop was initially computed using elliptic integrals and the ellipke function in MATLAB. The challenge arises when the perpendicular current is not aligned perpendicularly and is located off-center, requiring transformation of coordinates. The solution involves converting cylindrical coordinates to rectangular coordinates, applying a 2D rotation matrix, and then converting back to cylindrical coordinates to accurately express the new magnetic field.

PREREQUISITES
  • Understanding of magnetic fields and current loops
  • Familiarity with cylindrical and rectangular coordinate systems
  • Proficiency in MATLAB, specifically using the ellipke function
  • Knowledge of 2D rotation matrices
NEXT STEPS
  • Research the application of elliptic integrals in magnetic field calculations
  • Learn about coordinate transformations between cylindrical and rectangular systems
  • Explore advanced techniques for superimposing magnetic fields in plasma physics
  • Study the implementation of MATLAB scripts for plotting magnetic fields
USEFUL FOR

This discussion is beneficial for physics students, researchers in plasma physics, and engineers working on tokamak designs, particularly those involved in magnetic field analysis and simulation.

el_greco
Messages
3
Reaction score
0

Homework Statement


Hi, it's my first post and I'm not sure whether it's the right category to post anyway. Please help me though :) I have to "construct" theoretically a superposition of magnetic fields for the introduction of my tokamak-related diploma thesis. First task was to find the magnetic field due to a current loop, which was done with elliptic integrals and the ellipke function in matlab. Then I had to superimpose a perpendicular current at the centre of the loop and plot the total magnetic field. That was easy, since I just had to add a new quantity to the already existing Br part of the current loop imposed field.

My problem now is what happens when the perp. current is not perp. any more, but crosses the plane of the loop at an angle theta. What's more, it's not even in the centre anymore, but at some other part of the diameter, along the r axis of the cylindrical system.

What is the specific change at the coordinates' system I have to apply so as to express the new magnetic field in the old coordinates, Br and Bz of the current loop (which is still there) ? Eventually I'll have to add this to my plot...

I'd appreciate any help, and please tell me whether you would like to see the m-files etc...

Thank u!
 
Physics news on Phys.org
You need to tranform between cylindrical co-ordinates that are tilted relative to each other. Since the rotation is about a single rectangular axis, you can simply use the 2-d rotation matrix to achieve this. But this is only good for rectangular co-ordinates, so you'd have to convert from cylindrical to rectangular, then rotate the axes, then convert back to cylindrical and add to the field from the circular loop.

There's probably a cleverer way to do this, but the above should work.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
4K