Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.22 KB

examples.rst

File metadata and controls

27 lines (18 loc) · 1.22 KB

Example input files

WarpX includes several example Python input files corresponding to various physical situations. These can be downloaded here (or obtained from the WarpX source).

Beam-driven acceleration

  • Without mesh refinement<../../../Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py>
  • With mesh refinement<../../../Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration_mr.py>

Laser-driven acceleration

  • Without mesh refinement<../../../Examples/Physics_applications/laser_acceleration/PICMI_inputs_laser_acceleration.py>

Test cases

There are also several test cases included that can be used for reference.

  • Gaussian beam<../../../Examples//Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py>
  • Langmuir plasma wave test in 3d<../../../Examples//Tests/Langmuir/PICMI_inputs_langmuir_rt.py>
  • Langmuir plasma wave test in RZ<../../../Examples//Tests/Langmuir/PICMI_inputs_langmuir_rz_multimode_analyze.py>
  • Langmuir plasma wave test in 2D<../../../Examples//Tests/Langmuir/PICMI_inputs_langmuir2d.py>