Why does my off-axis solenoid calculation give wrong values?

  • Thread starter Thread starter eigenstaytes
  • Start date Start date
  • Tags Tags
    Modeling Solenoid
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
eigenstaytes
Messages
5
Reaction score
0
What would be the best method to model a solenoid? I tried writing a program that calculated the off axis elements of the solenoid but the value came out wrong. Any idea?
 
Engineering news on Phys.org
What do you mean by "off axis elements"?
 
I drew up a quick diagram to show what I mean.

7WEA4Ek.jpg

The on-axis elements (along the Z-axis which is located along the center of the solenoid) can be calculated via some method. Ampere's law possibly? However, what would I have to do to calculate the values which are not along the Z-axis?