Replies: 2 comments
-
Good question. That example was written before we had the MeshMaterialVolumes feature in OpenMC. To extend the example to multiple materials I would recommend to use the MeshMaterialVolumes function . The documentation of this feature has some good examples on how to use it. https://docs.openmc.org/en/latest/pythonapi/generated/openmc.MeshMaterialVolumes.html Pull requests are very welcome if you are keen to upgrade the example. By the way I think the most complete example on shut down dose rate is the D1S example. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the recommendation—I wasn’t aware of this class. My understanding is that it won’t work when the DAGMC geometry and the UM file don’t have the same number of mesh elements, i.e., they’re not the same file. I’m happy to upgrade it once I get it sorted! I performed SDR on DAGMC geometries using a less elegant approach via the R2S method two years ago, and I’m currently working on upgrading it with the latest OpenMC improvements. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
On task 20 (concise), when collecting the materials in each mesh voxel, it's straightforward since there is only one material. However, if there were multiple materials, how would you approach it? UM does not provide material information, so I'm having a hard time coming up with the logic. I need to be able to identify which materials are present in each mesh volume. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions