Reproducible simulations

Examples

Browse reproducible Struphy simulations by their output. Select a figure to explore the physical setup, numerical method, and complete runnable script.

Extend the collection

Add an example

Each gallery entry should include a generated figure, a short physical description, the complete runnable Struphy script, its requirements, and approximate computational cost. Set name= and description= on the script's Simulation(...) — running generate_examples.py then picks up the model, equations, and configuration automatically, and links the example from that model's page.

Run details 48 examples
Total profiler wall time; hostname is the rank 0 host. — means unavailable.
NameModelTotal timeMPI ranks
Acoustic pulseVariationalCompressibleFluid81.15 s1
Standing shear-Alfvén waveShearAlfven12.45 s1
SPH in a Beltrami force fieldPressureLessSPH2.2 s1
Bump-on-tail instabilityVlasovAmpereOneSpecies322.11 s1
Coaxial waveguideMaxwell24.72 s1
Cold-plasma oscillationColdPlasma17.83 s1
Cold-plasma wave packetsColdPlasma14.39 s1
Cold-plasma waves along a magnetic fieldColdPlasma46.75 s1
Dam breakViscousEulerSPH22.94 s1
Resistively damped Alfvén waveViscoResistiveMHD130.04 s1
Random and deterministic particle diffusionRandomParticleDiffusion11.38 s1
Diocotron instabilityToyDrift256.33 s1
Faraday rotation in a magnetized plasmaColdPlasma35.24 s1
Gas expansion into vacuumViscousEulerSPH2.15 s1
Grad-B drift of charged particlesVlasov6.21 s1
Guiding-center orbits in a tokamakGuidingCenter7.58 s1
Guiding-center orbits in a GVEC stellaratorGuidingCenter20.69 s1
Gyromotion in a uniform magnetic fieldVlasov2.03 s1
Whistler and ion-cyclotron waves in Hall MHDLinearExtendedMHDuniform47.78 s1
Hasegawa–Wakatani drift-wave turbulenceHasegawaWakatani117.88 s1
Hybrid MHD-kinetic energy exchangeLinearMHDVlasovPC187.03 s1
Alfvén wave with kinetic-ion current couplingLinearMHDVlasovCC28.12 s1
Incompressible shear relaxationIncompressibleNavierStokesSPH26.96 s1
ITG drift waveDriftKineticElectrostaticAdiabatic46.84 s1
Langmuir wave dispersionVlasovAmpereOneSpecies24.42 s1
Viscous and resistive linear Alfvén waveViscoResistiveLinearMHD55.84 s1
Maxwell cavity resonancesMaxwell84.16 s1
Electromagnetic pulse on a distorted meshMaxwell20.01 s1
Structure preservation in time integrationMaxwell9.2 s1
Maxwell light-wave dispersionMaxwell2.84 s1
MHD waves in a magnetized slabLinearMHD69.25 s1
Ordinary waves and the plasma cutoffColdPlasma24.39 s1
Orszag–Tang vortexViscoResistiveMHD992.74 s1
Poisson convergence on a distorted meshPoisson166 ms1
Poisson time-dependent sourcePoisson1.06 s1
Pressureless density transportVariationalPressurelessFluid239.4 s1
Resistive diffusion of a magnetic fieldViscoResistiveMHD17.87 s1
Resistive magnetic X-pointViscoResistiveMHD86.8 s1
Shear-Alfvén wave dispersionShearAlfven18.44 s1
SPH velocity diffusionViscousEulerSPH8.96 s1
Strong Landau dampingVlasovAmpereOneSpecies112.53 s1
Toroidal shear-Alfvén wavesLinearMHD495.44 s1
Two-stream instabilityVlasovAmpereOneSpecies441.03 s1
Vlasov particle orbits in a tokamakVlasov13.5 s1
Vortex mergerToyDrift339.98 s1
Weak Landau dampingVlasovAmpereOneSpecies45.25 s1
Weibel instabilityVlasovMaxwellOneSpecies208.47 s1
Zel'dovich causticPressureLessSPH1.04 s1