s3.1_full_torus_plus_zoom_tcv_nt.mp4
Gkeyll TCV turbulence simulation in negative triangularity configuration.
(see scripts/pygkyl_plottorus.py -h)
A collection of personal scripts, tools, and Python modules for working with Gkeyll plasma simulations. This repository is intended to streamline simulation workflows, automate analysis, and provide custom utilities for Gkeyll users.
pygkyl/— Python library for loading, analyzing, and visualizing Gkeyll simulation data.notebooks/— Jupyter notebooks for interactive analysis and visualization of Gkeyll outputs.scripts/— Standalone scripts for automation, data processing, and visualization.simulation_scripts/— Scripts for running Gkeyll simulations and useful shell scripts and bashrc.
- Automated data loading and normalization for Gkeyll outputs
- Advanced visualization tools, including toroidal projections
- Utilities for extracting and analyzing physical quantities
- Example scripts and notebooks for common analysis tasks
-
Clone the repository:
git clone https://github.com/yourusername/personal_gkyl_scripts.git cd personal_gkyl_scripts -
(Optional) Create and activate a Python virtual environment:
python3 -m venv venv source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
-
(Optional) Use the install script for
pygkyl:python pygkyl/scripts/pygkyl_install.py -p PATH
- Explore the
pygkyllibrary for programmatic analysis and visualization. - Refer to
pygkyl/notebooks/tutorial.ipynbfor a tutorial ofpygkylusage. - Use scripts in
simulation_scriptsfor batch processing or automation.
- Python 3.1x (mostly for postgkyl)
- numpy, matplotlib, and other scientific Python libraries (see
requirements.txt)
MIT License. See LICENSE for details.