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

Add Scale Argument to VTK Export for Mesh Tally #3215

Open
rherrero-pf opened this issue Dec 4, 2024 · 0 comments
Open

Add Scale Argument to VTK Export for Mesh Tally #3215

rherrero-pf opened this issue Dec 4, 2024 · 0 comments

Comments

@rherrero-pf
Copy link

Description

In many engineering workflows, the standard base unit is the meter. However, when exporting VTK files from a mesh tally in OpenMC, the default units often require manual rescaling in visualization tools like ParaView. This additional step can be time-consuming and error-prone, particularly in complex workflows.

To address this, a scale argument could be added to the VTK export functionality. This argument would allow users to specify a scaling factor directly during export, ensuring that the resulting mesh dimensions align with the desired unit system (e.g., meters). This feature would improve usability and eliminate the need for post-processing adjustments in external tools.

Alternatives

One alternative is to continue using ParaView’s built-in scaling function to adjust the mesh results.

Compatibility

Adding a scale argument with a default value of scale=1.0 would maintain backward compatibility with existing workflows.

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

1 participant