6) How does computer software plot magnetic field lines?

Click For Summary

Discussion Overview

The discussion revolves around how computer software plots magnetic field lines, particularly focusing on how the density of these lines can represent flux density and the methods used to determine starting points for plotting.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant inquires about the methodology behind software plotting magnetic field lines and how it accurately represents flux density.
  • Another participant suggests a method where plotting starts from the point of maximum magnetic field strength and proposes a systematic approach to plot additional lines based on varying field strengths.
  • A different viewpoint discusses using the curvature of objects, like a bar magnet, to determine the density of plotted lines, suggesting that the curvature's differential could inform the number of lines plotted.
  • One participant shares their experience with a specific software for drawing magnetic field lines, expressing satisfaction with its performance and functionality.
  • Another participant seeks alternative software options due to a broken link provided earlier, indicating a need for resources to plot magnetic fields.

Areas of Agreement / Disagreement

Participants express various methods and ideas for plotting magnetic field lines, but there is no consensus on a single approach or methodology. Multiple competing views remain regarding the best practices for software implementation.

Contextual Notes

Some methods proposed depend on specific assumptions about magnetic field behavior and the geometry of objects, which may not universally apply. There are also unresolved questions about the accuracy of representations based on user interaction with the software.

Who May Find This Useful

Individuals interested in computer simulations of magnetic fields, software developers working on physics-related applications, and educators looking for tools to visualize magnetic field concepts may find this discussion relevant.

quantum123
Messages
306
Reaction score
1
How does computer software plot magnetic field lines where the density of lines represent flux density? How does the software know which points to start plotting from in order to come out with a true representation?
 
Physics news on Phys.org
I've seen one example in which you would have to click on a point and the software would plot the line that goes through that point. Of course, in that case the density of lines may or may not represent the flux density, depending on where you click.

Off the top of my head, I suppose you could start at the point of largest magnetic field (call the value B) and plot the field line going through there. Then move some reasonable distance R to one side (perpendicular to the magnetic field vector); call the magnetic field value there B' and plot another field line going through that point. Then move over again by the distance R'= RB/B' and plot another line, etc. until you reach the edge of the graph or something.

If you don't wind up getting a good answer here, you might have better luck asking on a computer programming Q&A site (such as stackoverflow.com).
 
  • Like
Likes   Reactions: matt rene
well the best way I could think of doing it is this: Do you remember during your studies (if you've got this far) when you came across a bar magnet that looked like a tear drop? and you'd have noticed that the smaller the area the higher the density of magnetic field points intersecting the surface. (lets for now keep it 2d). Then you could plot the magnetic field lines with the differential of the curvature of the object. That being the quicker the curve fell or the larger the value of the differential, then the more lines you will plot. Say if you plotted 1 line for every degree of curvature, you should in theory plot the magnetic field lines. The only issue with this is, obviously magnetic field lines curve to join up with the opposite conventional pole. So you'd have to write the code so that the corresponding angle from the other pole joined up with the original. And to my knowledge that should work for most circumstances, although it sounds in my head like that would really work for a conventional rectangular bar magnet. :S.
 
Thank you.
I have recently downloaded this software for drawing magnetic field lines. It is very good! Go try it.
http://www.vizimag.com/
Upon successfully using the software to draw the field lines that I wanted( very fast performance) on the PC, this question of how the software works is really haunting me.
 
the information above was useful, i need a software that will plot me the magnetic field, the link above is not working, if anyone have the setup please give me the link
 

Similar threads

  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K