PIRS (Python Interfaces for Reactor Simulations) simplifies work flow with reacor simulation codes. It provides a geometry constructor that can be used to describe a model geometry, and interfaces to computational codes.
Currently implemented interfaces to the MCNP5 Monte-Carlo neturon transport code and to the SCF sub-channel thermo-hydraulics code.
The PIRS package consists of several sub-packages that can be classified by their functionality into four groups: geometry constructor, low-level code interfaces, high-level code interfaces, subpackages with base classes used by others and utilities.
The geometry constructor is used to describe model geometry in terms, independent on particular computational code:
Low-level interfaces give possibility to set any paramters in the input file, start the code, read output:
High-level level interfaces are used to convert a model constructed with geometry constructor to the input file, to start the code and to read its output (using the correspondent low-level interface) and to put calculation results back into the model:
Classes providing basis functionality that are used in the other subpackages, are collected in the pirs.core subpackage: