Skip to content

Commit de71686

Browse files
committed
indented index and combined tallies
1 parent 25e1818 commit de71686

15 files changed

+116
-124
lines changed

docs/source/cell_tallies.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/cell_tally.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/fusion_settings.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
FusionSettings()
3+
----------------
4+
5+
.. automodule:: openmc_dagmc_wrapper.FusionSettings
6+
:members:
7+
:show-inheritance:

docs/source/geometry.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
Geometry()
3+
----------
4+
5+
.. automodule:: openmc_dagmc_wrapper.Geometry
6+
:members:
7+
:show-inheritance:

docs/source/index.rst

Lines changed: 19 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,27 @@
11
openmc-dagmc-wrapper
22
====================
33

4-
The openmc-dagmc-wrapper python package allows convenient access to a series of
5-
standard neutronics simulations and post using OpenMC and DAGMC.
6-
7-
.. toctree::
8-
:maxdepth: 1
9-
10-
install
11-
cell_tally
12-
cell_tallies
13-
mesh_tally_2d
14-
mesh_tallies_2d
15-
mesh_tally_3d
16-
mesh_tallies_3d
17-
tet_mesh_tally
18-
tet_mesh_tallies
19-
tests
20-
21-
History
22-
-------
23-
24-
The package was originally conceived by Jonathan Shimwell to help automate
25-
neutronics simulations of fusion reactors in a reproducible manner.
26-
27-
The source code is distributed with a permissive open-source
28-
license (MIT) and is available from the GitHub repository
29-
`https://github.com/fusion-energy/openmc-dagmc-wrapper <https://github.com/fusion-energy/openmc-dagmc-wrapper>`_
4+
The openmc-dagmc-wrapper python package extends OpenMC base classes and adds
5+
convenience features aimed as easing the use of OpenMC with DAGMC for
6+
fixed-source simulations.
307

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

32-
Features
33-
--------
12+
Further simplifications are access by using additional packages from the
13+
`fusion-neutronics-workflow <https://github.com/fusion-energy/fusion_neutronics_workflow>`_
3414

35-
In general the openmc-dagmc-wrapper takes a DAGMC geometry in the form of a h5m
36-
file and helps adding tallies, materials and a source term to be easily added to
37-
create a complete neutronics model. The package will also post processes the
38-
results of the neutronics simulation to allow easy access to the outputs.
39-
The simulated results are extracted from the statepoint.h5 file that
40-
OpenMC produces and converted to vtk, png and JSON files depending on the tally.
15+
If you are looking for an easy neutronics interface for performing simulations
16+
of fusion reactors this package was built for you.
4117

42-
To create a model it is also necessary to define the source and the materials
43-
used.
44-
45-
The Paramak accepts native OpenMC materials and also Neutronics Material Maker
46-
materials. Further details on the Neutronics Material Maker is avaialbe via online
47-
`documentation <https://neutronics-material-maker.readthedocs.io/en/latest/>`_
48-
and the `source code repository <https://github.com/fusion-energy/neutronics_material_maker>`_
49-
.
50-
51-
The `OpenMC workshop <https://github.com/fusion-energy/neutronics_workshop>`_
52-
also has some tasks that make use of this package. The workshop also
53-
demonstrates methods of creating the CAD geometry and h5m files from CAD
54-
geometry.
55-
56-
The `OpenMC workflow <https://github.com/fusion-energy/neutronics_workflow>`_
57-
demonstrates the use of this package along side others in a complete neutronics
58-
tool chain.
59-
60-
`CAD-to-h5m <https://github.com/fusion-energy/cad_to_h5m>`_ makes use of the
61-
`Cubit API <https://coreform.com/products/coreform-cubit/>`_ to convert CAD
62-
files (stp or sat format) into `DAGMC <https://svalinn.github.io/DAGMC/>`_
63-
compatible h5m files for use in DAGMC enabled neutronics codes.
18+
.. toctree::
19+
:maxdepth: 2
6420

65-
For magnetic confinement fusion simulations you might want to use the parametric-plasma-source
66-
`Git repository <https://github.com/open-radiation-sources/parametric-plasma-source>`_
21+
install
22+
geometry
23+
materials
24+
fusion_settings
25+
tally
26+
tests
27+
license

docs/source/install.rst

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,29 @@
22
Installation
33
============
44

5-
6-
Install
7-
-------
8-
95
To use the OpenMC-DAGMC-Wrapper package you will need the Python, MOAB, DAGMC
106
and OpenMC installed.
117

8+
9+
To complete the software stack OpenMC, DAGMC and MOAB will also need installing.
10+
We don't have simple instructions for these packages yet but one option is to
11+
duplicate the stages in the `Dockerfile https://github.com/fusion-energy/neutronics_workflow/blob/main/Dockerfile>`_
12+
or to make use of the `install scripts <https://github.com/fusion-energy/neutronics_workflow/blob/main/install_scripts/`_
13+
14+
15+
Pip install
16+
-----------
17+
18+
Then install the OpenMC-DAGMC-Wrapper package using Pip.
19+
20+
.. code-block:: python
21+
22+
pip install openmc-dagmc-wrapper
23+
24+
25+
Conda install
26+
-------------
27+
1228
The recommended method is to install Python 3 using Anaconda or Miniconda
1329

1430
* `Miniconda <https://docs.conda.io/en/latest/miniconda.html>`_ (preferable to avoid hdf5 conflicts)
@@ -38,12 +54,6 @@ Then install the OpenMC-DAGMC-Wrapper package using Pip.
3854
pip install openmc-dagmc-wrapper
3955
4056
41-
To complete the software stack OpenMC, DAGMC and MOAB will also need installing.
42-
We don't have simple instructions for these packages yet but one option is to
43-
duplicate the stages in the `Dockerfile https://github.com/fusion-energy/neutronics_workflow/blob/main/Dockerfile>`_
44-
or to make use of the `install scripts <https://github.com/fusion-energy/neutronics_workflow/blob/main/install_scripts/`_
45-
46-
4757
Docker Image Installation
4858
-------------------------
4959

docs/source/license.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
License
3+
-------
4+
5+
The source code is distributed with a permissive open-source license (MIT) and
6+
is available from the GitHub repository
7+
`https://github.com/fusion-energy/openmc-dagmc-wrapper <https://github.com/fusion-energy/openmc-dagmc-wrapper>`_

docs/source/materials.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
Materials()
3+
-----------
4+
5+
.. automodule:: openmc_dagmc_wrapper.Materials
6+
:members:
7+
:show-inheritance:

docs/source/mesh_tallies_2d.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/mesh_tallies_3d.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)