Struphy Simulation Setup
Configures and executes Struphy plasma physics PDE simulations using tailored Python parameter scripts.
This skill guides the setup, configuration, and execution of plasma physics PDE simulations using Struphy. It helps users select appropriate physical models (fluid, kinetic, or hybrid), configure domains, tensor product grids, discrete de Rham sequences, and time-stepping schemes, and specify kinetic markers, backgrounds, and perturbations. By assisting with parameter file scaffolding (`params_*.py`), syntax validation via the Struphy CLI, and execution with MPI parallelism, this skill streamlines complex computational physics workflows and prevents common model-configuration pitfalls.
Key Features
01Wires fluid equilibria, kinetic species markers, backgrounds, and perturbations
02Sets up single-core and multi-process MPI simulation runs
03Validates model-specific propagators and simulation parameters using the Struphy CLI
04Configures computational domains, tensor product grids, and Derham sequence options
0542 GitHub stars
06Scaffolds and edits complete Struphy simulation parameter files (params_*.py)
Use Cases
01Validating parameter files and resolving propagator configuration errors before running multi-node MPI jobs
02Creating a new plasma physics simulation parameter script from scratch or built-in model templates
03Configuring kinetic marker loading, weights, and Maxwellian backgrounds for hybrid or kinetic models