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.5.7-py3-none-any.whl (155.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for natf-3.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 924ef67bb1df5592b59309101ac432d112c9036c7718939d2836235e17c0e8b6
MD5 01af5424341d558259b2edc034869cc5
BLAKE2b-256 b773c92cef891644581db109254472dda0107c55a27fce7cbcb15e3be2981f5a

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