Skip to content

This repository serves as a backup for my personal script to run Gekyll and post-process its results

License

Notifications You must be signed in to change notification settings

Antoinehoff/personal_gkyl_scripts

Repository files navigation

s3.1_full_torus_plus_zoom_tcv_nt.mp4

Gkeyll TCV turbulence simulation in negative triangularity configuration.

(see scripts/pygkyl_plottorus.py -h)

personal_gkyl_scripts

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.

Repository Structure

  • 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.

Features

  • 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

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/personal_gkyl_scripts.git
    cd personal_gkyl_scripts
  2. (Optional) Create and activate a Python virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. (Optional) Use the install script for pygkyl:

    python pygkyl/scripts/pygkyl_install.py -p PATH

Usage

  • Explore the pygkyl library for programmatic analysis and visualization.
  • Refer to pygkyl/notebooks/tutorial.ipynb for a tutorial of pygkyl usage.
  • Use scripts in simulation_scripts for batch processing or automation.

Requirements

  • Python 3.1x (mostly for postgkyl)
  • numpy, matplotlib, and other scientific Python libraries (see requirements.txt)

License

MIT License. See LICENSE for details.

About

This repository serves as a backup for my personal script to run Gekyll and post-process its results

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •