Site-wide search
Search Struphy
Search site pages and the full catalogue of models, propagators, mapped domains, background equilibria, initial-condition perturbations, and kinetic backgrounds.
148 results
AdhocTorus
Ad hoc tokamak MHD equilibrium with circular concentric flux surfaces.
EquilibriumAdhocTorusQPsi
Ad hoc tokamak MHD equilibrium with circular concentric flux surfaces.
PropagatorAdiabaticPhi
Electrostatic potential for adiabatic electrons, computed from … Not used by a model yet.
PageBuilding a simulation
How models, domains, grids, and time integration fit together.
BackgroundCanonicalMaxwellian2D
Canonical Maxwellian distribution function in (η₁, η₂, η₃, v∥, μ) coordinates.
EquilibriumCircularTokamak
Tokamak MHD equilibrium with circular concentric flux surfaces.
PageCitation and reproducibility
How to cite Struphy and document reproducible simulations.
PerturbationCoaxialWaveguideElectric_r
Initial-condition perturbation in the norm basis.
PerturbationCoaxialWaveguideElectric_theta
Initial-condition perturbation in the norm basis.
PerturbationCoaxialWaveguideMagnetic
Initial-condition perturbation in the norm basis.
PageCode and parallelization
The architecture and parallel implementation of Struphy.
ModelColdPlasma
Cold plasma model: electron-fluid current coupled with Maxwell's equations via a cold-plasma Ohm's law.
BackgroundColdPlasma
Base class for a distribution as a Dirac-delta in velocity (vth = 0).
ModelColdPlasmaVlasov
Hybrid cold-plasma model: a cold electron fluid coupled with a hot kinetic species and Maxwell's equations.
DomainColella
Mapped geometry available for Struphy simulations.
EquilibriumConstantVelocity
Constant-velocity background equilibrium. Represents a simple fluid equilibrium with a spatially-constant bulk velocity ( ux , uy , uz ) and configurable density/pressure…
PageContact us
Ask questions, report bugs, contribute, or contact the maintainers.
DomainCuboid
Mapped geometry available for Struphy simulations.
PropagatorCurlCurlSolve
Advances e. Not used by a model yet.
PropagatorCurrentCoupling5DCurlb
Advances u and energetic_ions. Used by 1 model.
PropagatorCurrentCoupling5DDensity
Advances u. Used by 1 model.
PropagatorCurrentCoupling5DGradB
Advances u and energetic_ions. Used by 1 model.
PropagatorCurrentCoupling6DCurrent
Advances ions and u. Used by 1 model.
PropagatorCurrentCoupling6DDensity
Advances u. Used by 1 model.
EquilibriumCurrentSheet
Current sheet equilibrium.
DomainDESCunit
Mapped geometry available for Struphy simulations.
ModelDeterministicParticleDiffusion
Diffusion equation discretized with a deterministic particle method.
ModelDriftKineticElectrostaticAdiabatic
Electrostatic drift-kinetic model for a single ion species with adiabatic electrons.
PropagatorEfieldWeightsCoupling
Advances e and ions. Used by 2 models.
EquilibriumEQDSKequilibrium
Interface to `EQDSK file format `_.
PerturbationErf_z
Initial-condition perturbation.
PageExamples
Reproducible Struphy simulations and benchmark problems.
PropagatorFaradayExtended
Equations: Faraday's law … Not used by a model yet.
PageFEEC basics
An introduction to compatible finite element spaces and operators.
EquilibriumGenericCartesianFluidEquilibrium
Generic Cartesian fluid equilibrium with callable fields. This class extends CartesianFluidEquilibrium to allow user-defined callable functions for velocity, pressure, an…
EquilibriumGenericCartesianFluidEquilibriumWithB
Generic Cartesian fluid equilibrium with magnetic field and callable fields. This class extends GenericCartesianFluidEquilibrium to include magnetic field and its gradien…
ModelGuidingCenter
Guiding-center equation for a single species in a static background magnetic field.
DomainGVECunit
Mapped geometry available for Struphy simulations.
BackgroundGyroMaxwellian2D
A gyrotropic Maxwellian depending on two velocities (v∥, μ), n=2, where v∥ = 𝐯 · b₀ and μ = v⟂²/(2B₀) is the magnetic moment, with B₀ the background magnetic field strength.
BackgroundGyroMaxwellian2Dvperp
A gyrotropic Maxwellian depending on two velocities (v∥, v⟂), n=2, where v∥ = 𝐯 · b₀ and v⟂ is the radial component of a polar coordinate system perpendicular to the magentic direction b₀.
PropagatorHall
Advances b. Used by 1 model.
ModelHasegawaWakatani
Hasegawa-Wakatani equations in 2D for drift-wave turbulence.
PropagatorHasegawaWakataniStep
Advances n and omega. Used by 1 model.
DomainHollowCylinder
Mapped geometry available for Struphy simulations.
DomainHollowTorus
Mapped geometry available for Struphy simulations.
EquilibriumHomogenSlab
Homogeneous MHD equilibrium.
EquilibriumHomogenSlabITG
Homogenous slab equilibrium with temperature gradient in x, B-field in z.
DomainIGAPolarCylinder
Mapped geometry available for Struphy simulations.
DomainIGAPolarTorus
Mapped geometry available for Struphy simulations.
PropagatorImplicitDiffusion
Advances phi. Not used by a model yet.
ModelIncompressibleNavierStokesSPH
Incompressible Navier-Stokes equations discretized with smoothed particle hydrodynamics (SPH).
PerturbationITPA_density
Initial-condition perturbation in the physical basis.
PropagatorJxBCold
Advances j. Used by 2 models.
ModelLinearExtendedMHDuniform
Linear extended MHD with zero-flow equilibrium, for uniform background conditions only.
ModelLinearMHD
Linear ideal MHD with zero-flow equilibrium for magnetohydrodynamic wave propagation.
ModelLinearMHDDriftkineticCC
Hybrid linear ideal MHD coupled with energetic ions (5D drift-kinetic) via the current-coupling scheme.
ModelLinearMHDVlasovCC
Hybrid linear MHD coupled with energetic ions (6D Vlasov) via the current-coupling scheme.
ModelLinearMHDVlasovPC
Hybrid linear MHD coupled with energetic ions (6D Vlasov) via the pressure-coupling scheme.
ModelLinearVlasovAmpereOneSpecies
Linearized Vlasov-Ampère equations for one kinetic species around a Maxwellian background.
ModelLinearVlasovMaxwellOneSpecies
Linearized Vlasov-Maxwell equations for one kinetic species around a Maxwellian background.
PropagatorMagnetosonic
Advances n, u and p. Used by 4 models.
PropagatorMagnetosonicUniform
Advances n, u and p. Used by 1 model.
PerturbationManufacturedSolutionPotential
Initial-condition perturbation in the physical basis.
PerturbationManufacturedSolutionVelocity
Initial-condition perturbation in the physical basis.
PerturbationManufacturedSolutionVelocity_2
Initial-condition perturbation in the physical basis.
ModelMaxwell
Maxwell's equations in vacuum for electromagnetic field evolution.
BackgroundMaxwellian3D
A Maxwellian depending (η₁, η₂, η₃) and on three (n=3) Cartesian velocities.
PropagatorMaxwellWeakAmpere
Advances e and b. Used by 5 models.
PerturbationModesCos
Initial-condition perturbation.
PerturbationModesCosCos
Initial-condition perturbation.
PerturbationModesCosSin
Initial-condition perturbation.
PerturbationModesSin
Initial-condition perturbation.
PerturbationModesSinCos
Initial-condition perturbation.
PerturbationModesSinSin
Initial-condition perturbation.
PageNumerical methods
The structure-preserving methods used throughout Struphy.
PropagatorOhmCold
Advances j and e. Used by 2 models.
DomainOrthogonal
Mapped geometry available for Struphy simulations.
ModelPoisson
Weak discretization of Poisson's equation with a diffusion matrix, stabilization and an optional time-dependent right-hand side.
PropagatorPoissonAdiabaticGyrokinetic
Advances phi. Used by 1 model.
PropagatorPoissonSolve
Advances phi. Used by 4 models.
DomainPoweredEllipticCylinder
Mapped geometry available for Struphy simulations.
PropagatorPressureCoupling6D
Advances u and energetic_ions. Used by 1 model.
ModelPressureLessSPH
Particle discretization of pressureless Euler flow with external forcing.
PropagatorPushDeterministicDiffusion
Advances var. Used by 1 model.
PropagatorPushEta
Advances var. Used by 10 models.
PropagatorPushEtaPC
Advances var. Used by 1 model.
PropagatorPushGuidingCenterBxEstar
Advances ions. Used by 4 models.
PropagatorPushGuidingCenterParallel
Advances ions. Used by 3 models.
PropagatorPushRandomDiffusion
Advances var. Used by 1 model.
PropagatorPushVinForceField
Advances var. Used by 4 models.
PropagatorPushVinSPHpressure
Advances fluid. Used by 1 model.
PropagatorPushVinViscousPotential
Advances fluid. Used by 2 models.
PropagatorPushVxB
Advances ions. Used by 10 models.
ModelRandomParticleDiffusion
Diffusion equation discretized with a random particle method, via a Wiener process.
PerturbationRestelliAnalyticSolutionPotential
Initial-condition perturbation in the physical basis.
PerturbationRestelliAnalyticSolutionVelocity
Initial-condition perturbation in the physical basis.
PerturbationRestelliAnalyticSolutionVelocity_2
Initial-condition perturbation in the physical basis.
PerturbationRestelliAnalyticSolutionVelocity_3
Initial-condition perturbation in the physical basis.
EquilibriumScrewPinch
Straight tokamak (screw pinch) MHD equilibrium for a cylindrical geometry of radius mathematical formulation and length mathematical formulation.
DomainShafranovDshapedCylinder
Mapped geometry available for Struphy simulations.
DomainShafranovShiftCylinder
Mapped geometry available for Struphy simulations.
DomainShafranovSqrtCylinder
Mapped geometry available for Struphy simulations.
PerturbationShear_x
Initial-condition perturbation.
PerturbationShear_y
Initial-condition perturbation.
PerturbationShear_z
Initial-condition perturbation.
ModelShearAlfven
Shear-Alfvén part of LinearMHD with zero-flow equilibrium.
PropagatorShearAlfvenB1
Advances u and b. Used by 1 model.
PropagatorShearAlfvenCurrentCoupling5D
Advances u and b. Used by 1 model.
PropagatorShearAlfvenPropagator
Advances u and b. Used by 4 models.
EquilibriumShearedSlab
Sheared slab MHD equilibrium in a cube with side lengths mathematical formulation. Profiles depend on mathematical formulation solely.
EquilibriumShearFluid
Sheared fluid equilibrium in a cube with side lengths mathematical formulation. Profiles depend on mathematical formulation solely.
PageStruphy kernels
Compiled numerical routines for splines, finite elements, geometry, linear algebra, and particles.
PageTeam
The maintainers and contributors behind Struphy.
PageTime integration
Splitting methods and time-stepping schemes available in Struphy.
PropagatorTimeDependentSource
Advances source. Not used by a model yet.
DomainTokamak
Mapped geometry available for Struphy simulations.
PerturbationTokamakManufacturedSolutionVelocity
Initial-condition perturbation in the physical basis.
PerturbationTokamakManufacturedSolutionVelocity_1
Initial-condition perturbation in the physical basis.
PerturbationTokamakManufacturedSolutionVelocity_2
Initial-condition perturbation in the physical basis.
PerturbationTorusModesCos
Initial-condition perturbation.
PerturbationTorusModesSin
Initial-condition perturbation.
ModelToyDrift
Electrostatic drift toy model for a single ion species in a given background magnetic field.
PropagatorTwoFluidQuasiNeutralFull
Advances u, ue and phi. Used by 1 model.
ModelTwoFluidQuasiNeutralToy
Linearized, quasi-neutral two-fluid model with zero electron inertia.
ModelVariationalBarotropicFluid
Barotropic fluid equations discretized with a variational method.
ModelVariationalCompressibleFluid
Fully compressible fluid equations discretized with a variational method.
PropagatorVariationalDensityEvolve
Advances rho and u. Used by 11 models.
PropagatorVariationalEntropyEvolve
Advances s and u. Used by 3 models.
PropagatorVariationalMagFieldEvolve
Advances u and b. Used by 1 model.
PropagatorVariationalMomentumAdvection
Advances u. Used by 9 models.
PropagatorVariationalPBEvolve
Advances p, u and b. Used by 3 models.
ModelVariationalPressurelessFluid
Pressure-less fluid equations discretized with a variational method.
PropagatorVariationalQBEvolve
Advances q, u and b. Used by 3 models.
PropagatorVariationalResistivity
Advances s and b. Used by 7 models.
PropagatorVariationalViscosity
Advances s and u. Used by 8 models.
ModelViscoResistiveDeltafMHD
Delta-f visco-resistive MHD equations discretized with a variational method.
ModelViscoResistiveDeltafMHD_with_q
Delta-f visco-resistive MHD equations, with the q variable (square root of the pressure), discretized with a variational method.
ModelViscoResistiveLinearMHD
Linear visco-resistive MHD equations discretized with a variational method.
ModelViscoResistiveLinearMHD_with_q
Linear visco-resistive MHD equations, with the q variable (square root of the pressure), discretized with a variational method.
ModelViscoResistiveMHD
Full (non-linear) visco-resistive MHD equations discretized with a variational method.
ModelViscoResistiveMHD_with_p
Full (non-linear) visco-resistive MHD equations, with the pressure variable, discretized with a variational method.
ModelViscoResistiveMHD_with_q
Full (non-linear) visco-resistive MHD equations, with the q variable (square root of the pressure), discretized with a variational method.
ModelViscousEulerSPH
Euler equations with viscosity discretized with smoothed particle hydrodynamics (SPH).
ModelViscousFluid
Full (non-linear) viscous Navier-Stokes equations discretized with a variational method.
ModelVlasov
Vlasov equation for a single species in a static background magnetic field.
PropagatorVlasovAmpereCoupling
Advances e and ions. Used by 3 models.
ModelVlasovAmpereOneSpecies
Vlasov-Ampère system for a single kinetic species in an electric field.
ModelVlasovMaxwellOneSpecies
Vlasov-Maxwell equations for one kinetic species.
No components match this combination. Try a broader term or select “All”.