Skip to content
VLASIFY™

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

Tutorial

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 guide
Guide

What 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 guide
Tutorial

FBPIC 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 guide
Tutorial

FBPIC 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 guide
Tutorial

WarpX 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 guide
Comparison

WarpX 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 guide
Tutorial

EPOCH 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 guide
Tutorial

Smilei 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 guide
Tutorial

PIConGPU 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 guide
Guide

PIC 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 guide
Troubleshooting

PIC 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 guide
Tutorial

PIC 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 guide
Guide

How 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 guide
Guide

How 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 guide
Guide

Laser 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 guide
Guide

Laser–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 guide
Guide

Plasma 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 guide
Comparison

Plasma 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 guide
Guide

Magnetic 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 guide
Guide

PIC 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 guide

Related services

When a guide is not enough, our physicists and HPC engineers can do the work with you.

Get a Quote