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

Uploaded Python 3

File details

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

File metadata

  • Download URL: natf-3.6.1-py3-none-any.whl
  • Upload date:
  • Size: 155.9 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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ab5b6da83094bac1280157529edb006b4678e0a5ebfd32af01379b3129fe22
MD5 235988bc2a707570330a1d5aa4ffc85f
BLAKE2b-256 e326e8bc103dd676e6aa2251fc62a7ee95f0bcb5299fb5e905e3bad7035b1977

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