Sunday, March 6, 2022

More Notes Preparing for Electromagnetism Calculations

Revision History

  • 2022-03-06 started

Abstract

Thoughts and notes are collected in preparation for simulation of particle response to Axis Tensor Fields. As a dynamic ongoing effort, this post is expected to support ongoing editing as ideas and calculations evolve.

Preparing

The investigation of symmetries and non-symmetries of particle response to electromagnetic fields (the Axis Tensor Field in the mnp and Constituent Models) has been started and found, for now, wanting. With that background, calculations and modeling are appropriate. This post is the “pre-experiment” document. As the calculations evolve, this post is expected to continue to document the development. As it evolves, the additions and edits to this post may or may not be clearly marked, depending on the complexity of the edits. Versions will be stored for future use, if needed. This post is also expected to start and document experiments in presentation and use of electronic notebooks in blog posts, papers, and manuals.

Preparing to code is not unheard of. The author finds preparation sometimes helps focus, much as cleaning his drafting tools once helped focus on the project to be designed and presented.

The author’s approaches to calculations include:

  • Collect thoughts on calculations prior to coding. One of the author’s favored approaches before starting on the unknown or when failure is a distinct possibility. Thinking ahead is in keeping with the “document your experimental methods first” approach. Planning can make the options or open-endedness of the investigation less scary, even if no plan survives contact with the keyboard.
  • Determine the low level routines needed, code them and test them.
  • Just code and figure out the organization later. Modern tools make that easier than the old edit, compile, link, run. And the even older write, punch, submit, await results model. If “ship constantly” or “ship early and often” is a chosen strategy to reach ?and keep? market, this can be used, misused, and suffered from if inadequate thought is put in. Your mileage may vary.

The chosen “collect thoughts” is especially helpful in choosing what data to parameterize. Of course an attitude of “when I encounter a constant or need a value or make an assumption, that should become a variable” can help in any of the approaches. “Don’t hard code anything” works as well, though sometimes premature parameterization slows development.

Thoughts on presentation:

  • Tables of general “response” availability/prohibition
  • Tables of “response” for symmetrical points/coils
  • Display: color of where response is allowed? color depending on where the dividing line is in coil?
  • Showing resultant for many coils??
  • Showing where symmetries lie?

Data:

  • Coil orientation
  • Point selected on coil
  • v direction (+z) and relative magnitude (may be 0 or 1) since we want to investigate “electrostatics” as well
  • Gradient direction
  • Axis Tensor direction
  • Movement/velocity assumptions (directly in v or perpendicular to coil or something not yet invented) - take point and coil orientation, return 3-d direction of entity travel, perhaps point around the coil orientation, perhaps including γ (gamma).

Data Structures:

  • Eventually: Put every assumption in a namespace/structure so could eventually be passed around

Functions or Functors:

  • Influence function (a function pointer variable, showing the author’s residual C think)

Functions:

  • Find symmetrical coils and points (in coil)
  • Find symmetrical coils and points (in density of states) or categorize the in coil numbers above by DOS symmetry
  • Find symmetrical coils and points (entity direction, so eliding z+v and -z+v)

Display:

  • A lot of development is expected here.
  • If “in web page” interaction allows updating, the author might need to use and learn a different language if intended for general public use.
  • Mouse over coil ellipse to show details?
  • How to examine and support proofs/disproofs.

High level analysis:

  • What coils/points ARE symmetrical for the given directions.
  • Show B, F expected for the given directions.
  • Show resultants with symmetries…

Future:

  • Want to investigate “relativity” where a charge is moving and a particle is moving the same speed and direction v.

Conclusion

To be continued! Onward!

Addendum - Introspection

The author has found looking before leaping useful, feasibility tests before full blown implementation helpful, thinking before speaking salutory, and exploring before committing sometimes prudent.

In starting this post, the author finds that markdown is readable, but still can promote premature formatting. Though attention to detail can sometimes provide time and a framework for the unconscious to focus within.

No comments:

Post a Comment