Skip to main content

The Georgia Tech Tokamak Transport Code (GT3). Also known as GTEDGE2.

Installation

Using pip

$ pip install GT3

Installing from GitHub

  • Master branch

Clone GT3 master branch from github

$ git clone https://github.com/gt-frc/gt3.git

  • Other branches

You can clone another branch from github as follows:

$ git clone -b <branch> https://github.com/gt-frc/gt3.git

Installing Branches from GitHub via pip

To use pip to install a development version of GT3, simply use

$ pip install git+https://github.com/gt-frc/gt3@development

Neutrals Calculations

GT3 utilizes NeutPy (https://github.com/gt-frc/neutpy) for the calculation of neutral particles recycling from the wall. Neutpy is an optional dependency. NeutPy also requires the Triangle 2D meshing package (see the NeutPy github for details).

To install NeutPy:

$ pip install neutpy

Usage

GT3 can be run in 2 different ways: via a config file and profiles or via a test data class.

  • From Files

The primary method of running GT3 is via the gt3 class

from GT3 import gt3

If neutpy is installed, you'll see a message indicating that it is being imported. Otherwise, a warning will be given. If you will be running neutpy, the main configuration file needs to be placed in the CWD. A sample configuration file can be found on the neutpy github as neutpy.conf

GT3 is instantiated in this manner by providing an input file.

myPlasma = gt3(inputFile="myInputFile")

See the /inputs directory for example input files (generally called togt3_d3d_shotid_timeid). The inputFile argument takes a file relative to the current working directory (CWD). An input file will include some plasma parameters and meshing information. In addition, the locations of 1D and 2D profile data are entered into this file. The locations also must be relative to the CWD. See the inputs directory for an example with DIII-D shot 144977.3000.

GT3 includes various modules that provide information and calculations about the plasma. Running gt3() with the mode argument will run different sets of modules (see gt3.py for a list of modes). Modules can also be run using the various arguments (run_IOL(), run_NBI(), run_radial_transport(), etc.).

To run the full radial transport code, use the mode='radialtrans' argument in gt3() or run myPlasma.run_radial_transport().

  • From A Class

Documentation Coming Soon

Metadata

Release files for GT3 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GT3 0.0.3
File Size Uploaded
GT3-0.0.3.tar.gz 16.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for GT3 0.0.3
File Interpreter ABI Platform
GT3-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 MB

Release files / GT3-0.0.3.tar.gz

Download URL GT3-0.0.3.tar.gz
Size 16.2 MB
Tags Source
SHA-256 checksum
How to use checksums
b8983d3f1c1dacf1fd12d17d021d5a8e33d44c9728dfc34c19e4b5d09c7c3ae9
BLAKE2b-256 checksum
How to use checksums
43f2bd7bb9b11e1521aa224e9e253ecf791f8fbef2202291779000c069b37b53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

Release files / GT3-0.0.3-py3-none-any.whl

Download URL GT3-0.0.3-py3-none-any.whl
Size 16.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
421cde749fbb0bf43bcf54b0878fd2e22a4cef03c57a24835cbc26591c55bb08
BLAKE2b-256 checksum
How to use checksums
fad489f7b98053ff5c6f5184fc48ca02d2e7d45b67cd37228e4ac02b0eab6347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page