Full examples
Complete Python examples are listed below. Each page shows the script and its plots.
- 1D argon discharge: A 1D argon discharge between two grounded walls: profiles from the fluid model.
- Argon global model: A global model of an argon discharge: electron temperature and density against pressure.
- HiPIMS global model: A global model of a HiPIMS magnetron: rarefaction, metal ions and self-sputtering.
- Ionization region model: The ionization region model (IRM) of a HiPIMS pulse on a copper target, fitted to a discharge current.
- Gradient-drift instability with kinetic ions: The local dispersion relation of :mod:
carafe.dispersionat the parameters of the ionisation region of a DC magnetron, in three views: - Neutralizer gas profile: A beam-driven plasma neutralizer with the gas along the channel: scans of flow and current.
- Neutralizer gas scan: A beam-driven plasma neutralizer: the neutral fraction against the gas flow.
- Nonlocal eigenmodes: The gradient-drift instability on the 1D state of Boeuf’s DC magnetron (arXiv:2211.17051, figure 2) as an eigenvalue problem across the whole profile, with :class:
carafe.dispersion.NonlocalDispersion: - Plasmoids on refined patches: Two Harris current sheets in a periodic box reconnect through resistivity (
MHD2D,harris_sheets, the state set again on the patches after each of the first regrids); the patches follow the current density and are regridded every few steps. The same case runs on the uniform mesh of the finest level, and the script compares the two: the reconnected fluxpsi(t)of the lower sheet, its O-points (plasmoids), the leaf cells and the wall time per step. - 0D RF driver: A 0D RF driver: coil current and RF power transfer efficiency in seconds.
- RF driver 2D fluid: The BUG driver in r–z as a 2D fluid heated by its inductive field.
- RF driver inductive field: The RF field of one and two drivers with a prescribed plasma: mutual coupling and shields.
- RF driver neutrals: The BUG driver’s gas: H and H2 as Navier–Stokes fluids, depleted and heated by the plasma.
- RF driver in r–z: The BUG driver in r–z: cold and viscous electrons, and the global model’s plasma.
- Drift fluid verification: Verification of the 2D drift fluid: a uniform state, the E x B drift and a linear instability.
- Gas-coupled drift fluid: The 1D state of Boeuf’s DC magnetron (argon at 0.6 Pa, 2 cm gap, 260 V) relaxed with its neutral gas from the gas dynamics (
GasCoupledDriftFluid): the plasma ionizes the argon, the ions that reach the target come back as argon atoms, and a reservoir at the anode end refills the gap through the compressible gas. Compared with the drift fluid’s own closure, a relaxation of the gas towards its fill density at the fixed rate 2e4 /s. - Settled 1D state and its linear spectrum: Relaxes the y-uniform 1D state of Boeuf’s DC magnetron for a long time (the gas time is 50 us, so about 100 us) with a chosen anomalous frequency and anode closure, saves it, and prints the Jacobian eigenvalues per azimuthal mode with the responses frozen one at a time (none,
temperature,ionization,ionization_frequency, the consistent form). It runs about 15 minutes at--nx 24. - Wind efficiency: The global model’s sputter wind, with a wind efficiency derived from the compressible gas.
- Sputter wind: The sputter wind: the argon in front of a sputtering target, as a compressible gas.
- The transport budget of a model spoke: A density pattern
n = n_0(x) (1 + 0.3 cos(k y))and a potential pattern shifted against it by a phase, in the plane of the axial-azimuthal simulations, built so that the electron momentum balance holds exactly; :mod:carafe.transportthen recovers the flux acrossBterm by term: theE x Bflux of the correlated fluctuations (all of it in the spoke band here), the collisional flux, the stress term, and a residual at the level of the finite differences. The second panel shows the loop identity,<n E_y> = <phi d_y n>, and the flux the single mode carries as a function of the phase between the potential and the density: zero when the two patterns are aligned, largest at a quarter wavelength.