Skip to content

Reads and analyzes 2- and 3-D TPS simulation results for 1-D modeling.

Notifications You must be signed in to change notification settings

jmbigman/tps-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPS-radial-profiles

Reads and analyzes 2- and 3-D Torch Plasma Simulator (TPS) simulation results for 1-D modeling. TPS can be found here: https://github.com/pecos/tps.

Installation

The latest Python version with support for the vtk package is 3.13: https://vtk.org/download/. To install (on Mac):

brew install python@3.13
python3.13 -m venv venv-interface
source venv-interface/bin/activate
pip3 install -e .

Modules

two_d_interface: Evaluates quantities needed for 1-D modeling from 2-D TPS simulation results

plotting: Plots the torch radius, cross-sectionally integrated quantities, radial profiles, etc.

model_profiles: Samples radial profiles from TPS data and fits parameters in model profiles

Scripts

cold_flow_analysis.py: Analyzes time-dependent cold flow data

Development

To lint the code, run:

flake8 tps_interface scripts

About

Reads and analyzes 2- and 3-D TPS simulation results for 1-D modeling.

Resources

Stars

Watchers

Forks

Languages