General Structure
The main structure of RBG-Maxwell is shown in the figure.
Providing the proper initial distributions, masses, charges,differential cross sections and external forces (not limited to electromagnetic forces), the RBG-Maxwell framework can perform the evolution of a particle system from non-equilibration to thermal state.
RBG-Maxwell is particularly suitable for calculating collisional plasmas with open physical boundaries, or the evolution of collision-free plasmas on large scales.
- The main calculation process of RBG-Maxwell framework:
- First, RBG-Maxwell receives the single particle distribution function. The program splits the distribution function and transfers it to different GPU blocks.;
- EM Solver uses single-particle functions and phase space to calculate charge density functions and current density functions;
- EM solver uses current density and charge density to calculate electric and magnetic fields;
- EM solver calculates external electromagnetic forces with electromagnetic fields;
- BM solver calculates collision terms using single particle distribution functions;
- BM solver calculation the drift term using single particle distribution function and external electromagnetic force;
- RBG-Maxwell combines the collision term, single-particle distribution function, and external electromagnetic force to calculate the single-particle distribution function for the next moment;
- The program completes the evolutionary process of the physical system by continuously iterating the above process.