This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from fusion-energy/develop
Fixing tests and making use of dagmc-bounding-box package
- Loading branch information
Showing
29 changed files
with
488 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
FusionSettings() | ||
---------------- | ||
|
||
.. automodule:: openmc_dagmc_wrapper.FusionSettings | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
Geometry() | ||
---------- | ||
|
||
.. automodule:: openmc_dagmc_wrapper.Geometry | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,32 @@ | ||
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 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. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
install | ||
example_neutronics_simulations | ||
neutronics_model | ||
tests | ||
|
||
History | ||
------- | ||
|
||
The package was originally conceived by Jonathan Shimwell to help automate | ||
neutronics simulations of fusion reactors in a reproducible manner. | ||
|
||
The source code is distributed with a permissive open-source | ||
license (MIT) and is available from the GitHub repository | ||
`https://github.com/fusion-energy/openmc-dagmc-wrapper <https://github.com/fusion-energy/openmc-dagmc-wrapper>`_ | ||
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. | ||
|
||
Features | ||
-------- | ||
Further simplifications are access by using additional packages from the | ||
`fusion-neutronics-workflow <https://github.com/fusion-energy/fusion_neutronics_workflow>`_ | ||
|
||
In general the openmc-dagmc-wrapper takes a DAGMC geometry in the form of a h5m | ||
file and helps adding tallies, materials and a source term to be easily added to | ||
create a complete neutronics model. The package will also post processes the | ||
results of the neutronics simulation to allow easy access to the outputs. | ||
The simulated results are extracted from the statepoint.h5 file that | ||
OpenMC produces and converted to vtk, png and JSON files depending on the tally. | ||
If you are looking for an easy neutronics interface for performing simulations | ||
of fusion reactors this package was built for you. | ||
|
||
To create a model it is also necessary to define the source and the materials | ||
used. | ||
|
||
The Paramak accepts native OpenMC materials and also Neutronics Material Maker | ||
materials. Further details on the Neutronics Material Maker is avaialbe via online | ||
`documentation <https://neutronics-material-maker.readthedocs.io/en/latest/>`_ | ||
and the `source code repository <https://github.com/fusion-energy/neutronics_material_maker>`_ | ||
. | ||
|
||
The `OpenMC workshop <https://github.com/fusion-energy/neutronics_workshop>`_ | ||
also has some tasks that make use of this package. The workshop also | ||
demonstrates methods of creating the CAD geometry and h5m files from CAD | ||
geometry. | ||
|
||
The `OpenMC workflow <https://github.com/fusion-energy/neutronics_workflow>`_ | ||
demonstrates the use of this package along side others in a complete neutronics | ||
tool chain. | ||
|
||
`CAD-to-h5m <https://github.com/fusion-energy/cad_to_h5m>`_ makes use of the | ||
`Cubit API <https://coreform.com/products/coreform-cubit/>`_ to convert CAD | ||
files (stp or sat format) into `DAGMC <https://svalinn.github.io/DAGMC/>`_ | ||
compatible h5m files for use in DAGMC enabled neutronics codes. | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
For magnetic confinement fusion simulations you might want to use the parametric-plasma-source | ||
`Git repository <https://github.com/open-radiation-sources/parametric-plasma-source>`_ | ||
install | ||
geometry | ||
materials | ||
fusion_settings | ||
tally | ||
tests | ||
license |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
License | ||
------- | ||
|
||
The source code is distributed with a permissive open-source license (MIT) and | ||
is available from the GitHub repository | ||
`https://github.com/fusion-energy/openmc-dagmc-wrapper <https://github.com/fusion-energy/openmc-dagmc-wrapper>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
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() | ||
----------- | ||
|
||
.. automodule:: openmc_dagmc_wrapper.Materials | ||
:members: | ||
:show-inheritance: |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.