Skin effect derivation and plotting in Matlab

Click For Summary

Discussion Overview

The discussion revolves around the derivation and plotting of the current distribution in a long cylindrical wire, specifically addressing the skin effect in the context of electromagnetic theory. Participants explore the mathematical formulation, the implications of plotting the current density, and the significance of phase versus magnitude in the analysis.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the expression for current density J(r) and describes their attempt to plot it in Matlab, noting discrepancies with expected results.
  • Another participant suggests that the issue may stem from the plotting range and the choice to display only the real part of the current density.
  • A participant acknowledges a conceptual misunderstanding regarding the use of real versus magnitude of the current density, seeking clarification on the significance of this distinction.
  • Discussion arises about the importance of magnitude for understanding current flow, while also noting that phase information is relevant for calculating impedance.
  • One participant reflects on the implications of phase variations in current density across different points in the wire, highlighting the complexity introduced by time dependence.

Areas of Agreement / Disagreement

Participants express differing views on the importance of phase versus magnitude in the context of current density, indicating that there is no consensus on which aspect is more critical for specific applications.

Contextual Notes

Participants discuss the mathematical formulation and its implications but do not resolve the discrepancies between plotted results and expected outcomes. The discussion includes assumptions about the behavior of current density and its dependence on various parameters.

Who May Find This Useful

This discussion may be useful for individuals interested in electromagnetic theory, particularly those studying the skin effect in conductors and the mathematical modeling of current distributions in cylindrical geometries.

RGann
Messages
12
Reaction score
1
This is driving me crazy. The derivation of the current distribution in a long cylindrical wire is extremely straightforward, giving
J(r) = J(a) \frac{J_0(k r)}{J_0(k a)}
where J is the current density, a is the radius of the wire, and k is the complex wave vector, which in a metal (with nearly no permittivity) is given by
k^2 \approx -i \omega \mu \sigma
J_0 is the Bessel function of order zero. These expressions match several books I've checked. But when I try to plot the current distribution for, say, copper in Matlab, it doesn't look like the plot in my book. The code is
Code:
mu = 1.2566290e-6;
sigma = 5.96e7;
omega = 2*pi*1e4; %10 kHz
a = .05;
k = sqrt(-1i*omega*mu*sigma);
r=0:.0001:.01;
J = besselj(0,k*r)/besselj(0,k*a);
rej = real(J);
plot(r,rej)
The plot is attached. Is this correct? It doesn't seem to match the Wikipedia plot either. Does the current actually dip negative? It is otherwise qualitatively right, in that all of the current is concentrated near the edge, but I thought the max was at the very edge. What am I missing here?

Thanks
 

Attachments

  • SkinEffect.png
    SkinEffect.png
    1.2 KB · Views: 956
Physics news on Phys.org
Two things:
1) you are only plotting out to r=0.01, instead of all the way to the outer edge of the wire (r=a)
2) you are plotting only the real part of the current. If you plot the magnitude of the current I think you will find that it is monotonically increasing out to the edge of the wire.

jason
 
  • Like
Likes   Reactions: 1 person
Good catch, you have identified my conceptual problem. When I start out, I have the Maxwell equations, namely

\nabla \times \vec{H} = \vec{J} + \frac{\partial \vec{D}}{\partial t} \quad \quad \nabla \times \vec{E} = -\frac{\partial \vec{B}}{\partial t}

Then I write that \partial\vec{B}/\partial t = i \omega \vec{B}. That would imply that I need to take the real part of J at the end, because I'm using e^{i \omega t} instead of \cos \omega t. But the correct answer is to take the magnitude, that is |J|. Could you explain why this is the correct thing to do? What significance does that have?
 
The magnitude tells you how much current is flowing; the phase tells you phase shift as a function of radius. I would expect the phase to go through 2 pi phase shift for every wavelength in the wire (check out the real part of k to determine the effective wavelength in the wire). Note that the average power dissipated due to Ohmic losses is
<br /> \frac{1}{2} \Re \int \mathbf{J \cdot E^\ast}\, dV = \frac{1}{2 \sigma} \int |\mathbf{J}|^2 \, dv<br />
since E and J are in phase. So it really is the magnitude of J that you probably care most about.

jason
 
  • Like
Likes   Reactions: 1 person
Just thought about this post again - there are cases where you DO care about the phase of J. In particular, if you want to compute the impedance (per unit length) then you need the complex current density. In the case of the wire you do find that the impedance is complex - since it has a resistance and inductance per unit length.

jason
 
ok, so the wrinkle is that J(r) gives information not just about current but about the phase of the current at that location, and that at a given r it is not the same at adjacent points. This is a result of dropping the time dependence out explicitly. Brilliant, thanks.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
27K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K