Calculate Magnetic field using Ampère's law

Click For Summary

Homework Help Overview

The discussion revolves around calculating the magnetic field using Ampère's law, specifically in the context of a distribution of electric currents. The original poster is tasked with choosing a current distribution that allows for straightforward calculation of the magnetic field.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand how to apply Ampère's law to calculate the magnetic field, expressing uncertainty about the equations involved. Some participants provide an example involving a toroid and discuss the application of Ampère's law, including the derivation of the magnetic field in terms of the current and geometry. Others raise questions about representing the magnetic field in Octave and varying parameters to explore different conditions.

Discussion Status

Participants are actively exploring the application of Ampère's law and discussing the implications of symmetry in the calculations. There is an exchange of ideas regarding the representation of the magnetic field in Octave, indicating a productive direction in the discussion.

Contextual Notes

The original poster notes some vagueness in the homework statement and expresses a lack of familiarity with the topic, which may influence the discussion's focus on clarifying concepts and approaches.

Miss_Fire
Messages
4
Reaction score
0

Homework Statement


I have an assignement in school. The statement is: chose a distribution of electric curents for which you can calculate easily the magnetic field (for example, using Ampère's law). Describe your distribution and explain the way you calculate the magnetic field.

Homework Equations


integrals.png

The Attempt at a Solution


I think that I have to find H. For example, if i chose k=1 (one electric current), and a value for I_1 then i'll have to calculate H from the first integral, but I don't know how. This is just my opinion, I'm not even sure if those are the right equations to solve this because the statement seems a little bit vague to me and I'm unfamiliar with this topic.[/B]
 
Physics news on Phys.org
Miss_Fire said:
i'll have to calculate H from the first integral, but I don't know how.
An example: Say you have some toroid:
images?q=tbn:ANd9GcTxqYwI2T0HTZMq9jY0RBHgnehbJc_ooT4gPZkpQjg45fROqR1U.jpg

Amperes law states that if you choose some (closed) circulation path ( blue dotted circle ), the mean value of H can be calculated from:

circulation H⋅ds = N*I ( s is length of the path, N is the number of turns ( 18 ) ). N*I is the amount of current that passes through an area, surrounded by the circulation path. This includes separated currents passing in separated coils/wires. So if you choose r > b ( or r < a ), H will be zero, because the summed amount of current through that surrounded area will be zero.

Here H is constant (symmetrical reasons), so it could be written: H*∫ ds = N*I → H * 2πr = N*I → H = (N*I) / 2πr

B = μH → B = μ(N*I) / 2πr

Amperes law is also used to calculate mean H-fields within transformers, solenoids, etc. If a H-field in an exact location is to be calculated, Biot-Savart must be used. But Amperes law is very efficient, calculating cases with some symmetry included.
 
Last edited:
  • Like
Likes   Reactions: Miss_Fire
Hesch said:
An example: Say you have some toroid:
images?q=tbn:ANd9GcTxqYwI2T0HTZMq9jY0RBHgnehbJc_ooT4gPZkpQjg45fROqR1U.jpg

Amperes law states that if you choose some (closed) circulation path ( blue dotted circle ), the mean value of H can be calculated from:

circulation H⋅ds = N*I ( s is length of the path, N is the number of turns ( 18 ) ). N*I is the amount of current that passes through an area, surrounded by the circulation path. This includes separated currents passing in separated coils/wires. So if you choose r > b ( or r < a ), H will be zero, because the summed amount of current through that surrounded area will be zero.

Here H is constant (symmetrical reasons), so it could be written: H*∫ ds = N*I → H * 2πr = N*I → H = (N*I) / 2πr

B = μH → B = μ(N*I) / 2πr

Amperes law is also used to calculate mean H-fields within transformers, solenoids, etc. If a H-field in an exact location is to be calculated, Biot-Savart must be used. But Amperes law is very efficient, calculating cases with some symmetry included.

Thank you for your explanation! I have one more question: I need to represent this magnetic field in Octave. We generally use the quiver function: quiver(X,Y,U,V) draws vectors at each pair of elements in X and Y. If X and Y are vectors, length(X)=n and length(Y)=m, where [m,n]=size(U)=size(V). The vector X corresponds to the columns of U and V, and vector Y corresponds to the rows of U and V. According to your formula (B = μ(N*I) / 2πr), I need somehow to vary the value of some parameters in RHS of the equation, so I can calculate the value of B in different conditions (I suppose that the radius or intensity or both of them should be varied).
 
Miss_Fire said:
Thank you for your explanation! I have one more question: I need to represent this magnetic field in Octave. We generally use the quiver function: quiver(X,Y,U,V) draws vectors at each pair of elements in X and Y. If X and Y are vectors, length(X)=n and length(Y)=m, where [m,n]=size(U)=size(V). The vector X corresponds to the columns of U and V, and vector Y corresponds to the rows of U and V. According to your formula (B = μ(N*I) / 2πr), I need somehow to vary the value of some parameters in RHS of the equation, so I can calculate the value of B in different conditions (I suppose that the radius or intensity or both of them should be varied).

PS: we use the linspace function to get equidistant points in an interval or the meshgrid function.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
1K
Replies
10
Views
2K
Replies
6
Views
1K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K