Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

disable automatic processing of tet mesh results #66

Open
shimwell opened this issue Sep 28, 2021 · 1 comment
Open

disable automatic processing of tet mesh results #66

shimwell opened this issue Sep 28, 2021 · 1 comment

Comments

@shimwell
Copy link
Member

The default behaviour when running a tet mesh is to process the results and produce a vtk file.

However this can be disabled with UnstructuredMesh.output = False

Then we can call the write_data_to_vtk function in the wrapper https://github.com/openmc-dev/openmc/blob/eacd8f6bba414cac12f65059a3c17226fd0a201f/openmc/mesh.py#L722

We could do with adding a scaling factor to the write_data_to_vtk so that the results can be written out in whatever units required (e.g Watts would need scaling from eV to joules and by fusion power)

@RemDelaporteMathurin
Copy link
Member

@shimwell can we close this?

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

No branches or pull requests

2 participants