Visualizing fields around coils (statics and magnetostatics)

Click For Summary

Discussion Overview

The discussion revolves around visualizing electromagnetic fields around various electronic components, including straight wires, circular coils, finite solenoids, and infinitely long cylindrical solenoids. Participants explore methods for representing these fields in a didactic manner, focusing on both the static vector potentials (A fields) and magnetic fields (B fields) in three-dimensional space.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant seeks intuitive visual representations of A and B fields, expressing challenges with scaling and clarity in vector field plots.
  • Another suggests using stream line plots augmented with color backgrounds to represent field magnitudes effectively.
  • Links to various online resources for visualizing vector fields are shared, including interactive simulations and educational tools.
  • A participant notes the effectiveness of a mixed 2D-3D representation used by MIT, which combines streamlines with varying intensity to depict field strength.
  • Concerns are raised about whether certain visualizations accurately capture the physics and mathematics of field configurations, particularly in relation to differential forms.
  • One participant reports an issue with Falstad's simulations, specifically regarding the representation of fields in a toroidal solenoid, questioning the accuracy of the displayed A and B lines.

Areas of Agreement / Disagreement

Participants express a range of views on the best methods for visualizing electromagnetic fields, with no consensus on a single approach. There are also differing opinions on the accuracy of existing simulations, particularly concerning the toroidal solenoid.

Contextual Notes

Participants highlight limitations in current visualizations, such as the potential for misrepresenting field lines and the challenges of achieving clarity in three-dimensional plots. Some discussions reference specific assumptions about the quasi-static approximation and its implications for field representations.

SredniVashtar
Messages
247
Reaction score
73
TL;DR
Looking for examples of neat ways to visualize the magnetic field B, the vector potential A and their time derivatives of currents in curled paths in a quasi-static context. (Real conductor simulations welcome, as well).
I am looking for some neat way to visualize various fields in the space around the usual electronic components: a straight wire, a single turn circular coil, a multi-turn finite solenoid, and an infinitely long cylindrical solenoid.
I can get the expression, either in their analytical exact form (the infinitely long rectilinear wire and infinitely long solenoid are treated in all textbooks) or some approximation of the integrals involved. I have found publications with the A and B fields of single circular filamentary currents, and also of a finite solenoid (NASA Technical Note D-465, https://ntrs.nasa.gov/citations/19980227402).

But before embarking in the time consuming task of plotting a 3D entity in 3D space, I'd like to see some neat examples of the representation of these fields. By experience, my biggest problem with visualizing vector fields is with scaling: field lines can gets too crammed in one part and nonexistent in other parts, and when I try to plot arrow fields, I get either absurdly long arrows where the field is strong and points or empty space where it is weak.
How to plot - or even draw - these fields (the static A and B fields) in a way that gives an intuitive view of their direction (ok, circles around straight wires, deformed circles around the single loop, elongated football shapes around the finite solenoid, for the B field) and also magnitude?

I am looking for a didactic representation, more than a faithful numerical representation. If you look at the NASA technical node, the graphs are actually useful (smart people at NASA) but they are not exactly intuitive...

Also, do you agree that in the quasi-static approximation (the dynamic case is a sequence of static snapshots), the dA/dt (which - sign apart is the induced electric field) and dB/dt (which - sign apart - is the curl of E) fields should have the same 'shape' of the A and B fields? Can be in the same direction if the field is increasing or in the opposite direction when it is decreasing, but if the field is going in circles, then its time-derivative does too, right?
 
Physics news on Phys.org
To plot vector fields I usually use a stream line plot rather than a vector plot. And I usually augment it with a color background for the magnitude, or sometimes contour lines for potentials.
 
  • Like
Likes   Reactions: SredniVashtar
Possibly useful:
https://www.glowscript.org/#/user/G...andinteractions/program/MatterAndInteractions
  • 17-B-loop-with-r-dB
    1739174106302.png



https://www.falstad.com/vector3dm/


https://web.mit.edu/8.02t/www/802TEAL3D/visualizations/guidedtour/Tour.htm#_Toc27302357
1739174483162.png
 
  • Like
Likes   Reactions: SredniVashtar
...and of course the winner had to be MIT.
I remember seeing those figures years ago. The page you linked is crammed with knowledge.

So, it seems they use a mixed 2D-3D representation: the object (the coils) is in 3D, while the streamlines - actually they call it 'grass seeds' and 'iron filings' lines - are shown in the saggital plane. This prevents the cramming of 3D field lines as seen in the Falstad simulations (which are good, don't get me wrong!)
In the MIT figures there is a mix of streamlines with their own alternating intensity (to show individual lines), and an overall intensity of the plot associated with the magnitude of the field (hence the disappearing into darkness - which is the part I am interested in).
A plot like this in the saggital plane and another one in the azimuthal plane should give a clear and intuitive view of the field.

Now, the problem is how to alternate the color of streamlines in order to get these 'grass seeds'/'iron filings' lines.
 
Last edited:
Possibly useful:
https://web.mit.edu/8.02t/www/802TEAL3D/visualizations/magnetostatics/index.htm

I don't recall Belcher's visualizations being real-time interactive (like Falstad's or Chabay+Sherwood's).
So, I think a lot of computation and rendering happened offline... then made into a video.

While these are all pretty to look at, I'm not sure if these representations as vector-fields
truly capture the physics and mathematics of the field configurations.

For a while, I've been interested in visualizing electromagnetic fields with differential-forms,
inspired by Bill Burke ( archived website: https://www.ucolick.org/~burke/home.html )
I have an ancient website that's in need of an update
https://www.visualrelativity.com/vrml/electromagnetism/
https://www.visualrelativity.com/vrml/electromagnetism/x_ite/
... probably to use Chabay+Sherwood's Glowscript/WebVPython ( https://www.glowscript.org/ )
 
I have played around with Falstad's simulations and it seems there's a problem with the toroidal solenoid. It seems it shows the A lines instead of the B lines.

https://www.falstad.com/vector3dm/v...&a1=46&a2=14&a3=100&rx=72&ry=7&rz=-4&zm=1.657

Strange because at one point I had the B lines inside the solenoid in white and nearly dark outside, as expected. But now I just can't get what I expect (and what is expected by theory). Does it happen to me alone?

The linear solenoid seems fine.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
14K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K