What is the magnetic field off-axis in the y direction?

  • #1

Attachments

Answers and Replies

  • #2
Ibix
Science Advisor
Insights Author
2020 Award
7,396
6,481
What formula did you try to implement?

Have you tried calculating manually (elliptic integral tables are available for download) to see if the implementation is correct?

If your diagram is correctly labelled, ##B_r^2=B_y^2+B_z^2##, so I don't understand why you regard ##B_r<B_x## as a problem anyway.
 
  • Like
Likes Javier Lopez
  • #3
Ok, I understand, you say that Br is not the diagonal but the vertical axel, then I can test using on axis formula, also the elliptics.
 
Last edited:
  • #4
Ibix
Science Advisor
Insights Author
2020 Award
7,396
6,481
Ok, I understand, you say that Br is not the diagonal but the vertical axle, then I can test using on axis formula, also the elliptics.
##B_r## is radial, which happens to be vertical in the diagram, yes.
 
  • #5
Thank you.
I tested it using axial formula and was OK, but I found an error in the c++ program: if r<0 then the loop not finalizes, so I wote an "if" at the begin that if r<0 r=-r and a flag is activated to make Bz=-Bz at the end
 
  • #6
I tested also making a long radii loop and measuring close to the wire (that is the worse case) to check again field close to a long wire.
I stated at the result an incredible accuracy:
At 1mm of a long wire it is expected to have 2.2 Teslas
Loop Radii: 5 meters
At x,r= 5.001,0 Bx=-2.19766907587031
At x,r= 5.0, 0.001 gives Br = 2.19999969
 

Related Threads on What is the magnetic field off-axis in the y direction?

Replies
2
Views
2K
Replies
1
Views
7K
Replies
6
Views
9K
Replies
18
Views
12K
Replies
6
Views
4K
Top