Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request. Make void / vacuum material to use with DAGMC #3218

Open
jon-proximafusion opened this issue Dec 10, 2024 · 3 comments
Open

Comments

@jon-proximafusion
Copy link
Contributor

jon-proximafusion commented Dec 10, 2024

Description

When working with a DAGMC file it has predefined material tags
It would be useful I we can make a VOID material in OpenMC with no density and no nuclides so that we can "switch off" materials.

Alternatives

Exploit the vacuum bug in DAGMC by setting the material name to include the word 'vacuum' svalinn/DAGMC#805 which is being fixed soon

Compatibility

This would allow empty materials to be made without error, this is currently not possible

@pshriwise
Copy link
Contributor

Good call @shimwell!

This would potentially be useful on all geometry types yeah? I think an attribute on the openmc.Settings class (possibly names void_geometry) might be the way to go.

@shimwell
Copy link
Member

when trying this I found it natural to make an empty openmc material and name it after the dagmc material tag

@pshriwise
Copy link
Contributor

I think that would will be possible in an even more general way after #3056 is merged using the material assignment overrides included there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants