/openmc_workshop

A selection of resources for learning openmc with particular focus on simulations relevant for fusion energy

Primary LanguageJupyter NotebookMIT LicenseMIT

CircleCI dockerhub-publish

Fusion Neutronics workshop with OpenMC

A selection of resources for learning OpenMC with particular focus on simulations relevant to fusion energy.

There are a few slides that introduce the workshop and show the expected outputs of each task.

The use of OpenMC for neutronics analysis requires several software packages and nuclear data. These have all been installed inside a Docker container.

History

The OpenMC workshop was created by and is maintained by Jonathan Shimwell largely as a hobby project. John Billingsley has also made lots of great contributions and others have also also helped. The repository was originally made to teach university students via workshops but also became useful for placement students.

The repository has benefitted greatly from user feedback. Please feel free to raise Github issues if you spot anything that needs fixing. Contributions are also welcome from as pull requests to the develop branch.

The resource has proven most useful as it is one of the few open source and accessable fusion neutronics training resources.

Docker Container Installation

  1. Install Docker CE for Ubuntu, Mac OS, or Windows, including the part where you enable docker use as a non-root user.

  2. Pull the docker image from the store by typing the following command in a terminal window, or Windows users might prefer PowerShell.

    docker pull ukaea/openmcworkshop

  3. Now that you have the docker image you can enable graphics linking between your os and docker, and then run the docker container by typing the following commands in a terminal window.

    docker run -p 8888:8888 ukaea/openmcworkshop /bin/bash -c "jupyter notebook --notebook-dir=/tasks --ip='*' --port=8888 --no-browser --allow-root"

  4. A URL should be displayed in the terminal and can now be opened in the internet browser of your choice.

  5. Some tasks require the use of Paraview to view the 3D meshes produced. Parview can be download from here

  6. Some tasks require the use of CAD software to view the 3D geometry produced. FreeCAD is one option for this and can be downloaded here

Workshop tasks

Task Keywords
Task 1 - Cross section plotting Nuclear data, cross-sections, MT numbers, Doppler broadening
Task 2 - Options for making materials Materials, Neutronics Material Maker, Mixed materials
Task 3 - Building and visualising CSG geometry CSG geometry, Geometry visualisation
Task 4 - Making neutron sources Neutron point sources, Gamma sources, Plasma sources, Neutron track visualisation
Task 5 - TBR Tritium Breeding Ratio, Cell tallies, Simulations
Task 6 - DPA Displacements Per Atom, Cell tallies, Simulations, Volume calculations
Task 7 - Finding the neutron and photon spectra Neutron Spectra, Photon Spectra, Cell tallies, Energy group structures, Flux, Current
Task 8 - Mesh tallies Mesh tallies, Structured meshes
Task 9 - Dose Dose, Cell tallies, Dose coefficients
Task 10 - Making CAD geometry Parametric CAD geometry, Paramak, Geometry visualisation
Task 11 - CAD simulations - Heating CAD-based neutronics, DAGMC, Heating, Unstructured meshes
Task 12 - CAD simulations - Fast flux CAD-based neutronics, Paramak, DAGMC, Fast flux, Cell tallies
Task 13 - Techniques for sampling parameter space Sampling, Interpolation, Multi-dimensional parameter stidues
Task 14 - Parameter study optimisation Data science machine learning approaches