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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tokamak_neutron_source-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1f8f5db99ad53c2b6987cffc03dd0a12be714158373ea9b5f59fbe819be2afeb
MD5 d68df0ca09e4400f35c9e39026df4007
BLAKE2b-256 8dc66e914805a10fc34e0f7cd80c62281bb74d3ee90e15e2260fc6367eb7eccf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tokamak_neutron_source-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa17fd2ab0d2aad28c9deef2d7876d685b64196b459290942d94fe2dc87e9268
MD5 26ff79085330e327a96e1f7e8f46c0a0
BLAKE2b-256 76fa4bc88bc61259adf69a0d20036106b6b8df0d36f4a238a15cc4d173bd9366

See more details on using hashes here.

Provenance

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