EconPapers    
Economics at your fingertips  
 

Numerical methods, energy conservation, and a new method for particle motion in magnetic fields

V. Arendt

Mathematics and Computers in Simulation (MATCOM), 2023, vol. 205, issue C, 142-185

Abstract: This article mathematically examines the energy conservation of explicit Runge–Kutta methods and basic symplectic integration methods for a simple harmonic oscillator and a particle in a magnetic field. With the demonstration of the failure of these methods to conserve the energy of a particle in a magnetic field, a new integration method is presented for this type of system where energy conservation is dictated by the type of floating point variable used, not the size of the time step or the method order. Higher order versions of the method improve the accuracy in the calculation of the particle position and allow for more accurate calculations of the velocity in a spatially varying field. Furthermore, the new method is demonstrated to have improved phase accuracy when compared to several common implicit methods.

Keywords: Numerical methods; Charged particles; Cosmic rays; Magnetic fields; Energy conservation (search for similar items in EconPapers)
Date: 2023
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0378475422003925
Full text for ScienceDirect subscribers only

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:matcom:v:205:y:2023:i:c:p:142-185

DOI: 10.1016/j.matcom.2022.09.015

Access Statistics for this article

Mathematics and Computers in Simulation (MATCOM) is currently edited by Robert Beauwens

More articles in Mathematics and Computers in Simulation (MATCOM) from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-03-19
Handle: RePEc:eee:matcom:v:205:y:2023:i:c:p:142-185