Git Product home page Git Product logo

barc_blanket's Introduction

barc_blanket

Install environment

conda env create -f environment.yml
conda activate barc-blanket-env

Configure cross sections

Certain tank analytes are not found in standard neutron cross section libraries. As a temporary measure, we will tell OpenMC to use TENDL-2019 cross sections for these analytes, alongside the default library (in our case, ENDF/B-VIII.0). It is advisable that users make a note for future projects that we have modified our installation of the standard cross section data! First, locate your cross_sections.xml:

echo $OPENMC_CROSS_SECTIONS

Finding this file will also show you where OpenMC is being directed to look for cross sections. There should be a "neutron" folder in its parent directory (if entries in cross_sections.xml are formatted as described below); this is where we will put the TENDL cross sections.

The new cross sections can be found on the repo under TENDL_cross_sections. Copy these into the "neutron" folder from above:

Ba137_m1.h5
C14.h5
Cd113_m1.h5
Co60.h5
Nb93_m1.h5
Ra228.h5

Next, within the <cross_sections> section of cross_sections.xml, add the following lines:

<library materials="Cd113_m1" path="neutron/Cd113_m1.h5" type="neutron" />
<library materials="Ba137_m1" path="neutron/Ba137_m1.h5" type="neutron" />
<library materials="C14" path="neutron/C14.h5" type="neutron" />
<library materials="Co60" path="neutron/Co60.h5" type="neutron" />
<library materials="Nb93_m1" path="neutron/Nb93_m1.h5" type="neutron" />
<library materials="Ra228" path="neutron/Ra228.h5" type="neutron" />

Save your progress. OpenMC should now be able to handle the more "exotic" waste products.

barc_blanket's People

Contributors

zanderkeith avatar j-fletcher avatar mingusvg avatar josephb-hall avatar jlball avatar remdelaportemathurin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.