Skip to content

Algorithm for solving the Lorentz force equations and tracking position and velocity of a relativistic particle . Uses the Boris method and explores the motion for 3 different 2 step magnetic field rotations

Notifications You must be signed in to change notification settings

Fyzzx/Boris_Relativistic_Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Boris_Relativistic_Algorithm

Algorithm for solving the Lorentz force equations and tracking position and velocity over time of a relativistic particle (coded in MATLAB and Python). Uses the Boris method and explores the motion for 3 different 2 step magnetic field rotations.

2 files are uploaded for each MATLAB and Python scripts which should be identical to eachother.

The first, 'BorisA_RelChargedParticle', uses the Boris algorithm with no approximation made for small angle rotations

The second, 'BorisComparison_RelChargedParticle', compares the results from 3 types of Boris algorithms as discussed in the following 2018 paper "On the Boris solver in particle-in-cell simulation" by Seiji Zenitani and Takayuki Umeda (https://doi.org/10.1063/1.5051077)

About

Algorithm for solving the Lorentz force equations and tracking position and velocity of a relativistic particle . Uses the Boris method and explores the motion for 3 different 2 step magnetic field rotations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published