Particle pushers¶
Under construction
Some of the functionality of this tool is still in development!
This demo tool allows you to integrate particle trajectories in the analytically prescribed electric and magnetic fields. You may vary the fields themselves below (fields can be non-uniform and even time-varying), inject particles of different charge-to-mass ratios (by either dragging on the screen or using an injector at the bottom), and pick different parameters of the simulation (like the integration timestep, and the algorithm). You may also visualize your fields by ticking the checkboxes next to the corresponding components (the colormap is automatically rescaled to accomodate for its dynamic range).
The tool uses natural units, in which \(c = 1\), and all the particle velocities are four-velocities, i.e., \(\bm{u}\equiv \gamma\bm{\beta}\). When dragging on the screen with the right click, the charge-to-mass for the injected particle is \(q/m=1\) (red), while the right click (or shift + left click if you're using touchpad) injects a particle with \(q/m=-1\) (blue). Electric and magnetic fields can be either picked from a limited number of presets using the dropdown, or you can type them in in a functional form (as a function of \(x\), \(y\), \(z\) position and time, \(t\)) using the boxes below (the evaluator accepts all sorts of expressions outlined here).
$x$ | $y$ | $z$ | |
---|---|---|---|
$\bm{E}$ | |||
$\bm{B}$ |
$x$: | $y$: | ||||
$u_x$: | $u_y$: | $u_z$: | |||
$q/m$: |