Skip to main content

Nuclear Analysis toolkit for Fusion with coupling of MCNP and FISPACT

Project description

NATF: Nuclear Analysis Toolkit Framework

Introduction

NATF (Nuclear Analysis Toolkit for Fusion) is a computational framework developed for automating nuclear analysis workflows using MCNP and FISPACT-II. Key features include:

  • Activation Analysis (CELL_ACT): Material activation calculations with pre-processing/post-processing automation
  • Displacement Damage (CELL_DPA): DPA (Displacements Per Atom) predictions for radiation damage studies
  • Coolant Activation (COOLANT_ACT): Analysis of coolant systems' radioactive inventory

Supported code versions: MCNP5 (1.2-1.6), MCNP6 (6.1-6.2), FISPACT-II 3.0+. Source code available at github.com/zxkjack123/NATF.

Installation Guide

System Requirements

  • OS: Linux (Ubuntu 18.04+/CentOS 7+ recommended)
  • Python: 3.6+ (Recommended 3.10+)
  • Prerequisites: numpy, pandas, matplotlib, configparser

Installation Methods

1. PyPI Installation (Stable Releases):

pip install natf --user  # Install as user package

Verify installation:

natf_run --version  # Expected output: NATF version: x.x.x

2. Source Compilation (Development Version):

git clone -b develop https://github.com/zxkjack123/NATF.git
cd NATF
python setup.py install --user  # Install in user space

# Configure PATH (Linux)
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Getting Started

Basic Configuration

Create config.ini:

[general]
aim = CELL_ACT_PRE        # Analysis objective
work_dir = ./natf_run       # Working directory

[mcnp]
mcnp_input = mcnp.inp   # MCNP input file
mcnp_ptrac = ptrac_file    # Particle track data

[fispact]
material_list = mat_list  # Material specifications
irradiation = scenarios.txt  # Irradiation history

Execute Analysis

# Run activation post-processing
natf_run --input config.ini  # Load configuration

Validate Installation

Run test suite:

cd tests/
./ci-run-tests.sh  # Execute verification tests

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

natf-3.7.0-py3-none-any.whl (159.8 kB view details)

Uploaded Python 3

File details

Details for the file natf-3.7.0-py3-none-any.whl.

File metadata

  • Download URL: natf-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 159.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for natf-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c8123a0a664dde0a134816678fbada2103e174f036ea45bfb5df78eea52848f
MD5 09a08f80aa681bc321d9736507d6eed6
BLAKE2b-256 1ab00e0161157c5b00a52a087512c0ee98bd63c2e7eaa4e2e4e5445c93557d67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page