PyCharge: An open-source Python package for self-consistent electrodynamics simulations of Lorentz oscillators and moving point charges
نویسندگان
چکیده
PyCharge is a computational electrodynamics Python simulator that can calculate the electromagnetic fields and potentials generated by moving point charges self-consistently simulate dipoles modeled as Lorentz oscillators. To total along discretized spatial grid at specified time, computes retarded time of each point, which are subsequently used to compute analytical solutions Maxwell's equations for charge. The oscillators driven electric field in system determines reaction radiation on dipole moment step. treats two opposite separate charge sources calculates their individual contributions potentials. expected coupling arises between captured simulation, modified radiative properties (radiative decay rate frequency shift) be extracted using dipole's energy step throughout simulation. separated near-field, require full response yield correct physics, calculated shown excellent agreement with Green's function results (<0.2% relative error, over wide range separations). Moving also specifying origin position time. includes parallelized version simulation method enable parallel execution computationally demanding simulations high performance computing environments significantly improve run Program Title: CPC Library link program files: https://doi.org/10.17632/77d5vt43h9.1 Developer's repository link: https://github.com/MatthewFilipovich/pycharge Licensing provisions: GPLv3 Programming language: 3.7 or newer Supplementary material: Documentation available pycharge.readthedocs.io. package its dependencies installed from PyPI: pypi.org/project/pycharge Nature problem: Calculating complex geometries charges, well self-consistent Solution method: potentials, solving governing equation motion. Additional comments including restrictions unusual features: implemented mpi4py [1]. L.D. Dalcin, R.R. Paz, P.A. Kler, A. Cosimo, Parallel distributed python, Advances Water Resources 34 (9) (2011) 1124–1139.
منابع مشابه
Python Open Source Waveform Extractor (POWER): An open source, Python package to monitor and post-process numerical relativity simulations
Numerical simulations of Einstein’s field equations provide unique insights into the physics of compact objects moving at relativistic speeds, and which are driven by strong gravitational interactions. Numerical relativity has played a key role to firmly establish gravitational wave astrophysics as a new field of research, and it is now paving the way to establish whether gravitational wave rad...
متن کاملNmrglue: an open source Python package for the analysis of multidimensional NMR data.
Nmrglue, an open source Python package for working with multidimensional NMR data, is described. When used in combination with other Python scientific libraries, nmrglue provides a highly flexible and robust environment for spectral processing, analysis and visualization and includes a number of common utilities such as linear prediction, peak picking and lineshape fitting. The package also ena...
متن کاملSelf-consistent Electrodynamics
Even though one usually calculates capacitor losses with a complex epsilon it still oÆends the principle of a constant speed of light. Maxwell’s term c2 = 1/"·μ suggests a physically inexplicable complex speed. By such an oÆence against basic principles every physicist is asked to search and to repair the mistake in the textbooks. The contribution clearly explains how vortex losses occur instea...
متن کاملSingularity-Free Electrodynamics for Point Charges and Dipoles: Classical Model for Electron Self-Energy and Spin
It is shown how point charges and point dipoles with finite self-energies can be accomodated into classical electrodynamics. The key idea is the introduction of constitutive relations for the electromagnetic vacuum, which actually mirrors the physical reality of vacuum polarization. Our results reduce to conventional electrodynamics for scales large compared to the classical electron radius r0 ...
متن کاملpyAudioAnalysis: An Open-Source Python Library for Audio Signal Analysis
Audio information plays a rather important role in the increasing digital content that is available today, resulting in a need for methodologies that automatically analyze such content: audio event recognition for home automations and surveillance systems, speech recognition, music information retrieval, multimodal analysis (e.g. audio-visual analysis of online videos for content-based recommen...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Computer Physics Communications
سال: 2022
ISSN: ['1879-2944', '0010-4655']
DOI: https://doi.org/10.1016/j.cpc.2022.108291