Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
unified the intro text for the package on github and readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Nov 24, 2021
1 parent de71686 commit aeb5f1d
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 28 deletions.
47 changes: 20 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,26 @@

# OpenMC DAGMC Wrapper

The openmc-dagmc-wrapper python package allows convenient access to a series of standard neutronics simulations and post using OpenMC and DAGMC.

The intended use case is to take DAGMC compatible h5m files generated by
[cad_to_h5m](https://github.com/fusion-energy/cad_to_h5m) with CAD file inputs
from the [Paramak](https://github.com/fusion-energy/paramak) as demonstrated in
the [neutronics_workflow](https://github.com/fusion-energy/neutronics_workflow). However the package can also be used with h5m files generated in other ways.

Standard simulations tallies are facilitated:
- Volume / cell tallies
- Regular 2D mesh tallies
- Regular 3D mesh tallies
- Unstructured mesh tally (on road map)

Neutronics responses can be obtained:
- Tritium Breeding Ratio (TBR)
- Heating (photon and neutron)
- Effective dose (photon and neutron)
- Any supported reaction from the [standard OpenMC reactions](https://docs.openmc.org/en/latest/usersguide/tallies.html#scores)

A standard collection of materials are available by making use of the
[neutronics_material_maker](https://github.com/fusion-energy/neutronics_material_maker) package.

OpenMC sources definitions are used for the particle sources.

Post processing of the OpenMC output files are also carried out to automatically
provide: JSON text files, PNG images, VTK files for convenient access to the
results.

The openmc-dagmc-wrapper python package extends OpenMC base classes and adds
convenience features aimed as easing the use of OpenMC with DAGMC for
fixed-source simulations.

The openmc-dagmc-wrapper is built around the assumption that a DAGMC geometry
in the form of a h5m is used as the simulation geometry. This allows several
aspects of openmc simulations to be simplified and automated.

Additional convenience is available when making tallies as standard tally types
are added which automated the application of openmc.Filters and openmc.scores
for standard tallies such as neutron spectra, effective dose, heating, TBR and
others.

Further simplifications are access by using additional packages from the
[fusion-neutronics-workflow](https://github.com/fusion-energy/fusion_neutronics_workflow)

If you are looking for an easy neutronics interface for performing simulations
of fusion reactors this package was built for you.


:point_right: [Documentation](https://openmc-dagmc-wrapper.readthedocs.io)

Expand Down
7 changes: 6 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ fixed-source simulations.

The openmc-dagmc-wrapper is built around the assumption that a DAGMC geometry
in the form of a h5m is used as the simulation geometry. This allows several
aspects of openmc simulations to be simplified.
aspects of openmc simulations to be simplified and automated.

Additional convenience is available when making tallies as standard tally types
are added which automated the application of openmc.Filters and openmc.scores
for standard tallies such as neutron spectra, effective dose, heating, TBR and
others.

Further simplifications are access by using additional packages from the
`fusion-neutronics-workflow <https://github.com/fusion-energy/fusion_neutronics_workflow>`_
Expand Down
3 changes: 3 additions & 0 deletions docs/source/materials.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

A standard collection of materials are available by making use of the
[neutronics_material_maker](https://github.com/fusion-energy/neutronics_material_maker) package.

Materials()
-----------

Expand Down
21 changes: 21 additions & 0 deletions docs/source/tally.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@
tally
=====

Standard simulations tallies are facilitated:
- Volume / cell tallies
- Regular 2D mesh tallies
- Regular 3D mesh tallies
- Unstructured mesh tally

Neutronics responses can be obtained:
- Tritium Breeding Ratio (TBR)
- Heating (photon and neutron)
- Effective dose (photon and neutron)
- Spectrum (photon and neutron)
- Damage per Atom (DPA)
- Any supported reaction from the [standard OpenMC reactions](https://docs.openmc.org/en/latest/usersguide/tallies.html#scores)

Additionally the ability to target the tally to material tags or volume ids
that exist in the DAGMC h5m file offer easy access to tallies.

Bounding boxes for the tallies can be automatically found and extended using
the `dagmc-bounding-box <https://github.com/fusion-energy/dagmc_bounding_box>`_
package.


MeshTally2D()
-------------
Expand Down

0 comments on commit aeb5f1d

Please sign in to comment.