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 arbitrary profiles and a free-boundary equilibrium:

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

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.2.0.tar.gz (1.0 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.2.0-py3-none-any.whl (203.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tokamak_neutron_source-0.2.0.tar.gz
  • Upload date:
  • Size: 1.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 1f7c94bb01d20f64bc4a28312ebadeb1b34b477796e734682242a2aec82479d2
MD5 7266a9721d33b4367bdfa64914116654
BLAKE2b-256 63c7b911fa1abc1e5946e4ed899a369661095bf41854253b5b257cb70d43e4aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokamak_neutron_source-0.2.0.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tokamak_neutron_source-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b404bee920f30fd224f9990022beff01640824bc0db1bf95110a45c79bfede4
MD5 3f8c44f4a67f51c4f20c612946a1b167
BLAKE2b-256 02750e33800eb6cdac61f3afe65696f9d7d54c2e926af3edec64cf12c1572984

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokamak_neutron_source-0.2.0-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