Finding Motion of Charged Particle in Changing Magnetic Field (numerically)

Click For Summary

Discussion Overview

The discussion focuses on finding the motion of charged particles, specifically electrons, in a spatially varying magnetic field using numerical methods, particularly finite element analysis and numerical integration techniques. The scope includes theoretical approaches and practical implementations for estimating trajectories and errors in path length.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks guidance on algorithms for simulating the motion of an electron in a spatially varying magnetic field using finite element analysis and error estimation methods.
  • Another participant describes their experience with numerical integration for protons, providing a relation for the radius of curvature of the particle path based on magnetic field strength and particle momentum.
  • A participant suggests that finite element analysis may not be straightforward and recommends looking into molecular dynamics simulations, emphasizing the use of integrators like Euler or Verlet methods to estimate trajectories based on the Lorentz force.
  • A further elaboration includes a detailed method where a participant tracks particle motion in 1 mm steps, using a lookup table for magnetic fields and updating trajectory parameters at each step based on the Lorentz force.

Areas of Agreement / Disagreement

Participants express various approaches to the problem, with no consensus on the best method or algorithm. Different techniques and considerations for numerical integration and finite element analysis are discussed without agreement on a single solution.

Contextual Notes

Some limitations include the dependence on specific numerical methods and assumptions about particle momentum and magnetic field configurations. The discussion does not resolve the effectiveness of different integrators or the application of finite element analysis in this context.

Emustrangler
Messages
3
Reaction score
0
I want to find the motion of an electron in a spatially varying magnetic field using finite element analysis, and have some way of estimating the error (especially in the path length). I imagine somewhere someone has written up an algorithm that does this, but I haven't had much luck googling. Anyone want to point me in the right direction?
 
Physics news on Phys.org
I have done numerical integration along the electron path (actually I did protons) using the relation:

Bρ = (βγ/c) moc2 Tesla meters, or

ρ = (βγ/c) moc2/B meters

where B is the transverse magnetic field (in x and y), and ρ is the radius of curvature of particle path.

Bob S
 
Emustrangler said:
I want to find the motion of an electron in a spatially varying magnetic field using finite element analysis, and have some way of estimating the error (especially in the path length). I imagine somewhere someone has written up an algorithm that does this, but I haven't had much luck googling. Anyone want to point me in the right direction?

I'm not sure how finite element analysis would be applied, at least not the forms of FEM that I have used. I would take a look into how molecular dynamics simulations are done as they have to deal with the motion of particles in spatially/time varying potentials. In essence, you have to use an integrator, like the Euler or Verlet method, to estimate the integrations of the accelerations and velocities over time to estimate the trajectories. In your case then, you would use the forces generated by the fields via the Lorentz force as your force input but everything else should be the same I believe. These methods are designed for the simulation of large numbers of particles so part of the design of the integrator is to be numerically efficient, if you are just concerned about a single electron then I wonder if they would be ways to use the low computational costs of the problem to increase the accuracy of the integrator. The easiest would be of course to decrease the time steps used but maybe a higher order integrator may be a better way.
 
In my case (see post #2), I stepped through about 10 meters, 1 mm at a time. I was tracking constant momentum particles, so β and γ were constant. I had a lookup table for the transverse dc spacially-varying magnetic fields Bx(z) and By(z) (actually a 4 x 4 transfer matrix) for every mm, and I tracked the particle's z coordinate and trajectory x, dx/dz, y, and dy/dz for each 1-mm step (x=0 and y=0 were the central orbit, and dx/dz and dy/dz were the divergences). The Lorentz v x B force was used at each step to update the four quantities above.

Bob S
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K