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

Mesh annotations #153

Merged
merged 7 commits into from
Nov 23, 2024
Merged

Mesh annotations #153

merged 7 commits into from
Nov 23, 2024

Conversation

pshriwise
Copy link
Collaborator

When building a model with a mesh or applying a mesh, it can be useful to view that mesh on top of the geometry.

This PR adds mesh annotations, which allow users to view mesh boundaries without having performed a simulation first. This is possible thanks to the nice upgrade on mesh visualization from #134 and applies to all mesh types supported by OpenMC (regular, cylindrical, and unstructured meshes are shown below).

Screenshot 2024-07-24 at 11 49 58 AM

pincell_cm
pincell_rm
pincell_um

@pshriwise pshriwise marked this pull request as ready for review November 1, 2024 18:52
Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this feature @pshriwise! One question below:

openmc_plotter/plotmodel.py Outdated Show resolved Hide resolved
@paulromano paulromano merged commit 9e75275 into openmc-dev:develop Nov 23, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants