Skip to main content

Create an arbitrary parametric tokamak neutron source for OpenMC and MCNP

Project description

DOI

Introduction

tokamak-neutron-source is a package that provides a flexible and high-fidelity fusion neutron source for tokamaks in OpenMC and other Monte Carlo radiation transport codes.

Installation

We don't try to manage the installation of your neutronics codes. We recommend you install your neutronics code first. If you are using tokamak-neutron-source to create an OpenMC source you can create a simple install of OpenMC using conda with:

conda install -c conda-forge 'openmc>=0.15.0'

To install the latest release of tokamak-neutron-source

pip install tokamak-neutron-source

Inputs

A tokamak neutron source can be created by specifing the plasma ion density and temperature profiles, and a description of the plasma magneto-hydrodynamic equilibrium.

Profiles can be specified in terms of arrays or as typical parameterisations, such as a parabolic-pedestal parameterisation.

Equilibrium information can be specified via an EQDSK file or as a parameterisation, such as the one found in Fausser et al., 2012.

Outputs

A source object can be used to create an idiomatic source for use in OpenMC or exported as an sdef or h5 file for use in OpenMC and MCNP6.

A neutron source from some typical parameterised profiles and a Fausser flux surface parameterisation:

A neutron source from some arbitrary profiles and a free-boundary equilibrium:

Project details


Download files

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

Source Distribution

tokamak_neutron_source-0.1.4.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

tokamak_neutron_source-0.1.4-py3-none-any.whl (203.2 kB view details)

Uploaded Python 3

File details

Details for the file tokamak_neutron_source-0.1.4.tar.gz.

File metadata

  • Download URL: tokamak_neutron_source-0.1.4.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tokamak_neutron_source-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7fd04f64c5c01b90a17824d03284a8669613f17a426e188eb85a85fe5929a566
MD5 87ce3329dc912f1e805e94a297d6b81a
BLAKE2b-256 2872e88143c6568eea89c7e8d5bc26a2de154e9c3d7ecb602e05e6e76f515f55

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokamak_neutron_source-0.1.4.tar.gz:

Publisher: publish.yml on Fusion-Power-Plant-Framework/tokamak-neutron-source

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tokamak_neutron_source-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for tokamak_neutron_source-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 669cfc98b934f5c78e3156daf7915bc6289bb9f0dcac4d6ada6cd20df174952f
MD5 feff786ed4ab616228627a1e96c2ce24
BLAKE2b-256 2fd417e88d584a432fbd8c98dc1ba36927b2b50152730554ee77d6307c9012a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokamak_neutron_source-0.1.4-py3-none-any.whl:

Publisher: publish.yml on Fusion-Power-Plant-Framework/tokamak-neutron-source

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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