Plasma & PIC simulation
Particle-in-cell fundamentals, code installation (FBPIC, WarpX, EPOCH, Smilei, PIConGPU), numerical stability, convergence and laser–plasma applications, explained by practising plasma physicists.
20 of 20 guides shown
Particle-in-cell simulation tutorial: write a 1D PIC code in Python
Build a working 1D electrostatic PIC code in about 60 lines of Python, then verify it against the plasma frequency: a hands-on particle-in-cell tutorial.
Read guideWhat is PIC simulation? The particle-in-cell method explained
Particle-in-cell (PIC) simulation explained: macro-particles, grids, the four-step cycle, stability limits, strengths, weaknesses and what PIC is used for.
Read guideFBPIC installation tutorial: CPU and GPU setup with Conda
Install FBPIC, the spectral quasi-cylindrical PIC code, with Conda on Linux: CPU and CUDA GPU setup, MPI, a first run and fixes for common installation errors.
Read guideFBPIC laser wakefield simulation: setting up and checking an LWFA run
Set up a laser wakefield run in FBPIC: grid and azimuthal modes, laser and plasma profile, moving window, diagnostics, resolution checks, analysis.
Read guideWarpX installation guide: Conda, Spack and CMake builds for CPU and GPU
Install WarpX the right way for your hardware: Conda for quick CPU runs, Spack or CMake for GPU clusters (CUDA, HIP, SYCL), and first-run checks.
Read guideWarpX vs FBPIC: which PIC code for laser–plasma acceleration?
WarpX vs FBPIC compared for laser wakefield and plasma acceleration: geometry, solvers, GPU support, scaling, features, learning curve and when to choose each.
Read guideEPOCH PIC simulation tutorial: build, input deck and first laser–plasma run
Get started with the EPOCH particle-in-cell code: compile it, write an input deck for a 2D laser–plasma run, launch with MPI, and read SDF output in Python.
Read guideSmilei PIC simulation tutorial: Python namelists, normalised units and happi
Run a first Smilei PIC simulation: compile, write a Python namelist in normalised units, launch with MPI and OpenMP, and analyse with happi.
Read guidePIConGPU simulation tutorial: from example to first GPU run
Start with PIConGPU, the GPU-native PIC code: environment profile, pic-create, pic-build, tbg submission, .param and .cfg files, openPMD output.
Read guidePIC simulation boundary conditions: fields and particles
Field and particle boundary conditions in PIC: periodic, PML and Silver-Müller absorbers, conductors, laser injection, outflow and thermal walls.
Read guidePIC numerical instability: symptoms, causes and fixes
Diagnose numerical instabilities in PIC simulations: CFL violation, finite-grid heating, numerical Cherenkov radiation, noise and boundary artefacts.
Read guidePIC simulation convergence test: a step-by-step procedure
How to run a convergence test for particle-in-cell simulations: refine cells, time step and particles per cell, compute observed order and report uncertainty.
Read guideHow many particles per cell does a PIC simulation need?
Choosing particles per cell (ppc) in PIC simulations: how noise scales, typical values for laser-plasma and discharges, and how to test your choice.
Read guideHow to choose the grid size for a PIC simulation
Choose the cell size for particle-in-cell simulations: Debye length, skin depth and laser-wavelength rules, the CFL time step, and how to test it.
Read guideLaser wakefield acceleration simulation: physics, setup and verification
How to simulate laser wakefield acceleration: key scalings, choosing 2D, quasi-3D or 3D PIC, resolution, moving windows, injection, diagnostics and convergence.
Read guideLaser–plasma interaction simulation: regimes, models and codes
Simulating laser-plasma interaction by regime: underdense wakefields, near-critical targets, solids and ion acceleration, model choice and resolution.
Read guidePlasma wakefield acceleration simulation (beam-driven PWFA)
Simulating beam-driven plasma wakefield acceleration: drive and witness bunches, blowout, beam loading, full vs quasi-static PIC, and verification.
Read guidePlasma simulation software comparison: PIC, Vlasov, fluid and MHD codes
Compare plasma simulation software by model and application: PIC, continuum Vlasov, gyrokinetic, fluid/MHD and commercial tools, and how to choose.
Read guideMagnetic reconnection simulation: MHD, Hall, hybrid and kinetic approaches
How magnetic reconnection is simulated: resistive and Hall MHD, hybrid and kinetic PIC, the GEM setup, key dimensionless parameters and checks.
Read guidePIC simulation GPU acceleration: codes, considerations and pitfalls
How PIC codes use GPUs: which codes are GPU-ready, memory limits, particle sorting, precision, load balancing, and estimating GPU needs for your run.
Read guideRelated services
When a guide is not enough, our physicists and HPC engineers can do the work with you.
PIC & Plasma Simulation with Independent V&V
Particle-in-cell, PIC-MCC and hybrid simulations — every result benchmarked against theory.
Learn moreLaser–Plasma Interaction Studies
Wakefield acceleration, ion acceleration, radiation sources and experiment design for high-power laser facilities.
Learn moreContinuum Vlasov & Kinetic Simulation
Noise-free kinetic simulation that solves the Vlasov equation directly on a phase-space grid, where particle noise hides the physics.
Learn more