This section allows you to download input files that correspond to different physical situations.
We provide two kinds of inputs:
- AMReX
inputs
files, :ref:`with parameters described here <running-cpp-parameters>`, - PICMI python input files, with parameters described here.
For a complete list of all example input files, have a look at our Examples/
directory.
It contains folders and subfolders with self-describing names that you can try. All these input files are automatically tested, so they should always be up-to-date.
AMReX inputs
:
- :download:`2D case <../../../Examples/Physics_applications/plasma_acceleration/inputs_2d>`
- :download:`2D case in boosted frame <../../../Examples/Physics_applications/plasma_acceleration/inputs_2d_boost>`
- :download:`3D case in boosted frame <../../../Examples/Physics_applications/plasma_acceleration/inputs_3d_boost>`
PICMI:
- :download:`Without mesh refinement <../../../Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py>`
- :download:`With mesh refinement <../../../Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration_mr.py>`
AMReX inputs
:
- :download:`2D case <../../../Examples/Physics_applications/laser_acceleration/inputs_2d>`
- :download:`2D case in boosted frame <../../../Examples/Physics_applications/laser_acceleration/inputs_2d_boost>`
- :download:`3D case <../../../Examples/Physics_applications/laser_acceleration/inputs_3d>`
PICMI files:
:download:`2D case <../../../Examples/Physics_applications/plasma_mirror/inputs_2d>`
:download:`2D case <../../../Examples/Physics_applications/laser_ion/inputs>`
Note
The resolution of this 2D case is extremely low by default. You will need a computing cluster for adequate resolution of the target density, see comments in the input file.
:download:`2D case <../../../Examples/Physics_applications/uniform_plasma/inputs_2d>` :download:`3D case <../../../Examples/Physics_applications/uniform_plasma/inputs_3d>`
The Monte-Carlo collision (MCC) model can be used to simulate capacitive discharges between parallel plates. The implementation has been tested against the benchmark results from Turner et. al. in Phys. Plasmas 20, 013507, 2013. The figure below shows a comparison of the ion density as calculated in WarpX (in June 2021) compared to the literature results (which can be found here). An input file with parameters for the 1st case is given below except the total simulation steps have been reduced.
Note
This example needs additional calibration data for cross sections. Download this data alongside your inputs file and update the paths in the inputs file:
git clone https://github.com/ECP-WarpX/warpx-data.git
PICMI test cases included that can be used as a reference:
- :download:`Gaussian beam <../../../Examples//Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py>`
- :download:`Langmuir plasma wave test in 3d <../../../Examples//Tests/Langmuir/PICMI_inputs_langmuir_rt.py>`
- :download:`Langmuir plasma wave test in RZ <../../../Examples//Tests/Langmuir/PICMI_inputs_langmuir_rz_multimode_analyze.py>`
- :download:`Langmuir plasma wave test in 2D <../../../Examples//Tests/Langmuir/PICMI_inputs_langmuir2d.py>`
An example of using Python to access the simulation charge density, solve the Poisson equation (using superLU
) and write the resulting electrostatic potential back to the simulation is given in the input file below. This example uses the fields.py
module included in the pywarpx
library.