Published August 14, 2024 | Version Version v1
Other Open

Application of mesh refinement to relativistic magnetic reconnection

  • 1. ROR icon Lawrence Berkeley National Laboratory
  • 2. ROR icon Advanced Micro Devices (United States)

Description

Input files, data files, and python scripts to replicate results in "Application of mesh refinement to relativistic magnetic reconnection" (Jambunathan et al., 2024).

Please direct any questions to the corresponding author, Revathi Jambunathan (rjambunathan [at] lbl.gov)

WarpX simulations in this paper were run from different branches and different commit hashes, though all
 the simulation results should be reproducible from the branch : https://github.com/RevathiJambunathan/WarpX/tree/HarrisSheetinX at later commits starting 08/14/2024

The README.txt file contains information about the input files, submission scripts, git commits used for the various simulations for the paper, and the jupyter notebooks with reduced analysis data to reproduce the results. 

The input files and submission script for the uniform grid simulations : Baseline, coarse2, coarse4, and coarse8
are in the directory inputs_and_submissionscripts/uniform_grid_simulations

The input files and submission script for the MR simulations : coarse2RR2, coarse4RR4, and coarse8RR8
are in the directory inputs_and_submissionscripts/MRsimulations_with_sameTotalNumberOfParticles

The input files and submission script for the MR simulations with particle coarsening in the coarse patch:
coarse8RR8_8x8, coarse8RR8_16x16, coarse8RR8_32x32 are in the directory
inputs_and_submissionscripts/MRsimulations_with_coarsenedParticlesInCoarsePatch

The input files and submission scripts for the timing runs are in the direcotry : TimingRuns_InputSubmissionScript

In the directory "jupyternotebooks", we have included python notebooks that can be used to generate the figures in the paper.
Figures 3, 4, 9, and 10 require plotfiles that we have not included the data for since they are large files. However, one can obtain the plotfiles by running the simulations for the uniform and MR simulations, using the input files shared.
The data for generating Figures 5, 6, 7, 8, and the figure in the appendix are provided in the subdirectory "EnergyDataForFigures5and6_SpectraForFigures7and8"
To generate the reduced energy data from MR simulations, i.e., the *.pkl files, the script named "dyanmic_energy.py" is used to compute the total energy from the valid regions of level0 and level1
Several scripts use WarpX python utilities to import reduced diagnostic data. Please add $WARPX_DIR/Tools/PostProcessing/ to your PYTHONPATH variable to use these.

 

 

 

Files

Files (88.7 MB)

Name Size
md5:7d397fd7cf603f79c92272551d0e2cd0
88.7 MB Download